SU1142843A1 - Device for simulating priority queueing systems - Google Patents

Device for simulating priority queueing systems Download PDF

Info

Publication number
SU1142843A1
SU1142843A1 SU833659913A SU3659913A SU1142843A1 SU 1142843 A1 SU1142843 A1 SU 1142843A1 SU 833659913 A SU833659913 A SU 833659913A SU 3659913 A SU3659913 A SU 3659913A SU 1142843 A1 SU1142843 A1 SU 1142843A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
service
channel
counter
Prior art date
Application number
SU833659913A
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 SU833659913A priority Critical patent/SU1142843A1/en
Application granted granted Critical
Publication of SU1142843A1 publication Critical patent/SU1142843A1/en

Links

Landscapes

  • Bus Control (AREA)

Abstract

УСТРОЙСТВО ДЛЯ МОДЕЛИРОВАНИЯ ПРИСНЧ1ТЕТНЫХ СИСТЕМ МАССОВОГО ОБСЛУЖИВАНИЯ, содержащее канал обслуживании за вок высокого приоритета и канал обслуживани  за вок низкого приоритета, каждый канал обслужийаии  включает первый и второй злементы ИЛИ, счетчик обслуженных за вок, блок формировани  за вок, . состо 1Ц11н из генератора за вок, счетчика за вок. счегш1са отказав, злемента запрета, элемента И злемента 11ЛИ к реверсивного , причем выход генератора за вок соеД1ше с входом счепика за вок, первым входом эпе««ента И и информационным входом элемента запрета, выход которого соединен с суммирующим входом реверсивного счетчи ка, разр дные выходы которого подключены к входам элемента ИЛИ соответственно, выход переполнени  реверсивного счетчика соединен с управл юишм входом злемеита запрета и вторым входом злемеита И, выход которого подключен к входу счетчика отказов, и блок обслуживани  за вок, состо щий из последовательно соединенных злемента И, генератора импульсов, злемента случайной задержки и триггера, нулевой выход которого соединен с первым входом элемента И, другой вход триггера подключен к выхо генератора импульсов, канал обслуживани  за вок низкого приоритета допол1штелыю содержит элемент запрета, отличающеес  тем, что, с целью расширени  ; функциональных возможностей устройства за счет воспроизведени  режима параллельного обслуживани  за вок, каждый канал обслуживани  допоанительно содержит группу блоков обслуживани  за вок и коммутатор, содержащий три группы элементов .И, причем выход К-х элементов И первой и второй групп (К - 1,М) соединены соответственно с первым и вторым входами К-го элемента И третьей группы, в каждом канале обслуживани  выход К-го элемента И третьей группы коммутатора соединен с вторым входом элемента И К-го блока обслуживани  за вок, выход генератора импульсов К-го блока обслуживани  за вок соединен с К-.ым входом первого элемента ИЛИ, выход которого соединен с вычитающим входом реверсивного счетчика блока формировани  за вок, выход элемента ИЛИ блока формировани  за вок канала обслуживани  за вок высокого приоритета соединен с управл ющим входом элемента запрета канала обслуживани  за вок низкого приоритета и третьими входами элементов И третьей группы KOMMjrraTopa своего канала оСйслзокивани , выход элемента ИЛИ блока формировани  за вок канала обсгуживани  за вок низкого приоритета подключен к информационному входу злемента запрета, выход которого соединен с третьими входами элементов И третьей группы коммутатора своего канала обслуживани , выход ьторого элемента ИЛИ в каждом канале обслуживани  соеданен с входом счетчика обс 1ужениых за вок . К-и элемент И первой и второй групп коммутатора имеет К входов, причем К-й из них инверсный, единичный выход триггера К-го блока обслуживани  за вок канала обслуживани  за вок высокого приоритета соединен с К-м входом второго элемента ИЛИA DEVICE FOR SIMULATING PRESSURE SYSTEMS OF MASS SERVICE, containing a high priority queuing service channel and a low priority queuing service channel, each service channel includes the first and second elements OR, the counted queuing counter, the zak forming unit,. 1C11n state of the generator of the wok, meter for wok. the switchboard, the element of the prohibition, the element AND the element 11LI to the reversible one, the generator output for the wiring of the commander with the input of the schema quotation, the first input of the prohibition element and the information input of the prohibition element, the output of which is connected to the summing input of the reversible counter, are bit the outputs of which are connected to the inputs of the element OR, respectively, the overflow output of the reversible counter is connected to the control input of the inhibit element and the second input of element I, the output of which is connected to the input of the fault counter, and the service unit An order consisting of a series-connected element I, a pulse generator, a element of random delay and a trigger, the zero output of which is connected to the first input of the element AND, another trigger input connected to the output of the pulse generator, the channel of the low priority priority box contains an element of prohibition , characterized in that, for the purpose of expansion; functionality of the device by reproducing the parallel servicing mode of the request, each service channel additionally contains a group of service request units and a switch containing three groups of elements. And, the output of the K's elements is And the first and second groups (K - 1, M) connected to the first and second inputs of the K-th element of the third group, respectively; in each service channel, the output of the K-th element of the third group of the switch is connected to the second input of the element of the K-th service unit of the application, the output of the gene Pulse racer of the Kth service block is connected to the Kth input of the first OR element, the output of which is connected to the subtractive input of the reversible counter of the charge formation block, the output of the OR element of the formation block of the service channel of the high priority charge is connected to the control the input of the prohibition channel of the service of the low priority queuing element and the third inputs of the AND elements of the third group KOMMjrraTopa of its own locking channel, the output of the OR element of the block forming the channel of the obsgu priority one is connected to the information input zlementy prohibition, the output of which is connected to the third input of the AND of the third group switch its channel service, the output of OR torogo in each channel with the service counter input soedanen obs 1uzheniyh requisition. K-element And the first and second groups of the switch has K inputs, and the K-th of them is the inverse, single output of the K-th service block trigger of the high-priority channel of the service channel and connected to the K-m input of the second element OR

Description

своего канала обслуживани  и с К-ми входами всех элементов И первой группы коммутаторов обоих каналов обслуживани , а единичный выход триггера блока обслуживани  за вок канала обслуживани  за вок низкого приоритета соединен с К-м входом второго элемента ИЛИ своего канала и с К-ми входами всех элементов И второй группы коммутаторов обоих каналов обслуживани .own service channel and with K-mi inputs of all elements AND of the first group of switches of both service channels, and a single output trigger of the service block of the service channel quota of the low priority order is connected to the K-m input of the second OR element of its channel and with the K-mi inputs of all elements AND the second group of switches of both service channels.

Изобретение относитс  к вычислительной технике и может быть использовано дл  статистического моделировани  4 нкционирова}1и  операционной системы в составе многопроцессо ного вычислительного комплекса. Процесс функционировани  многопроцессорного вычислительного комплекса (МВК) с учетом работы операционной системы (ОС) можно представить в виде системы массового обслуживани  (СМО), на вход которой поступает два потока за вок:первьш поток - это поток за вок ОС; второй поток - поток за вок функциональных программ. За вки СС обладают более высоким относительным приоритетом Каждый поток за вок имеет свое средаее врем обслуживани . Обслуживание производитс  М обслуживающими приборами. Известно устройство дл  моделировани  СМО, содержащее генератор импульсов, первый второй и третий счетчики, схему ЗАПРЕТ, схему ИЛИ, схему И, первый и второй генераторы случайного потока импульсов, реверсивный счетчик, блок сравнени  Т. Однако устройство не позвол ет моделировать СМО с приоритетами и ограниченной , . Наиболее близким к предлагаемому  в.Ч етс  устройство дл  моделировани  СМО, содержащее грутту измерительных каналов (приоритет ных уровней), каждый из которых содержит генератор случайного потока импульсов, три счетчика, две И, четыре схемы ИЛИ. реверсивный счетчик, схему сравнени , четыре схемы ЗАПРЕТ, триггер, блок случайного времени задержки, кроме того, устройство содержит генератор случайного потока импульсов в каждом канале, выход генератора слз айного потока импульсов соединен с входом первого, счетчика, входом элемента запрета, первым входом первого элемента И, выход которого подклю чен к входу второго счетчика, а второй вход - к Зтравл ющему входу элемента запрета и выходу первого элемента ИЛИ, выход элемента запрета подключен к суммирующему входу реверсивного счетчика, выход переполнени  которого через схему сравнени  соединен с первым входом ервого элемента ИЛИ, разр дные выходы реверивного счетчика через четвертый элемент запрета соединены с первым входом второго элемента И, второй вход которого соеданен с первым выходом триггера, выход второго элемента И соединет с входом генератора импульсов, выход которого т Д|р1ючен к первому входу триггера и через блок случайной временной задержки кпервому входу второго элемента ИЛИ, выход KOToixwo подключен к второму входу триггера , второй выход которого подключен к вычитающему входу реверсивного счетчика 2. Цель изюбретени  - расширение функциональных возможностей устройства за счет воспроизведени  режима параллельного обслуживани  за вок. Поставленна  цель достигаетс  тем, что в устройство, содержащее канал обслуживани  за вок высокого приоритета и канал обслуживани  за вок низкого приоритета, каждый канал обслуживани  включает первый и второй элементы HJni, счетчик обслуженных за вок, блок формировани  за вок, состо щий из генератора за вок, с%тчика отказов, элемента запрета, зпементы И, элемента ИЛИ, реверсивного счетздка, выход генератора за вок соединен с входом счетчика За вок, первым входом элемента И и информационным входом э емежта запрета, вых ,од которого соединен с суммирующим входом рев.ерсивного счетчика, разр дные выходы которого подк юче1Ш к входам элемента ИЛИ соответственно, выход переполнени  реверсивного счетчика соедннен с управл ющим входом элемента запрета и вторым входом элемента И, выход которого подключен к входу счетчика отказов, и бпокобслухшвани  за вок, состо щий из последовательно соединенных элемента И, генератора импульсов, элемента случайной эадержки и триггера, нулевой выход которого соединен с первым входо1м элемента И, другой вход триггера подключен к выходу генератора импульсов, канал обслуживани  за вок низкого приоритета дополнительно содержит элемент запрета в каждый канал обслуживани  введены/ группа блоков обслуживани  за вок и коммутатор , содержащий три qynnbi элементов И, причем выходы К-х элементов И первой и второй групп (К - 1М) соединены соответственно с первым и вторым входами К-го элемента И третьей группы, в каждом канале обслуживани  выход К-го элемента И третьей группы коммутатора соединен с вторым входом элемента И К-го блока обслуживани  за вок, выход генератора импульсов К-го блок обслуживани  за вок соединен в К-м входом первого элемента ИЛИ, выход которого соединен с вычитающим входом .реверсивного счетчика блока формировани  за вок, выход элемента ИЛИ блока формировани  за вок какала обслуживани  за вок высокого приоритета соединен с управл ющим входом элемента зап рета канала обс11уживани  за вок низкого приоритета и третьими входами элементов И третьей группы коммутатора своего канала оОслуживаин , выход з емента ИЛИ блока формировани  за вок канала обслуживани  за вок низкого приоритета по лючен к информационному входу элемента запрета, выход которог соединен с третьими входами элементов И третьей группы коммутатора .своего канала обслуживанн , выход второго элемента ИЛИ в ... каждом канале обслуживани  соединен с входо счетчика обслужен1н 1х за вок, К-й элемент И первой и второй групп коммутатора имеет К входов, причем К-й из них инверсный, единичный выход триггера К-го блока обслуживани  за вок канала обслуживани  за)1вок высокого пр1юритета соеданен с К-м входом второго элемента ИЛИ Citoero Канала обслуживани  и с К-ми входами всех элементов И первой груп пы коммутаторов обоих каналов обслуживани  а единичной выход триггера блока обслуживаг ни  за вок канала обслуживани  за вок низкого приоритета срединен с К-м выходом второго элемента ИЛИ своего канала и с К-ми входами всех элементов И второй группы коммутаторов обоих каналов обслуживанн . На фиг. 1 изображена фнукциональна  схема устройства; на фиг. 2, 3 н 4 - схемы блок формировани  за вок, блока обслуживани  за  вок и коммутатора соответственно. Устройство содержит два канала 1 и Ij обслуживани , каждый из которых содержит биюк 2 формировани  за вок, коммутатор блоков 4 обслуживани  за вок, причем комму татор 3 обеспечивает поступление за вки на первый свободный блок 4, второй элемент ИЛИ 5, счетчик 6 обслужегшых за вок, первый элемент ИЛИ 7. Второй канал содержит также элемент 8 . запрета. Блок 2 формировани  за вок содержит генератор 9 эа вок, счетчик 10 за вок, счетчик 11 отказов, элемент И 12, реверсивный счетчик 13, элемент 14 запрета и элемент ИЛИ 15. Блок 4 обслуживани  за вок содержит элемент И 16, генератор 17 импульсов, элемент 18 случайной задержки, триггер 19. Коммутатор 3 содержит третью группу элементов И 20, первую группу элемментов И 21, вторую группу элементов И 22. На схеме также обозначены выходы 23 блока обслуживани  за вок. К-й элемент И 21 первой группы и К-й элемент И 22 второй группы 11еа:1изуют функции V Y Y X Y Л Л -ЛцП ITjfЛ т. L J. . . л и Х- - сигнал состо ни  соответственно, где 4 j-ro измерительного с выхода i-ro блока канала. Первый какал 1 имитирует обработку за вок операционной системы, а второй какал 1 - обработку за вок функциональных алгоритмов . В каждом измерительном канале блок 2 имитирует формирование за вок и их очередь, причем интенсивность поступлени  за вок в первом и втором измерительных каналах соответственно равна интенсивности поступлени  за вок операционной системы и за вок функциональных алгоритмов. Коммутатор 3 передает поступающие за вки на первый свободный блок 4, причем одноименные блоки 4 обслуживани  первого и второго каналов имеют один и тот же закон обслуживани , так как они. имитируют один и тот же ррибор, обслуживающий приоритетную или обычную за вку. Счетчик 6 подсчитывает число обслуженных за вок. Элемент 8 запрета во втором канале служит дл  реализации относительного приоритета за вок первого канала. В каждом канале генератор 9 имитирует ВХОД1ЮЙ поток за вок со случайным периодом повторени . Счетчик 10 подсчитывает общее число поступивших за вок. Счетчик 11 через элемент И 12 подсчитывает число за вок, получивщнх отказ из-за зан тости O4cpejm. Реверсивный счетчик 13 совместно с элементом 14 запрета и элементом ИЛИ 15 имитирует очередь СМО. Генератор 17 импульсов, совместно с элеме1гтом 18 случайной задержки, злементрм И- 16 и триггером 19 имитируют обслуживающий прибор со случайным временем обслуживани , причем имитируетс  М обслуживающих приборов. В исходном систо нии в реверсивном счетчике 13 записан Ч. Нулевой сигнал с. единичного выхода 23 триггера 19 подастс  на соответствующие входы коммутаторов 3. Единица нулевого выхода триггера 19 по/уюрживаст элемент И 16 в открытом состо нии. Генератор 17 импзшьсов ничего не генерирует, такThe invention relates to computing and can be used for the statistical modeling of 4 operating functions and an operating system as part of a multiprocessing computer complex. The process of functioning of a multiprocessor computing complex (MIC), taking into account the operation of the operating system (OS), can be represented in the form of a queuing system (QS), at the input of which there are two flow rates: the first flow is the flow of OS; the second stream is the flow of functional programs. CC applications have a higher relative priority. Each application flow has its own service time. Service is performed by M servicing devices. A device for simulating QS is known, which contains a pulse generator, the first second and third counters, the BAN scheme, the OR circuit, the AND circuit, the first and second random pulse flow generators, the reversible counter, the comparison unit T. However, the device does not allow simulating the QS with priorities and limited Closest to the proposed device is a simulator for simulating QS, containing a grunt of measuring channels (priority levels), each of which contains a generator of a random stream of pulses, three counters, two AND, four OR circuits. reversible counter, comparison circuit, four BANKS, trigger, block of random delay time, in addition, the device contains a generator of a random stream of pulses in each channel, the output of the generator of a slurry pulse stream is connected to the input of the first, counter, input of the prohibition element, the first input of the first of the AND element, the output of which is connected to the input of the second counter, and the second input to the Selecting input of the prohibition element and the output of the first OR element, the output of the prohibition element is connected to the summing input of the reversing counter a, the overflow output of which is connected to the first input of the first OR element through the comparison circuit, the bit outputs of the revision counter are connected to the first input of the second element AND, the second input of which is connected to the first trigger output, the output of the second element AND to the generator input pulses, the output of which is t D | p1yuchen to the first input of the trigger and, through a random time delay block to the first input of the second element OR, the output KOToixwo is connected to the second input of the trigger, the second output of which is li ne to the subtracting input of down counter 2. The purpose izyubreteni - expansion device functionality due reproducing mode service applications are parallel. The goal is achieved by the fact that in a device containing a high priority queuing service channel and a low priority queuing channel, each service channel includes the first and second HJni elements, the queued service counter, the quiver generation unit , with a% of the failure mode, the prohibition element, the AND element, the OR element, the reversing counter, the generator output is connected to the input of the meter, the first input of the AND element and the information input of the prohibition, the output of which is It is connected with the summing input of the rev.Active counter, the bit outputs of which are connected to the inputs of the element OR, respectively, the overflow output of the reversible counter is connected to the control input of the prohibition element and the second input of the element AND whose output is connected to the input of the counter of failures, and is bored after the wok consisting of a series-connected element AND, a pulse generator, an element of random e-release and a trigger, the zero output of which is connected to the first input of the element AND, another input of the trigger is connected to the output of the gene Pulse racer, service channel of low priority requests additionally contains a prohibition element in each service channel entered / group of service request units and a switch containing three qynnbi elements AND, the outputs of the K-elements AND of the first and second groups (K - 1M) are connected respectively, with the first and second inputs of the K-th element AND of the third group, in each service channel, the output of the K-th element And the third group of the switch is connected to the second input of the element of the K-th queuing service block, the output of the K-th pulse generator The service is connected to the K th input of the first OR element, the output of which is connected to the subtracting input of the reversible counter of the request forming unit, the output of the OR element of the forming unit behind the high priority request coil, is connected to the control input of the channel element processing of low priority quotes and the third inputs of elements AND of the third group of the switch of its own channel oOvservicein, the output of the element OR block of formation of the quota of the service channel of the low priority quota is connected to the information input of the prohibition element, the output of which is connected to the third inputs of the elements AND of the third group of the switch. Its channel is serviced, the output of the second element OR in ... each service channel is connected to the input of the counter 1x service, Kth element AND of the first and second groups the switch has K inputs, and K-th of them is inverse, single output of the K-th service block trigger for service channel wake for) high-priority high voltage connected to the K input of the second element of the OR Citoero Service Channel and with K-m inputs of all el And the first group of switches of both service channels and the unit output of the trigger of the service unit or the service channel request of the low priority order are middle with the KM output of the second OR element of its channel and with the K inputs of all AND elements of the second group of switches of the two service channels . FIG. 1 shows the functional scheme of the device; in fig. 2, 3 and 4 are diagrams of a unit forming a quotation, a queuing service unit and a switch, respectively. The device contains two service channels 1 and Ij, each of which contains a bit 2 of the application form, a switchboard of the service supply units 4, the commutator 3 supplying the application to the first free unit 4, the second element OR 5, the counter 6 serving services. , the first element OR 7. The second channel also contains the element 8. ban. The generation unit 2 includes a generator 9, a meter 10, a failure counter 11, an AND element 12, a reversible counter 13, a prohibition element 14 and an OR element 15. The service unit 4 contains an element 16, an impulse generator 17 random delay element 18, trigger 19. Switch 3 contains the third group of elements AND 20, the first group of elements And 21, the second group of elements AND 22. The diagram also indicates the outputs 23 of the quotation service unit. The K-th element And 21 of the first group and the K-th element And 22 of the second group 11еa: izuyut function V Y Y X Y L L-LTSP ITjfL t. L J.. . l and X- is the state signal, respectively, where 4 j-ro is the measuring output of the i-ro channel block. The first one imitates the processing of a stock of an operating system, and the second one 1 processes the stock of a functional algorithm. In each measuring channel, unit 2 imitates the formation of the order and their queue, with the rate of receipt of the application in the first and second measuring channels, respectively, equal to the intensity of the receipt of the application order of the operating system and the application of functional algorithms. The switch 3 transmits the incoming applications to the first free block 4, and the same name blocks 4 of the service of the first and second channels have the same law of service as they are. imitate the same rybor, serving priority or ordinary payment. Counter 6 counts the number of serviced items. The prohibition element 8 in the second channel serves to realize the relative priority of the requests of the first channel. In each channel, generator 9 simulates an INPUT 1 st flow of a flow with a random repetition period. Counter 10 counts the total number of applicants. Counter 11, through the element And 12, counts the number of the quotation, which was rejected due to the fact that O4cpejm is busy. Reversible counter 13 together with the element 14 of the ban and the element OR 15 imitates the queue QO. A pulse generator 17, together with an element 18 of a random delay, an element I-16 and a trigger 19 imitate a servicing device with a random service time, and M simulates servicing devices. In the initial system, in the reversible counter 13 is recorded Ch. Zero signal p. unit output 23, trigger 19, subasts to the corresponding inputs of the switches 3. The unit of zero output of trigger 19 is by / freezes the AND 16 element in the open state. Generator 17 imps does not generate anything, so

I1142843I1142843

как отсутствует разрешающий потенциал с выходных разр дов реверсивного счетчика 13, прошешний через элемент ШШ 15 и коммутагор 3.as there is no resolving potential from the output bits of the reversible counter 13, past through the SHSh 15 element and commutator 3.

Работу коммутатора paca«oTptiM на при юре 5 дл  М-3, тогда фушсфги fl.k и fl имеют вид дл  первого выхода р( « х , , F, xj,The operation of the paca “oTptiM switch on with a Jurassic 5 for M-3, then the fushsfgi fl.k and fl have the appearance for the first output p (“ x, F, xj,

д   второго р i i дп  третьего выхода F Х , Xj Xj, F| d of the second p i i dp of the third output F X, Xj Xj, F |

где Х- - сигнал состошвга с выхода 23 i-ro блока 4 }-гр канала.where X- is the signal from the output of the 23 i-ro block 4} -g channel.

Тогда табл па мст н ости д   функций f имеет след) видThen the table of parameters of the functions f has the trace)

Из таблищл вндао, что ес м Х - Xj- О, т. е. первый канал свободен.то F, F 1 и сигнал с выхода блока 2 через элемент И 20 поступает на выход коммутатора .From the tables it is assumed that ECM X is Xj-O, i.e. the first channel is free. F, F 1 and the signal from the output of block 2 through the AND 20 element goes to the output of the switch.

. Если Xj X 1. а Хг - Х О, т.е. канал зан т, а второй свободен, то F Ff О и Fj F 1 и сигнал с выхода блока через элемент И 20 1юстуйает на второй выход коммутатора.. If Xj X 1. and Xr - X O, i.e. the channel is occupied, and the second is free, then F Ff О and Fj F 1 and the signal from the output of the block through the element I 20 1 spurs to the second output of the switch.

Коммутирующее устройство работает аналогично и при других соотнощени х сигналов состо ний.The switching device operates in the same way with other ratios of the state signals.

Импульс от генератора 9, имитирующего входной поток за вок, проходит через открытый элемент 14 запрета и nocTjoiaeT на суммирующий вход реверсивного счетчика 3, который ведет подсчет поступивших за вок, имитиру  очередь СМО. Потенш1ал с выходных ра:ф дов реверсивного счетчика 13 через кшоговходовый элемент ИЛИ 15, коммутатор 3 поступает на первый свободный блок 4, где сигнал через открытый элемент И 16 запускает генератор 17 импульсов. Импульс с выхода генератора 17 импульсов поступает иа элемент 18, который задает случайное врем  ое1а1уживанш1 и одаовременно устанавливает триггер 19 в единичное состо ние, закрыва  тем самым элемент И 16 и запреща работу генератора 17 импульсов. Кроме того, именье с выхода генератора 17 поступает на выход и через элемент ИЛИ 7 на вычитающий вход реверсивного счетчика 13 и, тем . , )пменьшает очередь на 1. Задержаншлй юл улъс с элемента 18 устанавливает триггер 19 в нулевое состо ние, имитиру  окончание обслуживани  за вки. Сигнал перехода триггера 19 от едиш1чного в ну.певое а сто ю е с выхода 23, пройд  через элемент ИЛИ 5, подсчитывает число обслуженных за вок на счетчике 6.The impulse from the generator 9, which imitates the input flow of the quota, passes through the open prohibition element 14 and nocTjoiaeT to the summing input of the reversible counter 3, which counts the incoming quotation, simulating the queue of the QS. Potential from the output racks of the reversible counter 13 through the input input element OR 15, the switch 3 enters the first free block 4, where the signal through the open element 16 starts the generator 17 of pulses. The pulse from the output of the generator 17 pulses enters the element 18, which sets a random time o1-11 and 1 sets the trigger 19 in one state, thus closing the element 16 and prohibiting the operation of the generator 17 pulses. In addition, the name from the output of the generator 17 is fed to the output and through the element OR 7 to the subtractive input of the reversing counter 13 and, so. ,) the queue is shorter by 1. Delayed UL with element 18 sets the trigger 19 to the zero state, simulating the end of service of the application. The flip-flop transition signal 19 from unit to new input from output 23, passed through the element OR 5, counts the number of served orders on counter 6.

При заполнении всех мест в очереди сигнал iKpenoimeHtiH реверсивного счетчика 13 поступает на .элемент 14 запрета и элемент И 12. Счетчик 11 нтииает .подсчитывать эдсло за во пот  пных из-39 заводнени  очереди.When all the places in the queue are filled, the iKpenoimeHtiH signal of the reversible counter 13 arrives at the interdiction element 14 and the And 12 element. The counter 11 spontaneously counts the output value as the result of the 39-queue flooding.

OraJHwe в работе второго канала 1 состоит в том, что:между выходом блока 2 и входом коммутатора 3 стоит элемент 8 хшрета, которь Я1р«вл етс  сш-налом с выхода блока 2 первого канала. Тем сакоим имитируетс  отоосителъиый л|жоритет з а вок канала .The OraJHwe in the operation of the second channel 1 is that: between the output of the block 2 and the input of the switch 3 there is an element 8, which is Rcr from the output of the block 2 of the first channel. By this way, Sokoim imitates the operity of priority of the channel.

Статистические характеристики фуюсционнровши  могут Оып вычислены известными . мегодаш на основании показаний счетчиков 6, 10 и П.The statistical characteristics of a fuctional path can be calculated by known ones. Megodash on the basis of indications of counters 6, 10 and P.

Предлагаемое устройство позвол ет моделирвать рабо1 у мнснокапалыюй СМО с двум  уровн ми приоритета, тогда {цютотип моделирует работу одиоканальной СМО с нескольким уровн ми прйО| итета.The proposed device allows simulating a working multi-channel QS with two priority levels, then {the cytotype simulates the operation of a single-channel QS with several levels of PryO | iteta.

Claims (1)

УСТРОЙСТВО ДЛЯ МОДЕЛИРОВАНИЯ ПРИОРИТЕТНЫХ СИСТЕМ МАССОВОГО' ОБСЛУЖИВАНИЯ, содержащее канал обслуживания заявок высокого приоритета и канал обслуживания заявок низкого приоритета, каждый канал обслуживания включает первый и второй элементы ИЛИ, счетчик обслужен- • ных заявок, блок формирования заявок, . состоящий из генератора заявок, счетчика заявок, счетчика отказов, элемента запрета, элемента И элемента ИЛИ и реверсивного счетчика, причем выход генератора заявок соединен с входом счетчика заявок, первым входом элемента И и информационным входом элемента запрета, выход которого соединен с суммирующим входом реверсивного счетчика, разрядные выходы которого подключены к входам элемента ИЛИ соответственно, выход переполнения реверсивного счетчика соединен с управляющим входом элемента запрета и вторым входом элемента И, выход которого подключен к входу счвтчика отказов, и блок обслуживания заявок, состоящий из последовательно соединенных элемента И, генератора импульсов, элемента случайной задержки и триггера, нулевой выход которого соединен с первым входом элемента И, другой вход триггера подключей к выходу тенератора импульсов, канал обслуживания заявок низкого приоритета дополнительно содержит элемент запрета, отличающееся тем, что, с целью расширения функциональных возможностей устройства за счет воспроизведения режима параллельного обслуживания заявок, каждый канал обслуживания дополнительно содержит группу блоков обслуживания заявок и коммутатор, содержащий три группы элементов И, причем выход К-х элементов И первой и второй групп (К — 1,М) соединены соответственно с первым и вторым входами К-го элемента И третьей группы, в каждом канале обслуживания выход К-го элемента И третьей группы коммутатора соединен с вторым входом элемента И К-го блока обслуживания заявок, выход генератора импульсов К-го блока обслуживания заявок соединен с К-.ым входом первого элемента ИЛИ, выход которого соединен с вычитающим входом реверсивного счетчика блока формирования заявок, выход эле- _ мента ИЛИ блока формирования заявок кана- = ла обслуживания заявок высокого приоритета соединен с управляющим входом элемента запрета канала обслуживания заявок низкого приоритета и третьими входами элементов И третьей группы коммутатора своего канала обслуживания, выход элемента ИЛИ блока формирования заявок канала обслуживания заявок низкого приоритета подключен к информационному входу элемента запрета, выход которого соединен с третьими входами элементов И третьей группы коммутатора своего канала обслуживания, выход второго элемента ИЛИ в каждом канале обслуживания соединен с входом счетчика обслуженных заявок, К-й элемент И первой и второй групп коммутатора имеет К входов, причем К-й из них инверсный, единичный выход триггера К-го блока обслуживания заявок канала обслуживания заявок высокого приоритета соединен с К-м входом второго элемента ИЛИ своего канала обслуживания и с К-ми входами всех элементов И первой группы коммутаторов обоих каналов обслуживания, а единичный выход триггера блока обслуживания заявок капала обслуживания заявок низ1142843 кого приоритета соединен с К-м входом вто· ррго элемента ИЛИ своего канала и с К-ми входами всех элементов И второй группы коммутаторов обоих каналов обслуживания.DEVICE FOR SIMULATING PRIORITY MASS 'SERVICE SYSTEMS, containing a service channel for servicing high priority requests and a service channel for servicing low priority, each service channel includes the first and second OR elements, the counter of serviced • applications, the unit for generating applications,. consisting of a request generator, a request counter, a failure counter, a prohibition element, an AND element, an OR element, and a reverse counter, wherein the application generator output is connected to the request counter input, the first input of the And element and the information input of the prohibition element, the output of which is connected to the summing input of the reverse counter , the bit outputs of which are connected to the inputs of the OR element, respectively, the overflow output of the reverse counter is connected to the control input of the inhibit element and the second input of the AND element, the output of which о is connected to the input of the bounce counter, and the application service block, consisting of a series-connected And element, a pulse generator, a random delay element and a trigger, the zero output of which is connected to the first input of the And element, another trigger input connects to the pulse generator output, the service channel low priority additionally contains a prohibition element, characterized in that, in order to expand the functionality of the device by reproducing the parallel service mode of applications, each the service channel additionally contains a group of service blocks of applications and a switch containing three groups of elements And, the output of the K-elements And the first and second groups (K - 1, M) are connected respectively to the first and second inputs of the K-th element And the third group , in each service channel, the output of the Kth element AND of the third group of the switch is connected to the second input of the element And of the Kth request processing unit, the output of the pulse generator of the Kth request processing unit is connected to the Kth input of the first OR element, the output of which is connected with a subtracting input of the reversible counter of the application unit, the output of the _ element OR of the application unit of the channel = service of high priority applications is connected to the control input of the prohibition element of the low priority applications service channel and the third inputs of elements AND of the third group of the switch of its service channel, output element OR block of the formation of claims of the channel for servicing low priority claims is connected to the information input of the prohibition element, the output of which is connected to the third inputs of the cops AND of the third group of the switch of their service channel, the output of the second OR element in each service channel is connected to the input of the counter of serviced requests, the K-th element of the first and second groups of the switch has K inputs, and the K-th of them is an inverse, single output of the trigger K of the first request servicing unit of the high-priority request servicing channel is connected to the Kth input of the second element OR of its service channel and the K-inputs of all elements And the first group of switches of both service channels, and the unit output is three the unit of the service block of applications, the kapala of the service of applications of lower priority number 114 is connected to the Kth input of the second OR element of its channel and with the K inputs of all elements And the second group of switches of both service channels.
SU833659913A 1983-11-05 1983-11-05 Device for simulating priority queueing systems SU1142843A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833659913A SU1142843A1 (en) 1983-11-05 1983-11-05 Device for simulating priority queueing systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833659913A SU1142843A1 (en) 1983-11-05 1983-11-05 Device for simulating priority queueing systems

Publications (1)

Publication Number Publication Date
SU1142843A1 true SU1142843A1 (en) 1985-02-28

Family

ID=21088154

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833659913A SU1142843A1 (en) 1983-11-05 1983-11-05 Device for simulating priority queueing systems

Country Status (1)

Country Link
SU (1) SU1142843A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР М 450178, кл. G 06 F 15/20, 1973. 2. Авторское свидетельство СССР N« 98371 - кл. G 06 F 15/20, 1981 (прототип). *

Similar Documents

Publication Publication Date Title
SU1142843A1 (en) Device for simulating priority queueing systems
US3792439A (en) Storage arrangement for program controlled telecommunication exchange installations
RU2043658C1 (en) Method for multichannel transmission of information packets and device for implementation of said method
Chang et al. The effect of prioritization on the behavior of a concentrator under an accept, otherwise reject strategy
US2876433A (en) Impulse circulation comparison device for two whole numbers
SU1388889A1 (en) Device for simulating queueing systems
SU858000A1 (en) Mass servicing system simulating device
SU1088004A1 (en) Device for simulating markovian signal arrivals
SU415674A1 (en) DEVICE FOR MODELING MASS SERVICE SYSTEMS
RU192190U1 (en) DEVICE FOR SIMULATION OF MASS SERVICE SYSTEM
SU959087A1 (en) Device for probabilistic simulating of queueing system
SU1196889A1 (en) Device for simulating node of graph
SU1108458A1 (en) Device for simulating queueing systems
RU1789983C (en) Device for priority servicing requests
SU1649563A1 (en) Device for simulating a dual channel queueing system
SU1312599A1 (en) Device for simulating the queueing systems
SU1206796A1 (en) Device for simulating process for servicing requests with different priorities
SU1418730A1 (en) Device for simulating mass service systems
SU1095187A1 (en) Device for simulating queueing systems
SU817711A1 (en) Device for multiplying pulse repetition frequency
SU1108456A1 (en) Device for simulating queueing systems
SU1111172A1 (en) Device for simulating queueing systems
SU424148A1 (en) DEVICE FOR MAINTENANCE OF APPLICATIONS OF A COLLECTIVE OF USERS
SU1310838A1 (en) Device for simulating the queueing systems
SU1552197A2 (en) Device for modeling queueing systems