SU1288711A1 - Device for simulating process for servicing requests - Google Patents
Device for simulating process for servicing requests Download PDFInfo
- Publication number
- SU1288711A1 SU1288711A1 SU853891397A SU3891397A SU1288711A1 SU 1288711 A1 SU1288711 A1 SU 1288711A1 SU 853891397 A SU853891397 A SU 853891397A SU 3891397 A SU3891397 A SU 3891397A SU 1288711 A1 SU1288711 A1 SU 1288711A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- prohibition
- priority
- elements
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 4
- 230000002441 reversible effect Effects 0.000 claims abstract description 11
- 238000000926 separation method Methods 0.000 claims abstract description 3
- 238000009434 installation Methods 0.000 claims 1
- ZOXJGFHDIHLPTG-UHFFFAOYSA-N Boron Chemical compound [B] ZOXJGFHDIHLPTG-UHFFFAOYSA-N 0.000 description 1
- 235000016936 Dendrocalamus strictus Nutrition 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 229910052796 boron Inorganic materials 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000001208 nuclear magnetic resonance pulse sequence Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Landscapes
- Bus Control (AREA)
Abstract
Изобретение относитс к специализированным средствам вычислительной техники и предназначено дл моделировани процесса обслуживани одним прибором двух потоков за вок с различными приоритетами; может быть использовано в устройствах, моделирующих работу систем массового обслуживани . Целью изобретени вл етс расширение функциональных возможностей устройства за счет воспроизведени режима относительного приоритета в обслуживании разноприо- ритетных за вок. Устройство содержит вход за вок высокого приоритета, вход за вок низкого приоритета, второй и четвертый элементы запрета, первый и второй реверсивные счетчики , первьй и второй элементы ИЛИ,- четвертый и п тый элементы И, третий элемент запрета, первый и второй элементы И, третий элемент ИЛИ, первый элемент запрета, первый и второй триггеры, четвертьм элемент ИЛИ, третий элемент И, разделительньй диод, первый и второй переключатели, первый и второй генераторы импульсов со случайным интервалом следовани . 1 ил. (Л ю 00 00 The invention relates to specialized computer facilities and is intended to simulate the process of servicing two flows of applications with different priorities by one device; can be used in devices simulating the operation of queuing systems. The aim of the invention is to expand the functionality of the device by reproducing the mode of relative priority in servicing multi-priority bids. The device contains an input for high priority wok, an input for low priority wok, the second and fourth elements of the prohibition, the first and second reversible counters, the first and second elements OR, the fourth and fifth elements And, the third element of the ban, the first and second elements And, the third element OR, the first element of the prohibition, the first and second triggers, the quarter element OR, the third element AND, the separation diode, the first and second switches, the first and second impulse generators with a random following interval. 1 il. (Lu 00 00
Description
11281128
Изобретение относитс к специализированным средствам вычислительной техники и предназначено дл моделировани процесса обслуживани одним прибором двух потоков за вок с раз- личными приоритетами и может быть использовано в устройствах, моделирующих работу систем массового обслуживани .The invention relates to specialized computer aids and is intended to simulate the process of servicing two flows of orders with different priorities by one device and can be used in devices simulating the operation of queuing systems.
Цель изобретени - расширение функциональных возможностей устройства за счет воспроизведени режима относительного приоритета в обслуживании разноприоритетных за вок.The purpose of the invention is to expand the functionality of the device by reproducing the mode of relative priority in servicing multi-priority orders.
На чертеже изображена структурна схема устройства.The drawing shows a block diagram of the device.
Устройство содержит вход 1 за вок высокого приоритета, вход 2 за вок низкого приоритета, второй 3 и чет- вертый 4 элементы запрета, первый 5 и второй 6 реверсивные счетчики, первый 7 и второй 8 элементы ИЛИ, четвертый 9 и п тый 10 элементы И, третий элемент 11 запрета, первый 12 и второй 13 элементы И, третий элемент ИЛИ 14, первый 15 элемент запрета, первь1й 16 и второй 17 триггеры, четвертый элемент ИЛИ 18, третий элемент И 19, разделительный диод 20, пер- вый 21 и второй 22 переключатели, первый 23 и второй 24 генераторы им- пульсов со случайным интервалом следовани .The device contains input 1 for a high priority wok, input 2 for a low priority wok, the second 3 and the fourth 4 prohibition elements, the first 5 and second 6 reversible counters, the first 7 and second 8 OR elements, the fourth 9 and fifth 5 AND elements , the third element 11 of the prohibition, the first 12 and the second 13 elements AND, the third element OR 14, the first 15 elements of the prohibition, the first 16 and the second 17 triggers, the fourth element OR 18, the third element And 19, the separation diode 20, the first 21 and the second 22 switches, the first 23 and the second 24 pulse generators with a random interval followed .
Вербальной моделью работы устрой- ства вл етс следующа .The verbal model of the device is the following.
Два случайных потока разноприоритетных за вок обслуживаютс одним прибором. При зан тости обслуживающего прибора за вки каждого из потоков станов тс в свою очередь, ограничиваемую по длине. За вки низкого приоритета принимаютс к обслужив анию, если нет очереди за вок высокого приоритета . - Two random flows of different priority applications are serviced by one device. When the servicing device is busy, the applications of each of the streams become, in turn, limited in length. Low priority requests are accepted for service if there is no high priority queue. -
При моделировании абсолютно- о приоритета в дисциплине обслуживани поступивша за вка высокого приоритета прерывает обслуживание за вки низкого приоритета, принимаетс к обслуживанию , после которого, если нет очереди за вок высокого приоритета, возобновл етс обслуживание за вки низкого приоритета.When modeling an absolute priority in the service discipline, a high priority application interrupts service of a low priority application, is accepted for service, after which, if there is no high priority queue, low priority service is resumed.
При моделировании относительного приоритета в дисциплине обслуживани поступивша за вка выского приоритета принимаетс к обслуживанию только после освобождени обслуживающего при12When modeling the relative priority in the discipline of service, an application for high priority is accepted for service only after the release of the service provider.
бора независимо от того. За вка какого приоритета обслуживалась.boron no matter what. For what priority priority was served.
Потоки за вок на обслуживание на входах 1 и 2 представл ют случайные импульсные последовательности, интервалы между которыми распределены по определенным (разным или одним и тем же) законам.The service request flows at inputs 1 and 2 are random pulse sequences, the intervals between which are distributed according to certain (different or the same) laws.
Моделью обслуживающего прибора вл ютс генера-торы 23 и 24. Закон распределени случайных импульсов на их выходах один и тот же, так как они моделируют один и тот же прибор. Временной интервал от момента запуска генераторов до по влени импульса на их выходе случаен и распределен по прин тому закону обслуживани .The model of the servicing device is the generators 23 and 24. The law of distribution of random pulses at their outputs is the same, since they simulate the same device. The time interval from the moment of launching the generators to the appearance of a pulse at their output is random and is distributed according to the accepted law of service.
Блоки 1, 3, 5, 7, 9 и блоки 2, 4, 6, 8, 10 моделируют очередь за вок соответственно высокого и низкого приоритета и ее ограничени по длинеBlocks 1, 3, 5, 7, 9 and blocks 2, 4, 6, 8, 10 simulate a queue of requests of high and low priority, respectively, and its length limit
При разомкнутых переключател х 21 и 22 моделируетс режим абсолютного приоритета в обслуживании за вок, а при замкнутых переключател х - режим относительного приоритета в обслуживании за вок.With open switches 21 and 22, the absolute priority mode for servicing a request is modeled, and with closed switches, a relative priority mode in servicing a request is modeled.
Устройство работает следующим образом .The device works as follows.
В исходном состо нии в реверсивных счетчиках 5 и 6 записан нуль, благодар чему открыты элементы запрета 3, 4 и 11. Триггеры 16 и 17 установлены в положение, при котором имеютс напр жени на соответствующих входах элементов И 12 и 13. При этом элемент 15 запрета открыт по управл ющему входу. В дальнейшем работа устройства во всех режимах происходит автоматически.In the initial state, in the reversible counters 5 and 6 zero is written, so that prohibition elements 3, 4 and 11 are opened. Triggers 16 and 17 are set to a position where there are voltages on the corresponding inputs of elements And 12 and 13. Herewith element 15 prohibition is open at the control input. In the future, the operation of the device in all modes occurs automatically.
В режиме абсолютного приоритета (переключатели 21 и 22 разомкнуты) за вка низкого приоритета с входа 2 через открытый элемент 4 запрета поступает на суммирующий вход счетчика 6. На входе элемента ИЛИ 8 по вл етс напр жение, которое через от- крытьм элемент 11 запрета, элемент И 13, элемент 15 запрета, диод 20 запускает генератор 24 импульсов. При этом триггер 16 опрокидываетс и закрывает элемент И 13 по первому входу. За в ки низкого приоритета., поступившие в момент зан тости обслуживающего прибора став тс в очередь увеличива содержимое реверсивного счетчика. При заполнении реверсивного счетчИка 6 на выходе элемен312In the absolute priority mode (the switches 21 and 22 are open), the low priority application from input 2 through the open prohibition element 4 is fed to the summing input of counter 6. At the input of the OR 8 element, there is a voltage that, through the open of the prohibition element 11, element And 13, the element 15 of the ban, the diode 20 starts the generator 24 pulses. In doing so, the trigger 16 overturns and closes the element AND 13 at the first entrance. Low priority bids, which arrived at the moment when the servicing device is busy, are queued to increase the contents of the reversible counter. When filling the reversible counter 6 at the output of the element312
та И 10 по вл етс сигнал, закрывающий элемент 4 запрета по управл ющему входу, ограничива длину очереди. После окончани обслуживани сигнал с выхода генератора 24 уменьшает длину очереди на единицу, списыва ее из счетчика 6 по вычитающему входу . Триггер 16 устанавливаетс в исходное состо ние и, если имеетс очередь в счетчике 6, то сигналом с выхода элемента ИЛИ 8 вновь запускаетс генератор 24 и работа устройства повтор етс .M & 10 appears a signal closing the prohibition element 4 at the control input, limiting the queue length. After the termination of the service, the signal from the output of the generator 24 reduces the queue length by one, removing it from counter 6 on the subtracting input. The trigger 16 is reset and, if there is a queue in the counter 6, then the signal from the output of the element OR 8 again starts the generator 24 and the operation of the device is repeated.
Обслуживание за вок высокого приоритета при отсутствий за вок низкого приоритета происходит аналогично с образованием очереди и ее ограничением с помощью блоков 3, 5, 7 и 9. Сигнал С(элемента ИЛИ 7 через открытый элемент И 12 запускаетс в гене- ратор 23. При этом закрываетс элемент 11 запрета по управл ющему входу , преп тству поступлению на обслуживание за вок низкого приоритета до окончани обслуживани всех за - вок высокого приоритета из очереди, а также опрокидываетс триггер 17, снима напр жение с входа элемента И 12 .на врем обслуживани высокоприоритетной за вки и.закрыва по управ л ющему входу элемент 15 запрета. Закрытие элементов 11 и 15 запрета необходимо, так как при отсутствии очереди высокоприоритетных за вок за вка низкого приоритета могла бы пройти на запуск генератора 24 несмотр на то, что за вка высокого приоритета еще обслуживаетс . Поэтому элемент 11 запрета закрываетс на врем существовани очереди высо- коприоритетных за вок, а элемент 15 запрета закрываетс на врем обслуживани высокоприоритетной за вки.Servicing a high priority quota in the absence of a low priority quota occurs similarly with the formation of a queue and its limitation using blocks 3, 5, 7 and 9. Signal C (element OR 7 through the open element And 12 is launched into generator 23. At the same time bans control element 11 is closed at the control input, preventing a low priority from entering the service before the end of the service of all high priority bids from the queue, and trigger 17 tilts, relieving the voltage from the input of the element 12. An high priority application and a closure at the control input of the prohibition element 15. Closing the prohibition elements 11 and 15 is necessary because, in the absence of a high priority queue, the low priority application could go to the generator 24 start up, despite the fact that the high priority is still being serviced. Therefore, the prohibition element 11 is closed for the duration of the queue of high-priority applications, and the prohibition element 15 is closed for the service time of the high-priority application.
После окончани обслуживани высокоприоритетной за вки сигнал с выхо- да генератора 23 уменьшает очередь в реверсивном счетчике 3 и переводит триггер 17 в исходное состо ние, от- крьгоа элементы И 12 и запрета 15, Если имеетс очередь в счетчике 5, то сигнал с выхода элемента ИЛИ 7 снова запускает генератор 23 и работа устройства повтор етс .After the end of high-priority service, the signal from the output of generator 23 reduces the queue in the reversible counter 3 and sets the trigger 17 to the initial state, open elements And 12 and prohibition 15, If there is a queue in the counter 5, the signal from the output of the element OR 7 restarts generator 23 and the operation of the device is repeated.
Если же очереди высокоприоритетных за вок отсутствует, то на обслу- живание поступает за вка низкого приоритета .If there are no high-priority queues, then the service is received for a low priority.
За вка высокого приоритета, поступивша в момент обслуживани за вкиApplication of high priority, received at the time of service applications
1414
низкого приоритета, с входа 1 через элемент 3 запрета, реверсивный счетчик 5, элемент ИЛИ 7 и элемент И 12 запускает генератор 23, опрокидывает триггер 17, закрыва элемент И 12 и элемент 15 запрета на врем обслуживани высокоприоритетной за вки, и устанавливает генератор 24 в исходно состо ние, имитиру прерывание обслу . живани за вки низкого приоритета. После по влени сигнала на выходе генератора 23 содержимое счетчика 5 уменьшаетс на единицу, триггер 17 устанавливаетс в исходное состо ние одновременно сигнал с выхода генератора 23 через открытьй по первому входу от триггера 16 элемент И,запускаетс генератор 24, имитиру повторное обслуживание за вки низкого приоритета. Она обслуживаетс генератором 24, если нет в очереди за вок высокого приоритета.low priority from input 1 through prohibition element 3, reversible counter 5, element OR 7 and element 12 triggers generator 23, triggers trigger 17, closing element 12 and element 15 of prohibition on service time of high priority, and sets generator 24 the initial state, imitating the interruption of the service. low priority applications. After the signal appears at the output of generator 23, the contents of counter 5 decrease by one, the trigger 17 is reset to the initial state simultaneously the signal from the output of generator 23 through the first input from trigger 16 opens element I, and the generator 24 is started, simulating repeated maintenance of a low priority application . It is served by generator 24 if it is not in the queue for high priority wok.
После окончани обслуживани всех за вок высокого приоритета и после них за вок низкого приоритета схема приходит в исходное состо ние. В режиме относительного приоритета (переключатели 21 и 22 замкнуты), если первой поступила за вка высокого приоритета, то ее обслуживание ничем не отличаетс от обслулотвани в предыдущем режиме.After the end of the service of all high priority requests and after them of low priority requests, the circuit returns to its initial state. In relative priority mode (switches 21 and 22 are closed), if the first to receive a high-priority application, then its service is no different from the service in the previous mode.
Обслуживание за вок низкого приоритета , если нет за вок высокого приоритета , так же аналогично предыдущему режиму.Servicing a low priority wok, if not a high priority wok, is similar to the previous mode.
Отличием работы устройства в этом режиме от режима абсолютного приоритета вл етс следующее.The difference between the operation of the device in this mode and the absolute priority mode is the following.
При поступлении на обслуживание сначала за вки низкого приоритета, а до окончани ее обслуживани за вки высокого приоритета, эта за вка высокого приоритета к обслуживанию не принимаетс до окончани обслуживани за вки низкого приоритета. Это обеспечиваетс тем, что сигнал с вы-. хода первого элемента 15 запрета одновременно через второй переключатель опрокидывает триггер 17, снима напр жение с входа элемента И 12 и тем самым преп тству поступлению за вки высокого приоритета на обслуживающий прибор - генератор 23, до окончани обслуживани за вки низкого приоритета.When entering into service, first a low priority application, and before the end of its service, a high priority application, this high priority application is not accepted for service until the end of the service, a low priority application. This is ensured by the fact that the signal from you-. the stroke of the first prohibition element 15 simultaneously tilts the trigger 17 through the second switch, removing the voltage from the input element I 12 and thereby preventing the receipt of a high priority application to the service device - generator 23, until the end of the service of the low priority application.
После окончани ее обслуживани сигнал с выхода генератора 24 одно5128After the end of its service, the signal from the output of the generator 24 one 5128
временно через первый переключатель 21 приводит триггер 17 в исходное положение.temporarily through the first switch 21 causes the trigger 17 to its original position.
Таким образом, устройство позвол - ет моделировать обслуживание за вок .высокого приоритета, обслуживание за вок низкого приоритета, прерывание обслуживани за вок низкого приоритеThus, the device allows you to simulate the service of high priority priority, low priority priority service, low priority priority service interruption.
та при поступлении зл вок высокого приоритета при абсолютном приоритете обслуживани и возобновление обслуживани прерванной за вки низкого приоритета , также организацию обслуживаwhen receiving a high priority malware with an absolute priority of service and the resumption of service of an interrupted low priority application, also the organization of service
НИН разноприоритетных за вок с отно- сительным приоритетом в обслуживании Кроме этого, в устройстве имитируетс ограниченна очередь по обоим nq- токам за вок.NIN of multi-priority orders with relative priority in service. In addition, the device simulates a limited queue for both nq-current orders.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853891397A SU1288711A1 (en) | 1985-04-23 | 1985-04-23 | Device for simulating process for servicing requests |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853891397A SU1288711A1 (en) | 1985-04-23 | 1985-04-23 | Device for simulating process for servicing requests |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1288711A1 true SU1288711A1 (en) | 1987-02-07 |
Family
ID=21175706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU853891397A SU1288711A1 (en) | 1985-04-23 | 1985-04-23 | Device for simulating process for servicing requests |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1288711A1 (en) |
-
1985
- 1985-04-23 SU SU853891397A patent/SU1288711A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 962969, кл. G 06 F 15/20, 1981. Авторское свидетельство СССР № 1259282, кл. G 06 F 15/20, 1985. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1288711A1 (en) | Device for simulating process for servicing requests | |
SU1591036A1 (en) | Device for modeling request servicing process | |
SU1206796A1 (en) | Device for simulating process for servicing requests with different priorities | |
SU1193684A1 (en) | Device for simulating servicing process | |
SU1283787A1 (en) | Device for simulating the queueing systems | |
SU962969A1 (en) | Device for simulating servicing process of requests with different priority | |
SU1247887A1 (en) | Device for simulating process for servicing requests with different priorities | |
SU1037265A1 (en) | Device for simulating request servicing | |
SU1043659A2 (en) | Device for simulating process of servicing requests having various priorities | |
SU1024929A1 (en) | Device for simulating servicing requests with different priorities | |
SU1283786A1 (en) | Device for simulating the queueing systems | |
SU1661785A1 (en) | Queueing system simulator | |
SU1309035A1 (en) | Device for simulating process for servicing requests | |
SU1196888A1 (en) | Model of servicing device | |
SU1716535A1 (en) | Queue system simulator | |
SU1260971A1 (en) | Device for simulating the queueing systems | |
RU2018946C1 (en) | Device for modelling process of servicing applications | |
SU1236494A1 (en) | Device for simulating priority queueing systems | |
SU1633429A1 (en) | Device for simulating multiuser service systems | |
SU1387009A1 (en) | Queueing system simulator | |
SU1180922A1 (en) | Unit for servicing requests | |
SU1142842A1 (en) | Device for simulating process for servicing requests | |
SU1096646A1 (en) | Device for simulating process for servicing requests with different priorities | |
SU1259282A2 (en) | Device for simulating the servicing process of requests with different priorities | |
SU1479943A1 (en) | Request servicing process simulator |