SU1088002A1 - Device for simulating queueing systems - Google Patents

Device for simulating queueing systems Download PDF

Info

Publication number
SU1088002A1
SU1088002A1 SU833548354A SU3548354A SU1088002A1 SU 1088002 A1 SU1088002 A1 SU 1088002A1 SU 833548354 A SU833548354 A SU 833548354A SU 3548354 A SU3548354 A SU 3548354A SU 1088002 A1 SU1088002 A1 SU 1088002A1
Authority
SU
USSR - Soviet Union
Prior art keywords
group
input
elements
inputs
output
Prior art date
Application number
SU833548354A
Other languages
Russian (ru)
Inventor
Владимир Григорьевич Жуковский
Владимир Николаевич Ковалевский
Григорий Александрович Черноморов
Original Assignee
Предприятие П/Я А-1081
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 Предприятие П/Я А-1081 filed Critical Предприятие П/Я А-1081
Priority to SU833548354A priority Critical patent/SU1088002A1/en
Application granted granted Critical
Publication of SU1088002A1 publication Critical patent/SU1088002A1/en

Links

Landscapes

  • Logic Circuits (AREA)

Abstract

УСТРОЙСТВО ДЛЯ МОДЕЛИРОВАНИЯ СИСТЕМ МАССОВОГО ОБСЛУЖИВАНИЯ , содержащее генератор имцульсое , блок вывода, блок опроса, состо ший из R 5-триггера, элемента ИЛИ, элемента задержки и группы элементов задержки, вхоаы которых соединены с Б -входом RS -триггера, единичный вход которого через элемент задержки соединен с первым входом элемента ИЛИ, второй вход которого  вл етс  входом сброса блока опроса, а выход цемента или соединен с R-входом Н5-трИ1Тера, формирователь сигнала разрешени  обслуживани , состо5пций на послед(шательно соединенных первого Tpirrepa, первого элемента И-НЕ, первого дифференцирующего элемента, первого расширител  импульсов и первого элемента ИЛИ, . последовательно соединенных второго триггера, второт о элемента И-НЕ, вт1 рого дифференцирующего элемента и второго расширител  импульсов, выход которого подключен к другому входу перового элемента ИЛИ, выходы первого и. второго дифференцирующих элементов подключены соответственно к единичнык входам первого и второго триггеров, другие входы элементов И-НЕ объединены и подключены к первому тактовому ВЫХОДУ генератора импульсов, нулевой 1ВХОД второго триггера  вл етс  входом Запуска устройства, выход первого элемента ИЛИ поднпочен к входам элементов задержки группы блока опроса, выходы первого и второго расширителей импульсов подключены соответственно к первому и второму входам блока вывоаа , блок сдвига, состо щий из регистра сдвига, первой группы элементов И, первой группы элементов ИЛИ, первой группы элементов НЕ, второй группы элементов И, элемента ИЛИ, элемента НЕ, группы элементов задержки, второй и третьей группы элементре НЕ, треа ® тьей и четвертой групп элементов И, второй группы .элементов ИЛИ, причем (Л в блоке сдвига выходы элементов задерж .ки группы соединены с соответствующиi ми входами параллельного занесени  регистра сдвига, разр дные выходы которого подключёшл соответственно к перуным входам элементов И первой группы, входам элемент НЕ второй грэуппы и 1юрвым входам элементов И третьей 00 группы, входы элементов НЕ третьей 00 группы и пер аые входы элементов И третьей группы подключены к соогветст-i .ющему входу элемента ИЛИ, вторые to входы элементов И второй и третьей группы подключены к выходам соответствующих элементов НЕ вторс и третьей групп, а выходы элементов И второй и третьей групп подключены к входам соответствующего элемента ИЛИ второй группы, выходы которых соединены с входами соогеетствующих элементов задержки rpjynn, вторые входы элементов И первой группы подключень к выходам соответст ющего элемента задержки группы блока опроса, выход первого элоA DEVICE FOR MODELING MASS SERVICE SYSTEMS, containing an impulse generator, an output unit, a polling unit consisting of an R 5 flip-flop, an OR element, a delay element, and a group of delay elements whose inputs are connected to the B-RS trigger input, whose single input through the delay element is connected to the first input of the OR element, the second input of which is the reset input of the polling unit, and the cement output, or connected to the R input H5-TrI1Tera, the service enable signal generator, consisting of 5 options for successively connected x the first Tpirrepa, the first NID element, the first differentiating element, the first pulse expander and the first OR element, are connected in series to the second trigger, the second NI element, the second differentiating element and the second pulse expander, the output of which is connected to another input the first element OR, the outputs of the first and the second differentiating elements are connected respectively to the single inputs of the first and second flip-flops, the other inputs of the AND-NOT elements are combined and connected to the first clock B The LAMP of the pulse generator, zero 1 INPUT of the second trigger, is the Startup input of the device, the output of the first element OR is connected to the inputs of the delay elements of the polling unit group, the outputs of the first and second pulse extenders are connected respectively to the first and second inputs of the output unit, the shift unit consisting of a register shift, the first group of elements AND, the first group of elements OR, the first group of elements NOT, the second group of elements AND, the element OR, the element NOT, the group of delay elements, the second and the third group e is NOT, a tray of the third and fourth groups of AND elements, a second group of OR elements, where (L in the shift unit, the outputs of the delayed elements of the group are connected to the corresponding inputs of the parallel register of the shift register, the discharge outputs of which are connected to the corresponding inputs of the Both the first group, the inputs of the element are NOT the second group and the 1 inputs of the elements of the third group 00, the inputs of the elements NOT of the third group 00 and the first inputs of the elements of the third group are connected to the corresponding input of the element OR, the second to inputs elements of the second and third groups are connected to the outputs of the corresponding elements NOT replicas and the third group, and the outputs of the elements of the second and third groups are connected to the inputs of the corresponding element OR of the second group, the outputs of which are connected to the inputs of coherence delay elements rpjynn, the second inputs of the AND elements of the first group connected to the outputs of the corresponding delay element of the polling unit group, the output of the first

Description

мента И первой группы соединен с первым BXoAfflv элемента. ИЛИ, с входом первого апеменга НЕ первой группы н вгорьш ЕРЕОДОМ первого элемента ИЛИ первой Группы, выходы элементов НЕ первой группы соединены с первыми входами соот ветствующих элементов И четвертой группы , выход К-го элемента И первой группы (,п) подключен к второму входу (К-1)-го элемента И четвертой группы, выход М-го элемента И первое группы (М в 2,|(-1) подключен также к первс чсу (M-l)-ro элемента ИЛИ перв( группы, второй вход М-го адемента ИЛИ первой группы - к входу М-го .элемента НЕ первой группы, выход которейго соединен с вторым входом М-го элемента И четвертой группы, выход К-го элемента И четвертой группы подвпючен к К-му входу элемента ИЛИ, выход которого соединен с входом элемента НЕ, подключен- . ного выходом к нулевому входу первого триггера формировател  сигнала разрешени обслуживани  и вхоцу обслуженных за вок блока вывода, выход первснго разр да регастра сдвига блока сдвига соединен с входом за вок, поставленных в очередь.And the first group is connected to the first BXoAfflv element. OR, with the input of the first apemenga NOT the first group or the first element OR of the first Group, the outputs of the NOT elements of the first group are connected to the first inputs of the corresponding elements AND the fourth group, the output of the Kth element AND of the first group (, n) is connected to the second input (K-1) -th element of the fourth group, the output of the M-th element And the first group (M in 2, | (-1) is also connected to the first element (Ml) -ro of the element OR the first (group, second input of the M- first element OR of the first group - to the input of the M-th element is NOT the first group, the output of which is connected to the second input of the M-th About the fourth group element, the output of the k-th element and the fourth group is connected to the k-th input of the element OR, the output of which is connected to the input of the element NOT connected to the zero input of the first trigger of the service enable signal generator and served the output unit, the output of the first bit of the shift register of the shift unit is connected to the input of the queued order.

блока вывода, выход последнего разр да регистра сдвига блока сдвига подключен .к входу Превышени  времени ожидани  блока вывода, второй тактовый выход ге нератора импульсов подключен к тактовому входу регистра сдвига бпока сдвига, вход сдвига вправо которого соединен с выходом триггера блока опроса, отличающеес  тем, что, с целью класса Моделировани  систем путем моделировани  замкнутых систем Массового обслуживани  с конечным числом источнико за вок.оно дополнительно содержит генератор за вок,элвмент запрета и реверсивный счетчик,вычитающий и суммирующий входы которого соединены соответственно с выходом второго расширител  импульсов формировател  сигнала раарешени  обслуживани  и ВЫХОДСЖ1 первого разр да регистра сдвига блока сдвига, вход последовательного занесени  которого подключен к выходу генератора за вок, вход которого с выходом элемента запрета, управл ющий вход которого  вл етс  упраих ющим входомустройства, а информационный вход соединен с выходом реверсивного счетчбка .the output of the last bit of the shift register of the shift block is connected to the input of the output unit waiting time, the second clock output of the pulse generator is connected to the clock input of the shift register bypass, the right shift input of which is connected to the output of the trigger of the polling unit, that, for the purpose of the Modeling systems class by simulating closed-end Mass Service systems with a finite number of sources, it also contains a quotation generator, a ban element and a reversible counter, The subtracting and summing inputs of which are connected respectively to the output of the second pulse expander of the service resolution resolver and the OUTPL1 of the first bit of the shift block shift register, the sequential recording input of which is connected to the generator output, the input of which is with the output of the prohibition element whose control input is control input device, and the information input is connected to the output of the reversible counter.

Изобретение относитс  к вычислительной технике и может быть испспьзовано да  моделирсфани  процессов в системах массового обслуживани  (СМО),The invention relates to computing and can be implemented and simulated wiring processes in queuing systems (QS),

Известно специализированное устрьй- s ство дл  моделировани  потоков за вок и процессов обслуживани , содержащее генератор случайных временных интервалов , управл емый генератор импульсов , блок режима работы, схемы И, грип-О reptl.A specialized device for modeling flow of the demand and service processes is known, which contains a random time interval generator, a controlled pulse generator, an operating mode block, an AND scheme, a grip-o reptl.

Такое устройство предназначено Дл  моделировани  в отдельности нестапвоварных потоков за вок с измен емой ин-« тенсивностью работы обслуживающего 15 аппарата с произвольно задеваемым aaKoHravf обслуживани , однако шо не позвол ет моделировать работу СМО в цепом.Such a device is intended to simulate separately non-welded flows of applications with variable intensity of operation of the servicing device 15 with randomly aaKoHravf service, however, it does not allow to simulate the operation of the QS in the chain.

Известно устрсйство дл  моделирова- 20 ни  разомкнутых СМО, содеркашее регистр сдвига, генератор импульсов, первый вход которого соединен с первым входом регистра сдвига, второй вход которого соединен с шиной приема за вок, блок управлени , блок опроса, блок вывода датчик времени ожидани , формирователь сигналов ограничени  времени ожидани , формирователь сигналов разрешени  обслуживани , первый вход которого и первый вход блока управлени  соединены соответственно с вторым и третьим входами генератора импульсов, выходы блока управлени  и формировани  сигналов ограничени  времени ожидани  соединены с выходами датчика времени ожидани , выхфы которого данены с первой группойвходов регистра сдшгга, втора  группа входов которого соединена с выходами блока опроса,A known device for a simulated 20 QS, containing a shift register, a pulse generator, the first input of which is connected to the first input of the shift register, the second input of which is connected to the reception bus, the control unit, the polling unit, the output unit timeout sensor, driver waiting time limiting signals, a service enable signal generator, the first input of which and the first input of the control unit are connected respectively to the second and third inputs of the pulse generator, the outputs of the control unit Ensuring and generating timeout signaling signals are connected to the outputs of the waiting time sensor, the outlets of which are given to the first group of inputs of the register, the second group of inputs of which are connected to the outputs of the polling unit,

вход которого соединен с первьпъ выходом формировател  сигналов разрешени  обслуживани , второй и третий выходы которого соединены с первым и вторыми блоками вывода, третий, четвертый, п тый, шестой и седьмой входы котор1 го соединены соответственно с вторым 19ЫХОДОМ формировател  сигналов ограничени  времени ожидани , первым ,- вторым , третьим и четвертым выходами регистра сдвига, п тый, шестой которого соединены с вторыми входами соответственно формировател  сигналов разрешени  обслуживани  и бпока упра&лени , второй выход и третий вход ко торого соединены соответственно с пер вым входом формировател  сигналов ог раничени  времени ожидани  и одним вы колом блока вьгаода, другие выходы которого соединены с выходами устрЫ ства устанавливающий и запускакнций входы которого соединены соответственно с вторым вхоД(1 формировател  сигналов ограничени  времени ожидани  и третьим входом формировател  сигнала разрешени  обслуживани  С21 , Однако это устройство не позвол ет моделировать функционирование замкнутых СМО с конечным числом источников , что обусловлено зависимостью характеристик вход щего потока от количества за вок, наход щихс  в системе, т.е. в очереди и на. обслуживании. Известно , что интенсивность потока за вок в таких СМО измен етс  в процессе функционировани  в соогветстЕии с выра жением Л (т-п)Д(1) где m - общее количество источников за вок в замкнутой СМО, Л - интенсивность потока за вок одного источника; п - количество за всж, наход щихс  в системе. Целью изобретени   вл етс  расшире ние класса моделирующих СМО, Поставленна  цель достигаетс  тем, что в устройство, содержащее генератор импульсов, блок вывода, блок опроса, состо щий из R5-триггера, элемента ИЛИ, элемента задержки и группы элеме тов задержки, входы которых соединеньт с S-входом RS-триггера, единичный выход которого через элемент задержки соединен с первым входом элемента ИЛИ второй вход которого  вл етс  входом сброса блока опроса, а выход элементу ИЛИ соединен с К-ВХОДЕЛ Ss -триггер) формирователь сигнала разрешени  обСлуживани , состо щий из последователь но соединенных первого триггера, первого элемента И-НЕ, первого дифференцирующего элемента, первого расширител  импульсов и первого элемента ИЛИ последовательно соединенных второго триггера, второго элемента И-НЕ, вто1 24 рс го дифференцирующего элемента и второго расширител  импульсов, выход кот« рого подключен к другмлу входу первого элемента ИЛИ, выходы первого и второго дифференцирующих элементов подключены соответственно к единичным входам первого и второго триггеров, другие входы элементов И-НЕ объединены и подключены к первому тактовому Bboctvj: генератора импульсов, нулевой вход второго триггера  вл етс  входом запуска устройства, выход первого элемента ИЛИ подключен к входам .элементов задержки группы блока опроса, выходы первого и второго расширителей импульсов подключены соответственно к первому и второму входам блока вывода, блок сдвига, состо ишй из регистра сдвига, первой группы элементов И, первой группы элементов ИЛИ, nepBtrfi группы элементов НЕ, второй группь элементов И, элемента ИЛИ, элемента НЕ, группы элементе задержки, второй и третьей группы элементов HEj третьей и четвертой групп элементов И, второй группы элементов ИЛИ пр1Чем в блоке сдвига выходы элементов задержки группы соединены с соответствующими входами параллельного занесени  регистра сдвига, разр дные выходы которого подключены соответственно к первым входам элементов И первой группы, входам элементов НЕ второй группы и первым входам элементов И третьей группы, входы элементов НЕ третьей группы и первые входы элементов И третьей, группы поДгг ключены к соответствующему входу элемента ИЛИ, вторые входы элементов И второй и третьей групп подкл.ючены к выходам соответствующих элементов НЕ второй и третьей групп, а выходы элементов И второй и Tperbdi групп подключень5 к входам соответствующего элемента ИЛИ второй группы, выходы которых соединены с входами соответствующих элементов задержки групп, вторые входы элементов И первой группы подключены к выходам соответствующего элемента задержки группы блока опроса, выход первого элемента И первой группы соединен с первым входом элемента ИЛИ, с входом первого ёлемента НЕ первой группы и BTOjSiiM входом первого элемента ИЛИ первой группы, выходы элементов НЕ первой группы соединены с пе{ выми входами соответствующих элементов И четвертой группы, выход К-го элемента И первой группы (К 2,п ) подключен к второму вход} (К - 1)-го з емеига И четвертой группы, выход М-го э еменга И первой группы (М , n-J.) подключен также к первому входу {М-1 )-го элемента ИЛИ первой группы, второй вхоа М-го элемента ИЛИ первой группы - к входу М-го элемента НЕ первой группы, выход которого соединен ;с вторым входом М-го элемента И четвертой группы, выход К-го элемента И четвертой группы подключен к К-му входу элемента ИЛИ) выход котсфэтО соединен с входом элемента НЕ, подключенного выходом к нулевоь вход/ первого т{Я1ГГера формировател  сигнала разрешени  обслуживани  и входу обспуженных за5ток блока вывода, выход первого разр да регистра сдвига блока сдвига соединен с входом аа в1Ж, постав ленных в очередь, блска вывода, выход последнего разр да регистра сдвига елока сдвига подключен к вхЬду превышени  времени ожидани  блока вывода, второй тактовый выход генератора импульсов подключен к тактовому входу регастра сдвига блока сдвига, вход сдвига вправо которого соединен с выходом триггера блока опроса, введены генератор за вок, элемент запрета и реверсивный счетчик, вычитающий и суммирующий которг го соединены соогвегсгвенно с выходом второго расширител  импульсов формировател  сигнала разрешени  обслуживани  и выходам первого разр да регастра сдвига блока сдвига, вход пос едовательного занесени  которого подалючен к выхо;: генератора за вок, вход которого соединен с выходс  элемента запрета, управл ющий вход которого  вл етс  упра л клцим входом устройства, а инфорыадишный вход соединен с выходам реверсивнс о счетчика. На фиг. 1 показана структурна  схема устройства; на фиг. 2 - схема блока сдвих на фиг.. 3 - блок опроса на фиг, 4 - блок вывода; на фиг. 5 - схема формировател  сигнала разрешени  обслуживани . Устройство содержит блок 1 сдвига, . генератор 2 импульсов, реверсивный счет чик 3, блок 4 опроса, блок 5 вьтода, .генератор 6 за вок,формирователь сигвала разрешени  обслуживани  , элё мент 8 запрета, запускающий 9 и установочный 10 входы устр(Лсгва« Блок 1 сдвига„««представл юший собой варинт регистра сдвига (фиг. 2), содержит первую группу элементе® И 11, первую группу элементов ИЛИ 12, перрую группу элементов НЕ 13, четвертую 10 026 группу элементов И 14; элемент ИЛИ 15, элемент НЕ 16, группу элементов 17 задержки, вторую группу элементов ИЛИ 1.8, вторую 19 и третью 20 группу элементов НЕ, вторую 21 и третью 22 riynny элементов И, регистр 23 сдвига. Блок 1 сдвига состоит из трех уз/IOB I, II, Ш, Узел 1 представл ет собой стандартный двунаправленный регистр сдвига с последовательным и параллельным занесением информации. Схема имеет входы последовательного занесени  ,D+ при сдвиге вправо и D-при сдвиге влево, восемь входов параллеьного занесени С -D8, тактовый счетный вход С, управл ющие входы VI и V 2 дл  выбора режима работы, вход устанр ки О К и восемь выходов каждого разр да 1-8, В зависимости от состо ний устано- вочных входов V 1 V2 и Ц узел I мо жег работать в различных режимах: последовательно занесени  со сдвиг штраво; последовательного занесени  со сдвигом влево; параллельного занесени ; хранени ; установки в О. В режиме последсфательного занесени  со сквигам информации вправо на вход V1 подаетс  уровень логического нул , на вход V 2 - уровень логической единицы. Параллельное занесение информации осуществл етс , кота установотные входы наход тс  в состо нии логической единицы, Узал Г1 предназначен дл  определени  приоритетного разр да стандартного регистра сдвига и имеет практически однородную структуру, а узел Ц1 предназначен дл  гашени  единицы в приоритетном разр де стандартного регистра сдвига без изменени  состо ни  остальных разр дов этого регистра. Функциональное назначение выходов блока сдвига следукицее: выход за вок, подаваемых на обслуживание;, выход элемента ИЛИ 15} выход за вок, поступивших ва обслуживание, но вви; наличи  ойзгереди за всж либо отсутстви  си1 нала об окончании обслуживани  ранее поступившей за вки, поставленных в очередь на обслуживание, - выход 1-гр разр да рег истра сдвига;;, выход сигнала о превышении фиксированного предела времени пребывани  за вки в очереди, т,е, по этому выходу происходит увеличение за вок из очереди, ввиду того, что их врем  обслуживани  превысило предельное значение - выход 8-го ра&р да стандартного регистра сдвига; выход сигнала об отсутствии sasi&OK в оче реои - выход элемента НЕ 16. Блок 4 опроса (фиг. 3) предназначен дп  выполнени  опроса состо ний раэр дов стандартного регистра сдвига, содермшт групцу алемейтс 24 задержек триггер 25, элемент 26 зааерккн, элемент ИЛИ 27, Первый вход триггера соединен с BuxoAt vi формировател  7 сигнал ов разрешени  Обспуж1тани , а ег выход - с ъхоаом элемента 22 задержки , и с входом VI регистра 1 сдвига. Елок 5 вывода (фиг. 4) выполн ет функшио расширени  импульса до заданно величины по кажд( из входов. Расширение имщгльстю осушествл етс:  с по мгаиью стандартной схемы 28 {юсширени  импульсов. Функциональное назначение входов и выходов 601 ока 5 вьгоода следующее: первый вход вход прмема сигналов с выхода формировател  7 об отсутствии за вок в очередид второй вход вход приема сигналю с выхода форьшроватед  7 о моментах с сончани  о6спужива ни . Назначение остальных Bxoat анадо гично выходам блока сдвига Функциональна  схема формиросаге л  7 сигналов разрешени  обслуживани  ( фиг. 5) содержит дифферендаруюпше апементы 29, схемы ЗО расширени  импульса до заданной величины и элемент ИЛИ 31, триггеры 32, aiieменты И-НЕ 33. Запускающий вход 9 ycTp tcTBa соединен с первым входсм второго триггера 32. В режиме модвлирс вани  ра31  1кну1и СМО на установочный вход 10 (4 1Г.1) подаетс  уровень ло17ического О, а при моделировании замкнутых CMD - логиче ка  . Устройство работает следующим образом При моделирттании разомкнутых СМО с установочного входа 10 устройства на вход элемеЕ та 8 запрета поступает сишал, запрещающий прохождение импул сов с выхода реверсивного счетчика 3, на управл каций вход генератора 6. При моделировании замкнутых СМО разрешаетс  пр охождение сигналов с выхода реверсивного счетчика 3 на управл ющи вход генератора 6 за вок. С выхода генератора 6 за вок на вх блока 1 сдвига поступает/поток импуль сов, имитирующих поток за вок в CMD Интенсивность этого потока в прпхессе мооелировани  разомкнутых СМО остаетс  посто нной. При моделировании замкнутых СМО интенсивность потгаса импульсов измен етс  в зависимости от количества за вок, наход щихс  в системе, в соответствии с формулой (1). Информа ци  о количестве за в1Ж, наход щихс  в момент времени в системе, хранитс  в реверсивном счегчикеГзр Фунхцнширование устройства начинаемс  с того, что на за1 скакхаий вход 9 прихоАнт поток Нмлульсов, имитирующий возмшсность начала обслуживани  за вки . Этот свг|1ал запоминаетс  в формирователе 7« Также выдаетс  имцульс за-  в1ш на блоке 1 сдвиге (од 0+) с генератора 6. По попоиштельному перепа- ду тактового импульса с генератора 2 (оа имит1 1рует текущее врем ) nociyinas- ший сигнал; в формировать е 7 (фиг. 5) проходит звено вторых элементю 32, 33, 29 и ЗО, подаетс  через «ьлход в реверсивный счетчик 3 и к блску 5 вывода . Ош(Жременно этот же сигнал, д  .элемент ИЛИ 32, запускает блок 4 спроса, который выдает на вход V 1 стандартного решстра урдаень лошческого О, а с инфсцзмашкжных выходов 1-8 - сигналы шроса (логические 1) поступают на входные элементы И узла II блока 1 сдвига, Пр1 наличии тактового импульса От генератора 2 на вход С в узле I блока 1 сдвига осуществл ет с  режим последовательного занесени  единш(ы со СЦ&КГ1ЯЛ вправо, а с 1-8 в узел П поступает двоична  инфор 4аци  в параллельном коде дл  шгределеНи  приоритетного 1 азр да стандартного регистра сдвига (это будет первый по пор дку, начива  с восьмого, разр д, содержащий лопкческую единицу). С установленного приоритетного разрхща импульс (за 1№а) через элемент ИЛИ 15 выдаетс  на обслуживание. Таким образо л, на обслуживание выбираетс  т,оебование с наибольшим временем ожидани  (дисциплина первый пришел - пераыйТ бслужен). Так же импульсы пос1упают .соответс венно с перв1 : о млащиего разр да стандартного регистра к блоку 5 вывода и к реверсивному счетчику 3 и со старшего восьм( разр да к б сжу 5 вывода. После шроса блок 4 подает на вход VI стандартного регистра уровень логической (на входе V2 посто нно поддержнваетс  уровень логической ). В узле Щ.регистра 1 сдвига происходит следующее. На входы 1-8 узла 111 поступает соответственно двоична  инфо1 маци  с выходов 1-8 уапа II и выход№ 1-8 уа а 1. В резульгаге рабoibi группы злеменг( в узла Ш на вхооы сгавдарт кого регистра 9 1-D8 в режиме паралл епьвого занесени  вноситс  во всех разр дах инфЬрмаов  без изменени  за ксскшоченнем приоритетного разр да, в котором логическа  единица обнул етс , т.е. происходит гашение логической единицы прюрйтетного разр да. Если в момент опроса регистр сдвига густ, сигнал об этом: покупает через элемент ИЛИ 16 на формирователь 7 с Цв рЕ 1о повторени  ифоса в следующем авкпе. При наличии псиомсите ьного переШада тактюого импульса этот сигнш проходит звено первых элементов 32ДЗ, 29, 30, поступает через выход в блок 5 вывода и одновременно ч ерез элемент ИЛИ 32 запускает, блок 4 опроса.the input of which is connected to the first output of the service resolution signal generator, the second and third outputs of which are connected to the first and second output blocks, the third, fourth, fifth, sixth and seventh inputs of which are connected respectively to the second 19TH INPUT of the wait time limiter signal generator, - the second, third and fourth outputs of the shift register, the fifth one, the sixth of which is connected to the second inputs of the maker of the service enable and control signals, the second output and the third The input of which is connected respectively to the first input of the driver of the waiting time limits and one ring of the drive, the other outputs of which are connected to the outputs of the device, which sets and starts the inputs of which are connected respectively to the second input (1 driver of the waiting time limit signals and the third input of the service resolution enable generator C21, However, this device does not allow to simulate the operation of closed QS with a finite number of sources, which is due to characteristics of the incoming flow from the number of applications in the system, i.e. in line and on. service. It is known that the flow rate of the quotes in such QS varies in the process of functioning in accordance with the expression L (mn) D (1) where m is the total number of quota sources in the closed QS, L is the flux intensity of the quotes ; n is the number per vj located in the system. The purpose of the invention is to expand the class of simulated QS, the goal is achieved in that a device containing a pulse generator, an output unit, a polling unit consisting of an R5 flip-flop, an OR element, a delay element, and a group of delay elements whose inputs with the S-input of the RS-flip-flop, a single output of which is connected via the delay element to the first input of the OR element, the second input of which is the reset input of the polling unit, and the output to the OR element is connected to the K-INPUT Ss flip-flop This consists of serially connected first trigger, first NAND element, first differentiating element, first pulse expander, and first OR element of the second trigger connected in series, second IS-NOT element, second 24 rs differentiating element, and second pulse extender, the cat output is connected to the other input of the first element OR, the outputs of the first and second differentiating elements are connected respectively to the single inputs of the first and second triggers, other inputs of the elements AND-NOT combined and connected to the first clock Bboctvj: pulse generator, the zero input of the second trigger is the device start input, the output of the first element OR is connected to the inputs of the delay elements of the polling unit group, the outputs of the first and second pulse extenders are connected respectively to the first and second inputs of the output block, the shift block, consisting of the shift register, the first group of elements AND, the first group of elements OR, the nepBtrfi group of elements NOT, the second group of elements AND, the element OR, the element NOT, the group element The supports of the second and third groups HEj of the third and fourth groups of elements AND, the second group of elements OR in the shift block, the outputs of the group delay elements are connected to the corresponding inputs of the parallel register of the shift register, the bit outputs of which are connected respectively to the first inputs of the AND elements of the first group, the inputs of elements NOT the second group and the first inputs of elements AND the third group, the inputs of the elements NOT the third group and the first inputs of the elements AND the third, group are connected to the corresponding input of the element ORT, the second inputs of the elements of the second and third groups are connected to the outputs of the corresponding elements NOT of the second and third groups, and the outputs of the elements of the second and Tperbdi groups connect5 to the inputs of the corresponding element OR of the second group whose outputs are connected to the inputs of the corresponding delay elements of the groups , the second inputs of the AND elements of the first group are connected to the outputs of the corresponding delay element of the polling unit group, the output of the first AND element of the first group is connected to the first input of the OR element, to the input of the first element N E of the first group and BTOjSiiM input of the first element OR of the first group, the outputs of the elements of the NOT group of the first group are connected to the first inputs of the corresponding elements of the fourth group, the output of the K-th element AND of the first group (K 2, n) is connected to the second input} (K - 1) of the fourth group AND of the fourth group, the output of the Mth and the first group (M, nJ.) Is also connected to the first input (M-1) of the OR element of the first group, the second input of the Mth element OR the first group - to the input of the M-th element is NOT the first group whose output is connected; with the second input of the M-th element AND the fourth group The output of the K-th element of the fourth group is connected to the K-th input of the element OR) the output of the electrical connection is connected to the input of the element NOT connected to the output to the zero input / first t {R1GGer of the service enable signal generator and the input of the output unit that was discussed, the output of the first the shift register of the shift block is connected to the aa b1J input, queued, the output block, the output of the last bit of the shift register; the shift shaft is connected to the output time of the output block; the second clock output of the pulse generator Connected to the clock input of the shift register of the shift unit, the right shift input of which is connected to the trigger output of the polling unit, input generator, prohibition element and reversible counter, subtractor and summing input of which are connected to the output pulse generator and the first the shift of the shift shear block regaster, the input of which is supplied to the output ;: a generator of the demand, the input of which is connected to the output of the prohibition element, controlling whose input is L kltsim sound control input device and inforyadishny input coupled to the outputs of the counter reversivns. FIG. 1 shows a block diagram of the device; in fig. 2 is a block diagram of the shifts in FIG. 3; a poll block in FIG. 4; an output block; in fig. 5 is a diagram of a service enable signal generator. The device contains a block 1 shift,. generator 2 pulses, reversible counter 3, polling block 4, block 5 of input, generator 6 for wok, driver for servicing permission, prohibition element 8, triggering 9 and adjusting 10 inputs of the device (LSGWA "Shift block 1" "" represents The most recent variant of the shift register (Fig. 2) contains the first group of element AND 11, the first group of elements OR 12, the first group of elements NOT 13, the fourth 10 026 group of elements AND 14, the element OR 15, the element NOT 16, the group of elements 17 delays, the second group of elements OR 1.8, the second 19 and third 20 group of elements NOT, the second 21 and third and 22 riynny elements, shift register 23. Shift block 1 consists of three nodes / IOB I, II, III, Node 1 is a standard bi-directional shift register with serial and parallel information input. The circuit has serial input inputs, D + when shifting to the right and D-when shifting to the left, eight inputs of parallel input C -D8, clock counting input C, control inputs VI and V 2 for selecting the operating mode, input for setting OK, and eight outputs for each digit 1-8, Depending on the states of the installation inputs V 1 V2 and C node I can be work in different modes: sequentially entering from the shift axis; sequential entry with a shift to the left; parallel entry; storage; the settings in O. In the sequential transfer mode with information skvami, the logical zero level is fed to the right of the V1 input, and the level of the logical one is input to the V 2 input. Parallel information entry is carried out, the set inputs are in the state of logical unit, the Node G1 is designed to determine the priority bit of the standard shift register and has an almost homogeneous structure, and the node C1 is designed to quench the unit in the priority bit of the standard shift register without changing the state of the remaining bits of this register. The functional purpose of the output of the shift unit is the following: output of the wok supplied to the service ;, output of the element OR 15} output of the wok received by the service but wired; the presence of oisgroup for vsh or lack of a si nal about ending the service of a previously received application queued for servicing — output 1-g bit of the shift register ;;, the output signal of exceeding a fixed time limit for the application in queue, t, e, on this output, an increase in the applications from the queue occurs, since their service time has exceeded the limit value - the output of the 8th & r row of the standard shift register; the output signal of the absence of the sasi & OK in the queue is the output of the NOT element 16. The polling unit 4 (Fig. 3) is intended to perform a polling of the states of the rads of the standard shift register, sodermt group alemeyts 24 delays trigger 25, the element 26 zaakkn, element OR 27, the first trigger input is connected to the BuxoAt vi of the driver 7 of the enable signal Obspeak and its output is connected to the delay element 22, and to the input VI of the shift register 1. The output terminal 5 (Fig. 4) performs the pulse expansion function up to a predetermined value for each (each of the inputs. Expansion by means of the following: standard pulse 28. Pulse expansion. The functionality of the inputs and outputs 601 of the 5th year is as follows: first input input of the signal from the output of the imaging unit 7 about the absence of a request to the second queue second input of the input input of the output from the output 7 for the moments from the sleep of the second. Assignment of the remaining Bxoats to the analogous outputs of the shift block Functional diagram of the form 7 signal Alov of the service resolution (Fig. 5) contains differential 29, pulse expansion circuits of the pulse to a given value and the OR element 31, triggers 32, and IS-NOT 33 signals. The trigger input 9 ycTp tcTBa is connected to the first input of the second trigger 32. In the mode, moduls The van 311 of the QS at the installation input 10 (4 1G.1) is supplied with the logic level O, and when the simulation of the closed CMD is logically. The device works as follows. During the modulation of the opened QS from the installation input 10 of the device, the signal is fed to the input of the 8 bar element, banned yuschy passage momenta with the down counter 3 outputs, to the control input tions generator 6. In the simulation, closed QS is allowed direct ohozhdenie signals output from the down counter 3 to the control input of oscillator 6 yuschi requisition. From the output of the generator 6 for the woks on the Ix of the shear unit 1, there is a flow of pulses simulating the flow of the blanks to the CMD. The intensity of this flow in the process of modeling the open QS remains constant. When simulating a closed QS, the intensity of the impulse of pulses varies depending on the number of applications in the system, in accordance with formula (1). Information about the amount of v1Zh located at a time in the system is stored in a reversible lock. The device starts with the fact that the input 9 of the incoming Nmulse flow imitating the possibility of starting the application is sent to the scoop input 9. This signal is stored in the shaper 7. Also, a pulse is placed on the 1 shift unit (od 0+) from the generator 6. The alternating clock pulse from the generator 2 (ia imitating the current time) is the nociyinash signal; To form e 7 (fig. 5) passes the link of the second element 32, 33, 29 and the DA, is fed through the bridge to the reversible counter 3 and to the block 5 of the output. Osh (the same signal, d. OR element 32, triggers demand block 4, which outputs standard input V 1 of the standard resistor, and output signals 1-8 from logic inputs 1 to input elements of AND node II block 1 shift, Pr1 availability of a clock pulse From generator 2 to the input C in node I of block 1, the shift is performed with the sequential recording mode (s from the SC & KG1NL to the right, and from 1-8 to the node P the binary information in parallel code for the priority of 1 azr and standard shift register (e This will be the first in order, starting from the eighth, the bit containing the pommel unit.) The impulse (for 1No) is sent to the service via the OR 15 element. Thus, the service with the highest waiting time (discipline first came - first). Also, the pulses are received from first1: the standard register registers to the output unit 5 and to the reversible counter 3 and from the senior eight (output to 6th output 5). After the block, block 4 supplies the input of the VI standard register with the logic level (the logic level is constantly maintained at the input V2). In the node Shch.registr 1 shift occurs the following. The inputs 1–8 of node 111 are supplied respectively with binary information from outputs 1–8 of wapa II and exit no. 1–8 of w aa 1. As a result, the zlemeng groups (at the node W at the entrance of the register 9 1 – D8 in parallel The variable input is inserted in all bits of the information without changing the priority bit in the x-bit, in which the logical unit is zeroed, i.e. the logical unit of the stand-off bit is suppressed. If at the time of polling the shift register is thick, the signal is: OR 16 to shaper 7 with a COL pE 1o repeat of ifos In the presence of a psychic overshoot of a timed pulse, this signal passes the link of the first elements of the 32RD, 29, 30, enters through the output in the output block 5 and at the same time through the OR 32 element starts, block 4 polling.

II 111 1О О2 Таким образ мл, в процессе раболы устройства на реверсивный счетчик 3 посто нно подаютс  импульсы: на суммирующий вход - с младшего разр да стандартного регистра сдвига (коиичество за вок, поступивших на обслуживание), на вычитающий вход от формирсеател  7 (количествообслуженных за вок). Поэт1 му в любой момент времени в реверсивном счетчике 3 содержитс  информаци  о количестве за вок, наход щихс  в системе/ в зависимости от которого измен етс  интенсивность потока за вок генератора за вок. . Предлагаемое устройство позвси ет моделировать функционирование замкнутых и разомкнутых СМЭ. Оно можетработать с любыми входными потоками, а также позвол ет измен ть диапазон фиксации времени ожидани  в широких пределах за счет изменени  тактовой частоть генератора импульсов.II 111 1О O2 Thus, in the process of device rabbing, the pulses are continuously applied to the reversible counter 3: to the summing input - from the low-order bit of the standard shift register (the quantity of applications received for service) to the subtracting input from the formerseater 7 (number of served for wok). Therefore, at any moment in the reversible counter 3 there is information about the number of applications that are in the system / depending on which the flow rate of the application generator is changing. . The proposed device allows to simulate the functioning of closed and open SMEs. It can work with any input streams, and also allows varying the latch time range over a wide range due to a change in the clock frequency of the pulse generator.

Фиг.11

S a ftl iS, S a ftl iS,

кЫиУПл.1KYiUPl.1

ОТ Af. 7FROM AF. 7

2525

2626

.at

Ь.1L.1

0iit50iit5

.L.L

2828

втЬл1AT 1

0utA0utA

Claims (1)

УСТРОЙСТВО ДЛЯ МОДЕЛИРОВАНИЯ СИСТЕМ МАССОВОГО ОБСЛУЖИВАНИЯ, содержащее генератор импульсов, блок вывода, блок опроса, состоя- 'щий из R 5 -триггера, элемента ИЛИ, элемента задержки и группы элементов задержки, входы которых соединены с 6 -входом R5 -триггера, единичный вход которого через элемент задержки соединен с первым входом элемента ИЛИ, второй вход которого является входом сброса блока опроса, а выход элемента ИЛИ соединен с R-входом RS -триггера, формирователь сигнала разрешения обслуживания, состоящий из последовательно соединенных первого триггера, первого элемента И-НЕ, первого дифференцирующего элемента, первого расширителя импульсов и первого элемента ИЛИ, . последовательно соединенных второго триггера, второго элемента И-НЕ, второго дифференцирующего элемента и второго расширителя импульсов, выход которого подключен к другому входу первого элемента ИЛИ, выходы первого и, второго дифференцирующих элементов подключены соответственно к единичный входам первого и второго триггеров, другие входы элементов И-НЕ объединены и подключены к первому тактовому g выходу генератора импульсов, нулевой вход второго триггера является входом запуска устройства, выход первого элемента ИЛИ подаиочен к входам элементов задержки группы блока опроса, выходы первого и второго расширителей импульсов подключены соответственно к первому и второму входам блока вывода, блок сдвига, состоящий из регистра'сдвига, первой группы элементов И, первой группы элементов ИЛИ, первой группы элементов НЕ, второй группы элементов И, элемента ИЛИ, элемента НЕ, группы элементов задержки, второй и третьей группы элементов НЕ, третьей и четвертой групп элементов И, второй группы элементов ИЛИ, причем в блоке сдвига выходы элементов задерж ки группы соединены с соответствуюши< ми входами параллельного занесения ре. гистра сдвига, разрядные'выходы которого подключены соответственно к первым входам элементов И первой группы, входам элементов НЕ, второй группы и первым входам элементов И третьей группы, входы элементов НЕ третьей группы и первые входы элементов И третьей группы подключены к соответст-ι вующему входу элемента ИЛИ, вторые входы элементов И второй и третьей групSU 1088002 пы подключены к выходам соответствующих элементов НЕ второй и третьей групп, а выходы элементов И второй и третьей групп подключены к входам соответствующего элемента ИЛИ второй группы, выходы которых соединены с входами соответствующих элементов задержки групп, вторые входы элементовDEVICE FOR MODELING MASS SERVICE SYSTEMS, comprising a pulse generator, an output unit, a polling unit, consisting of an R 5 trigger, an OR element, a delay element and a group of delay elements, the inputs of which are connected to the 6 input of the R5 trigger, a single input which through the delay element is connected to the first input of the OR element, the second input of which is the reset input of the polling unit, and the output of the OR element is connected to the R-input of the RS-trigger, a service enable signal conditioner, consisting of series-connected Vågå trigger, a first AND-NO element, first differentiating element, a first expander member and a first pulse OR. connected in series to the second trigger, the second AND-NOT element, the second differentiating element and the second pulse extender, the output of which is connected to another input of the first OR element, the outputs of the first and second differentiating elements are connected respectively to the unit inputs of the first and second triggers, other inputs of AND elements -NOT combined and connected to the first clock output g of the pulse generator, the zero input of the second trigger is the input of the device’s start, the output of the first element OR is connected to the input I will give delay elements for the group of the polling unit, the outputs of the first and second pulse expanders are connected respectively to the first and second inputs of the output unit, the shift unit, consisting of the shift register, the first group of AND elements, the first group of OR elements, the first group of NOT elements, the second group of elements AND, an OR element, an NOT element, a group of delay elements, a second and third group of NOT elements, a third and fourth group of AND elements, a second group of OR elements, and in the shift block, the outputs of the delay elements of the group are connected to the corresponding etstvuyushi <E inputs parallel're entering. shift shift, whose bit outputs are connected respectively to the first inputs of AND elements of the first group, the inputs of NOT elements, the second group and the first inputs of AND elements of the third group, the inputs of the NOT elements of the third group and the first inputs of the AND elements of the third group are connected to the corresponding ι input OR element, the second inputs of the AND elements of the second and third groups of SU 1088002 are connected to the outputs of the corresponding elements NOT of the second and third groups, and the outputs of the AND elements of the second and third groups are connected to the inputs of the corresponding OR Ora group whose outputs are connected to inputs of respective delay elements of groups, the second inputs of elements И первой группы подключены к выходам соответствующего элемента задержки группы блока опроса, выход первого элеloseoos мента И первой группы соединен с первым входом элемента, ИЛИ, с входом первого элемента НЕ первой группы и вторым входом первого элемента ИЛИ первой группы, выходы элементов НЕ первой группы соединены с первыми входами соответствующих элементов И четвертой группы, выход К-го элемента И первой группы (К“2,η ) подключен к второму входу (К-1)-го элемента И четвертой группы, выход М—го элемента И первой группы (М = 2,щ\-1) подключен также к первому вкоду (М —1)—го элемента ИЛИ первой группы, второй вход М-го элемента ИЛИ первой группы - 4 к входу М-го .элемента НЕ первой группы, выход которого соединен с вторым входом М-го элемента Й четвертой группы, выход К-го элемента Й четвертой группы подключен к К-му входу элемента ИЛИ, выход которого соединен с входом элемента НЕ, подключенного выходом к нулевому входу первого триггера формирователя сигнала разрешения обслуживания и входу обслуженных заявок блока вывода, выход первого разряда регистра сдвига блока сдвига соединен с входом заявок, поставленных в очередь, блока вывода, выход последнего разряда регистра сдвига блока сдвига подключен к входу превышения времени ожидания блока вывода, второй тактовый выход генератора импульсов подключен к тактовому входу регистра сдвига блока сдвига, вход сдвига вправо которого соединен с выходом триггера блока опроса, от л и чающееся тем, что, с целью расширения класса моделирования систем путем моделирования замкнутых систем массового обслуживания с конечным числом источников заявок,оно дополнительно содержит генератор заявок,элемент запрета и реверсивный счетчик,вычитающий и суммирующий входы которого соединены соответственно с выходом второго расширителя импульсов формирователя сигнала разрешения обслуживания и выходом первого разряда регистра сдвига блока сдвига, вход последовательного занесения которого подключен к выходу генератора заявок, вход которого соединён с выходом элемента запрета, управляющий вход которого является управляющим входом' ус тройства, а информационный вход соединен с выходом реверсивного счетчбка.And the first group is connected to the outputs of the corresponding delay element of the group of the polling block, the output of the first element and the first group is connected to the first input of the element, OR, to the input of the first element NOT of the first group and the second input of the first element OR of the first group, the outputs of the elements of NOT the first group are connected with the first inputs of the corresponding elements AND of the fourth group, the output of the K-th element And the first group (K “2, η) is connected to the second input of the (K-1) -th element And the fourth group, the output of the M-th element And the first group (M = 2, u \ -1) is also connected e to the first input (M - 1) of the OR element of the first group, the second input of the Mth element OR of the first group - 4 to the input of the Mth element NOT of the first group, the output of which is connected to the second input of the Mth element of the fourth group, the output of the K-th element of the fourth group is connected to the K-th input of the OR element, the output of which is connected to the input of the element NOT connected to the zero input of the first trigger of the driver of the service enable signal and the input of the served requests of the output unit, the output of the first bit of the shift register block shear connected to I the house of applications placed in the queue of the output unit, the output of the last bit of the shift register of the shift unit is connected to the timeout input of the output unit, the second clock output of the pulse generator is connected to the clock input of the shift register of the shift unit, the right shift input of which is connected to the output of the polling unit trigger , characterized in that, in order to expand the class of modeling systems by modeling closed queuing systems with a finite number of sources of applications, it additionally contains a generator p applications, the prohibition element and the reverse counter, subtracting and summing the inputs of which are connected respectively to the output of the second pulse expander of the driver of the service enable signal and the output of the first bit of the shift register of the shift block, the input of which is sequentially connected to the output of the generator of applications, the input of which is connected to the output of the element prohibition, the control input of which is the control input of the device, and the information input is connected to the output of the reversible counter. 1 212
SU833548354A 1983-02-04 1983-02-04 Device for simulating queueing systems SU1088002A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833548354A SU1088002A1 (en) 1983-02-04 1983-02-04 Device for simulating queueing systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833548354A SU1088002A1 (en) 1983-02-04 1983-02-04 Device for simulating queueing systems

Publications (1)

Publication Number Publication Date
SU1088002A1 true SU1088002A1 (en) 1984-04-23

Family

ID=21048249

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833548354A SU1088002A1 (en) 1983-02-04 1983-02-04 Device for simulating queueing systems

Country Status (1)

Country Link
SU (1) SU1088002A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР Мз 477416, кл. Q-06 F 15/20, 1973. 2. Авторское свидетельство СССР № 579315, кл. Q 06 F 15/20, 1974 (прототип). *

Similar Documents

Publication Publication Date Title
JPS62180607A (en) Semiconductor integrated circuit
SU1088002A1 (en) Device for simulating queueing systems
US4423338A (en) Single shot multivibrator having reduced recovery time
SU452827A1 (en) Device for comparing binary numbers
SU1319043A1 (en) Device for simulating the queueing systems
SU1444892A1 (en) Programmable logic device
SU1196897A1 (en) Device for forming ordinal statistics
SU1453437A1 (en) Imitator of radio signals
SU962969A1 (en) Device for simulating servicing process of requests with different priority
SU1083188A1 (en) Random event arrival generator
SU1083364A1 (en) Threshold element
SU1439587A1 (en) Priority device
SU951402A1 (en) Data shift device
SU1275459A1 (en) Device for simulating the queueing systems
SU1430946A1 (en) Digital generator of periodic functions
SU932487A1 (en) Number ordering device
SU1388886A1 (en) Device for simulating queueing systems
SU750486A1 (en) Difference computing device
SU1702387A1 (en) Communication system simulating device
SU1145345A1 (en) Model of queueing system
SU1709334A1 (en) Data acquisition and transmission system simulator
SU1275461A1 (en) Device for simulating the queueing systems
SU1562911A1 (en) Priority device
SU769631A1 (en) Storage cell for shift register
SU1636996A1 (en) Random field generator