SU1241251A1 - Device for simulating queueing systems - Google Patents
Device for simulating queueing systems Download PDFInfo
- Publication number
- SU1241251A1 SU1241251A1 SU843696310A SU3696310A SU1241251A1 SU 1241251 A1 SU1241251 A1 SU 1241251A1 SU 843696310 A SU843696310 A SU 843696310A SU 3696310 A SU3696310 A SU 3696310A SU 1241251 A1 SU1241251 A1 SU 1241251A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- block
- elements
- inputs
- Prior art date
Links
Landscapes
- Bus Control (AREA)
Abstract
Изобретение относитс к области вычислительной техники и может быть ислользовано дл моделировани процессов в системах массового обслуживани . Целью изобретени вл етс расширение функциональных воз - можностей устройства за сче т моделировани приоритетных многоканальных систем с относительным приоритетом. Структурна схема устройства содержит К идентичных каналов моделировани очереди, состо щих из блока сдвига , реверсивного счетчика, управл емого генератора импульсов, триггера , блока вывода, элементов И, а также генератор тактовых импульсов, блок опроса, формирователь сигналов раз - решени обслуживани , блок приоритетов , элемент ШЖ, дополнительный блок вывода. Информаци о количестве за вок , наход щихс в любой момент времени в системе, посто нно присутствует в реверсивных счетчиках дл каж- дои группы источников за вок. УСТРОЙСТВО позвол ет моделировать функционирование замкнутых и разомкнутых СМО с разнотипными группами источников за вок, обслуживаемых в соответствии с внесистемными относительными приоритетами . 5 ил. toThe invention relates to the field of computer technology and can be used to simulate processes in queuing systems. The aim of the invention is to expand the functional capabilities of the device for simulating priority multichannel systems with relative priority. The block diagram of the device contains K identical queue modeling channels, consisting of a shift block, a reversible counter, a controlled pulse generator, a trigger, an output block, AND elements, as well as a clock generator, a polling unit, a service time resolver, and a priority block. , element ShZh, additional output unit. Information about the number of applications that are at any time in the system is constantly present in the reverse meters for each group of sources of the application. The DEVICE allows you to simulate the operation of closed and open QS with heterogeneous groups of sources of orders serviced in accordance with non-systemic relative priorities. 5 il. to
Description
г 12412g 12412
Изобретение относитс к вычислиельной технике и может быть использоано дл моделировани процессов в . истемах массового обслуживани The invention relates to computing technology and can be used to model processes. queuing systems
Цель изобретени - расширение 5 ункциональных возможностей устройтва путем моделировани приоритетых многоканальных систем с относиельным приоритетом.The purpose of the invention is to expand the 5 functional capabilities of the device by simulating the priorities of multi-channel systems with relative priority.
На фиг, 1 призедена структурна SO схема устройства; на фиг, 2 - схема блока опроса; на фиг. 3 - схема блока приоритетов; на фиг, 4 - схема формировател сигнала разрешени опоса i на фиг, 5 - схема блока сдвига. 5In FIG. 1, a structured SO device diagram is presented; Fig 2 is a diagram of a polling unit; in fig. 3 is a priority block diagram; Fig. 4 is a diagram of a resolver shaper of the opos i; Fig. 5 is a diagram of a shift block. five
Структурна схема устройства (фиг, 1) содержит К идентичных каналов моделировани очереди, состо ш 1х из блока 1 сдвига, реверсивного счетчика 4, блока 5 вывода, второго 6, 20 третьего 7 и первого 8 элементов И, а также генератор 9 тактовьк импульсов , блок 10 опроса,, формирователь 11 сигналов разрешени обслуживани , блок 12 приоритетов, первый 13 и вто- 25 рой 14 элементы ИЛИ и дополнительный блок 15 вывода.The block diagram of the device (FIG. 1) contains K identical queue modeling channels, W 1x consisting of a shift block 1, a reversible counter 4, a block 5 of the output, a second 6, 20 third 7 and the first 8 And elements, as well as a generator 9 of pulses polling unit 10, the service resolution enable generator 11, priority unit 12, first 13 and second 25 OR elements, and additional output unit 15.
На фиг, 1 также обозначены запускающий вход 16 устройства, установочный вход 17 устройства и выхо- 30 ды 18,FIG. 1 also indicates the triggering input 16 of the device, the installation input 17 of the device and the outputs 30,
Блок 10 опроса (фиг, 2) имеет триггер 19, элемент 20 задержки, элемент ИЛИ 21 и элементы 22 задержек,The polling unit 10 (FIG. 2) has a trigger 19, a delay element 20, an OR element 21, and a delay element 22,
Блок 12 приоритетов (фиг, 3) об- 35 разует элементы И 23, элементы ИЛИ 24, и элементы НЕ 25.The priority block 12 (FIG. 3) forms the elements AND 23, the elements OR 24, and the elements NOT 25.
Формирователь 11 сигналов разрешени обслуживани (фиг. 4) содержит элемент ИЛИ 26, триггеры 27 и 40 28, элементы И-НЕ 29 и 30, дифферен- цируюшре элементы 31 и 32 и расширители 33 и 34 импульсов. IShaper 11 of the service enable signals (Fig. 4) contains the OR element 26, the triggers 27 and 40 28, the AND-HEY elements 29 and 30, the differentiating elements 31 and 32, and the expanders 33 and 34 pulses. I
Блок 1 сдвига (фиг, 5) состоит изThe shift unit 1 (FIG. 5) consists of
узлов 35-37 и элемента ИЛИ-НЕ 38., Узел 35 выполн ет функцию гашени 1 в приоритетном разр де регистра сдвига без изменени состо ни ос тальньпс разр дов. Узел 36 представл ет стандартный двунаправленный ре- SO гистр сдвига с последовательньм (если на входе VI поддерживаетс О, а йа V 2 - 1)или параллельным ( на обоих вводах установлена 1) нанесением информации. Узел 37 выполн ет 55 функцию определени приоритетного разр да стандартного регистра. Блок сдвига содержит также элементы И 39,nodes 35-37 and the element OR NOT 38. Node 35 performs the function of quenching 1 in the priority bit of the shift register without changing the state of the rest of the bits. Node 36 is a standard bi-directional shift shift register with serial (if O is supported at input VI, and V 2 - 1 is supported) or parallel (1 is installed on both inputs) by applying information. Node 37 performs 55 the function of determining the priority bit of a standard register. The shift block also contains elements AND 39,
31 . 1 31. one
элементы КШ 1 40, элементы НЕ 41 иelements KSh 1 40, elements NOT 41 and
элементы 42 задержки.delay elements 42.
Управл емый генератор 3 импульсов представл ет собой преобразователь код-частота. Количество управл ющих входов преобразовател определ етс разр дност ьго реверсивного счетчика 2The controlled pulse generator 3 is a code-to-frequency converter. The number of control inputs of the converter is determined by the resolution of the reversing counter 2
Второй вход блока 5 вывода - это вход приема сигналов с выхода блока сдвига, т.е. вход рриема за вок, поступающих на обслуживание в результате наличи очереди за вок и отсутстви сигнала об окончании обслуживани ранее поступившей за вки, поставленных в очередь на обслуживание Первый вход блока 5 вл етс входом приема сигналов с выхода блока 1 сдвига о превышении фиксированного предела времени пребывани за вки в очере.ди.The second input of output unit 5 is the input of receiving signals from the output of the shift unit, i.e. input of the application for service due to the presence of a queue for the application and the absence of a signal about the end of service of the previously received application queued for service The first input of unit 5 is the input of receiving signals from the output of the offset unit 1 for exceeding the fixed time limit for vki in ocher.di.
Функц аональное назначение. входов (и соответствующих вы.ходов). общего блока 15 вывода следующее; вход CHI- налов со 2-го выхода формировател I1 об отсутствии за вок в очеред х всех групп источников за вок; вход сигнапов с 3-го выхода фор1 шровате- л 11 о моментах окончани обслу- зкивани , вход сигналов с выхода элемента ИЛИ 13, т.е. вход за вок, подаваемых на обслуживание,Functional assignment. inputs (and the corresponding output). common block 15 output following; CHI input from the 2nd output of the coder I1 about the absence of a supply in the queues of all groups of sources of the supply; the input of the signals from the 3rd output of the shredder 11 about the end of the service, the input of the signals from the output of the OR 13 element, i.e. entrance fee for service,
Устройство работает следующим образом .The device works as follows.
С выхода управл емого генератора 3 импульсов на вход блока 1 сдвига (фиг,, 1) поступают импульсы, ймити- руюпр1е входной поток за вок дл первого канала, { также этот процесс про- исходит и дл других каналов, посколку они идентичны .по структуре и имеют один принцип работы). По положительному перепаду тактового импульса от генератора 9, поступающему на вхо блока 1 сдвига, в этом блоке (в ре- г истре) выполн етс режим последова- /гельного занесени 1 со сдвигом вправо,так как в начальный момент работы устройства на входе VI находитс уровень О (блок 10 опроса выдает О на первьш вход элемента 7, на втором вхо.де которого имеетс О) , С.1-го разр да триггера 1 поступае на вход реверсивного счетчика 2, регистрирующего прибывшую за вку., Б определ;енный момент времени на запус вход 16 устройства (фиг, 1} приходит сигнал о начале обслуживани за .вок (либо сигнал об окончанииFrom the output of the controlled generator 3 pulses to the input of the shift unit 1 (fig ,, 1) there are pulses arriving, the input flow is quenched for the first channel, {this process also takes place for other channels, because they are identical. and have one principle of operation). According to the positive differential of the clock pulse from the generator 9, arriving at the input of the shift block 1, in this block (in the register) the sequential / gel recording mode 1 is shifted to the right, since at the initial moment of the device operation at the input VI it is level O (polling block 10 gives O to the first input of element 7, on the second inlet of which there is O), C.1-th bit of trigger 1 is fed to the input of the reversing counter 2 that registers the incoming charge, B defined; the time point to start the input 16 of the device (FIG, 1} a signal comes to start le service for .vok (or signal the end
. -1. -one
обслуживани предыдущей за гки и начале обслуживани следующей), Этот сигнал запоминаетс в форм троватёлеthe service of the previous one and the beginning of the service of the next one) This signal is stored in the form
11сигналов разрешени обслуживани .11 service enable signals.
По приходу очередного тактового им- пульса на вход формировател 11 этот сигнал выходит из него и запускает блок 10 опроса, который подает со своих информационных выходов сигналы опроса на входы блоков 1 сдвига, С выходов блоков 1 сдвига поступают 1 (за вки) и О (если очередь пуста ) на соответствующие входы блокаUpon the arrival of the next clock pulse to the input of the imaging unit 11, this signal leaves it and starts polling block 10, which sends polling signals to the inputs of shift blocks 1 from its information outputs, 1 (applications) and O (1 if the queue is empty) to the corresponding inputs of the block
12приоритетов, который выбирает12 priorities that chooses
на обслуживание наиболее приоритет- кую за вку (приоритетным входом блока 12 вл етс первый по пор дку код, на который приходит 1), Сигналы с выходов блоков 1 сдвига также поступают на входы элемента ИЛИ 14 который в случае отсутстви за вок во всех очеред х групп источников выдает 1 в формирователь. 11 сигналов разрешени обслуживани . Формирователь 1 1 в следую1чем такте запускает блок 10 опроса, в результате чего происходит повторньй опрос блоков 1 сдвига. С выходов блока 12 приоритетов группа сигналов (либо все О либо одна 1 и остальные О) посту пает на соответствующие входы элемента 13, который выдает 1 (за вку) и О на блок 15 вывода (на обслуживание ) . Эта группа сигналов от оло ка 12 приоритетов передаетс соот- ветс твенно на входы триггеров 4 и вхды элементов И 7. В этом такте блок 10 опроса вьщает на входы 1 блоков 1 сдвига 1 в результате срабатывани триггера 19. Элементы И 7 nponyc кают эту 1 (сигнал управлени ) на вход 4 (фиг. 1) того блока 1 сдвига, за вка от которого выбрана на обслу- хшвание, т.е. при наличии на втором входе соответствующего элемента И 7 1. В противном случае на входах 1 блоков 1 сдвига сохран етс О. Элементы И 7 необходимы в том случае , когда дл тех блоков 1 сдвига, за вки от которых не выбраны на об- служивание, не осуществл етс параллельного занесени информации в регистр из узла 37, а следовательно, не происходит гашени приоритетного разр да, с которого 1 выдаетс на обслуживание.the service is of the highest priority (the priority input of the block 12 is the first code in the order that arrives 1), the signals from the outputs of the shift blocks 1 are also fed to the inputs of the element OR 14 which, in the absence of a request in all queues groups of sources gives 1 to the former. 11 service enable signals. The shaper 1 1 in the next cycle starts the polling block 10, as a result of which a repeated poll of the 1 shift blocks occurs. From the outputs of block 12 priorities, a group of signals (either all O or one 1 and the remaining O) goes to the corresponding inputs of element 13, which issues 1 (money) and O to output block 15 (to service). This group of signals from priority 12 is transmitted, respectively, to the inputs of the flip-flops 4 and inputs of the elements 7. In this cycle, the polling unit 10 drives the inputs 1 of the 1 blocks of shift 1 as a result of the trigger 19. The elements of the 7 nponyc are 1 (control signal) to input 4 (Fig. 1) of that shift unit 1, the application from which is selected for service, i.e. if there is a corresponding element AND 7 at the second input. Otherwise, O is kept at the inputs 1 of the 1 shift blocks. And the 7 elements are necessary in the case when for the shift blocks 1, applications for which are not selected for service, the information is not recorded in parallel into the register from node 37, and therefore, the priority bit from which 1 is issued for servicing does not go off.
Триггеры 4 введены в устройство дл сохранени сигналов, поступаюпщхTriggers 4 are inserted into the device to store the signals coming in
51 51
с выходов блока 12 приоритетов. При наличии, сигнала об окончании обслуживани - за вки и начала обслуживани следующей на запускающем входе 16 устройства элемент И 6 пропускает - сохран емый сигнал О и 1 на второй вход реверсивного счетчика 2. Дл той группы источников, за вка которых бьша обслзгжена, в реверсивном счетчике 2 выполн етс режим вычитани , так как в соответствующем триггере 4 сохран лась 1. Сброс этого триггера осуществл етс по обратной св зи. Ifrom the outputs of the block 12 priorities. If there is, a signal about the end of service - the application and the start of service of the next element And 6 on the triggering input 16 of the device passes - the stored signal O and 1 to the second input of the reversible counter 2. For the group of sources whose service was serviced, in reverse counter 2 performs the subtraction mode, as in the corresponding trigger 4 it was kept 1. Reset of this trigger is carried out by feedback. I
Таким образом, информаци о количестве за вок, наход щихс в любой момент времени в системе, посто нно присутствует в реверсивных счетчиках 2 дл каждой группы источников за вок. Дл замкнутых ОЮ эта информаци поступает через элементы И 8 на входы генераторов 3 импульсов и производит их настройку. Следовательно, устройство позвол ет моделировать функционирование замкнутых и разомкнутых СМО с разнотипными группами источников за вок, обслз ткиваемых в соответ- СТВ1-Ш с внесистемными относительными приоритетами.Thus, information about the number of applications that are at any time in the system is constantly present in the reversible counters 2 for each group of sources of the application. For closed OY, this information enters through the elements of AND 8 to the inputs of the generators of the 3 pulses and sets them up. Consequently, the device allows simulating the functioning of closed and open QS with different types of source groups of orders that are assigned according to STB1-W with non-systemic relative priorities.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843696310A SU1241251A1 (en) | 1984-01-30 | 1984-01-30 | Device for simulating queueing systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843696310A SU1241251A1 (en) | 1984-01-30 | 1984-01-30 | Device for simulating queueing systems |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1241251A1 true SU1241251A1 (en) | 1986-06-30 |
Family
ID=21101899
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843696310A SU1241251A1 (en) | 1984-01-30 | 1984-01-30 | Device for simulating queueing systems |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1241251A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2718969C1 (en) * | 2019-07-08 | 2020-04-15 | ФЕДЕРАЛЬНОЕ ГОСУДАРСТВЕННОЕ КАЗЕННОЕ ВОЕННОЕ ОБРАЗОВАТЕЛЬНОЕ УЧРЕЖДЕНИЕ ВЫСШЕГО ОБРАЗОВАНИЯ "Военная академия Ракетных войск стратегического назначения имени Петра Великого" МИНИСТЕРСТВА ОБОРОНЫ РОССИЙСКОЙ ФЕДЕРАЦИИ | Device for simulation of process of control system functioning |
-
1984
- 1984-01-30 SU SU843696310A patent/SU1241251A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР №. 519716, кл. G 06 F 15/20, 1975 Авторское свидетельство СССР № 1088002, кл. G 06 F 15/2,0, 1982. * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2718969C1 (en) * | 2019-07-08 | 2020-04-15 | ФЕДЕРАЛЬНОЕ ГОСУДАРСТВЕННОЕ КАЗЕННОЕ ВОЕННОЕ ОБРАЗОВАТЕЛЬНОЕ УЧРЕЖДЕНИЕ ВЫСШЕГО ОБРАЗОВАНИЯ "Военная академия Ракетных войск стратегического назначения имени Петра Великого" МИНИСТЕРСТВА ОБОРОНЫ РОССИЙСКОЙ ФЕДЕРАЦИИ | Device for simulation of process of control system functioning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1241251A1 (en) | Device for simulating queueing systems | |
SU1084794A1 (en) | Device for servicing requests according to arrival order | |
SU813429A1 (en) | Device for control of digital integrating structure | |
SU1088004A1 (en) | Device for simulating markovian signal arrivals | |
SU1003066A1 (en) | Device for exchange of information between digital computer and peripheral device | |
SU1716534A1 (en) | For simulation of queueing system | |
SU970371A1 (en) | Multi-channel dynamic priority device | |
SU1319043A1 (en) | Device for simulating the queueing systems | |
SU997024A1 (en) | Information input device | |
SU1580392A1 (en) | Device for modeling queueing systems | |
SU1274126A1 (en) | Variable pulse sequence generator | |
SU1683030A1 (en) | Queuing system simulator | |
SU769549A1 (en) | Device for determining differential extremum value probability distribution law | |
SU1552198A1 (en) | Device for modeling data transmission systems | |
SU905813A1 (en) | Decoder | |
SU1137477A2 (en) | Device for simulating markov signal flow | |
SU855667A1 (en) | Device for simulating mass service systems | |
SU1057926A1 (en) | Multichannel program-time unit | |
SU1267411A1 (en) | Device for differentiating pulse-frequency signals | |
SU1188743A1 (en) | Device for simulating checked object | |
SU1525889A1 (en) | Device for monitoring pulse sequence | |
SU1580563A1 (en) | Device for checking equal-weight code | |
SU1381523A2 (en) | Multichannel device for interfacing data sources with computer | |
SU1140122A1 (en) | Multichannel device for servicing requests in computer system | |
SU1015496A1 (en) | Switching device |