SU1580390A1 - Model of server for queueing systems - Google Patents
Model of server for queueing systems Download PDFInfo
- Publication number
- SU1580390A1 SU1580390A1 SU884621820A SU4621820A SU1580390A1 SU 1580390 A1 SU1580390 A1 SU 1580390A1 SU 884621820 A SU884621820 A SU 884621820A SU 4621820 A SU4621820 A SU 4621820A SU 1580390 A1 SU1580390 A1 SU 1580390A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- group
- elements
- trigger
- Prior art date
Links
Landscapes
- Exchange Systems With Centralized Control (AREA)
Abstract
Изобретение относитс к специализированным средствам вычислительной техники и предназначено дл моделировани процесса обслуживани за вок и процессов отказов при обслуживании за вок одним многоканальным обслуживающим прибором. Цель изобретени - упрощение известной модели. Данна цель достигаетс тем, что модель содержит К каналов обслуживани за вок, элемент ИЛИ, первую группу элементов И, первый и второй элементы НЕ, первую и вторую группы элементов ИЛИ - НЕ и вторую группу элементов И. Каждый канал обслуживани за вок включает триггер, элемент ИЛИ и генератор случайных импульсов. 2 ил.The invention relates to specialized means of computing and is intended to simulate the process of servicing a quota and failure processes when servicing a quota by one multichannel servicing device. The purpose of the invention is to simplify the known model. This goal is achieved by the fact that the model contains K service channels, the element OR, the first group of elements AND, the first and second elements NOT, the first and second groups of elements OR - NOT and the second group of elements I. Each service channel of the order includes a trigger, element OR and random pulse generator. 2 Il.
Description
(Л(L
сwith
Изобретение относитс к специализированным средствам вычислительной техники и предназначено дл моделировани процесса обслуживани за вок и процессов отказов при обслуживании за вок одним многоканальным обслуживающим прибором.The invention relates to specialized means of computing and is intended to simulate the process of servicing a quota and failure processes when servicing a quota by one multichannel servicing device.
Цель изобретени - упрощение модели .The purpose of the invention is to simplify the model.
На фиг.1 приведена схема модели; на фиг.2 - схема канала обслуживани за вок.Figure 1 shows a diagram of the model; Fig. 2 is a diagram of the service channel of the quotation.
Модель содержит К каналов 1 обслуживани за вок с входом 2 запуска, входом 3 останова обслуживани , вторым 4 и первым 5 выходами триггера и выходом 6, элемент ИЛИ 7,первую группу элементов И 8, первый 9, второй 10 элементы НЕ, первую 11 и вторую 12 группы элементов ИЛИ-НЕ, вторую группу элементов И 13.The model contains K service channels 1 with a start input 2, service stop 3 input, second 4 and first 5 trigger outputs and output 6, element OR 7, first group of elements AND 8, first 9, second 10 NOT elements, first 11 and the second 12 groups of elements OR NOT, the second group of elements AND 13.
Канал обслуживани за вок содержит триггер 14, элемент ИЛИ 15 и генератор 16 случайных импульсов.The service channel of the quotation contains a trigger 14, an OR element 15, and a generator of 16 random pulses.
В состав устройства также вход т вход 17 приема за вок к обслуживанию и вход 18 прекращени обслуживани за вок.The device also includes the input 17 of the reception of the quota for service and the input 18 of the service termination of the quota.
Вербальным описанием работы модели вл етс следующее.The verbal description of the model operation is as follows.
В исходном состо нии все каналы обслуживани свободны и готовы к приему за вок. За вка, поступивша в модель , занимает свободный канал обслуживани , который имеет меньший номер из свободных каналов. При поступлении сигнала на вход прекращени обслуживани прекращаетс обслуживание за вки в том канале,который имеет меньший номер из зан тых обслуживанием .In the initial state, all service channels are free and ready to receive a quotation. The application received in the model is occupied by a free service channel, which has a smaller number of free channels. When a signal arrives at the termination input, the service is terminated in the channel that has the lowest number of service users.
Модель работает следующим образом.The model works as follows.
елate
0000
го соgo so
В исходном состо нии генераторы 16 ,случайных импульсов всех каналов обслуживани не запущены, а триггеры 14 наход тс в состо нии, при котором на выходе 4 имеетс сигнал логической единицы, а на выходе 5 сигнал логического нул .In the initial state, the generators 16, the random pulses of all service channels are not triggered, and the triggers 14 are in the state in which the output 4 has a logical unit signal, and the output 5 has a logic zero signal.
При этом все элементы И 8 открыты по вторым входам, подключенным к выходам 4 триггеров каналов обслуживани , но все элементы И 8, начина с второго, закрыты нулевым сигналом, поступающим на их третий вход от соответствующих элементов ИЛИ-НЕ It. Это оВусловлено тем, что на всех входах элементов ИЛИ-НЕ 8 имеетс единичный сигнал, который имеетс и на входе элемента НЕ 10. Таким образом, к приему за вки в исходном состо нии готов только первый-канал обслуживани .At the same time, all elements of AND 8 are open by the second inputs connected to the outputs of 4 triggers of service channels, but all elements of AND 8, starting from the second, are closed by a zero signal coming to their third input from the corresponding elements OR-HE. This is due to the fact that at all inputs of the elements OR-NO 8 there is a single signal, which is also at the input of the element NOT 10. Thus, only the first service channel is ready to accept the application in the initial state.
При поступлении за вки она проходит через открытый первьй элемент И 8, опрокидыва триггер первого канала обслуживани , и запускает его генератор случайных импульсов 16. Пр этом на первых входах элементов ИЛИ-НЕ 11 сигнал логической единицы исчезает, а второй элемент И 8 откры ваетс по третьему входу, так как сигнал на входе элемента НЕ 10 также равен нулю. Следующа за вка, пришедша до окончани обслуживани первой за вки, проходит только через второй элемент И 8, так как все остальные элементы И 8 закрыты. При этом аналогично, но уже по вторым входам откроютс элементы ИЛИ-НЕ 11, а элемент И 8 третьего канала готов к приему сигнала с входа 17,так как на обоих входах первого элемента ИЛИ-НЕ -11 присутствует нулевой сигнал. Таким образом, прохождение за вки в какой-либо канал обслуживани вызывает следующие переключени в модели: по второму входу закрываетс элемент И 8 этого канала сигналом с выхода 4 триггера 14; нулевым сигналом с выхода 4 открываетс по соответствующему входу элементы ИЛИ-НЕ всех каналов, имеющих номер, больший номера зан того канала; единичным сигналом с выхода 5 триггера 14 открываетс по соответствующему входу элемент И 13, номер которого равен номеру зан того канала; единичным сигналом с выхода 5 триггера 14 закрываютс по входу элемента НЕ 9Upon receipt of the application, it passes through the open first element AND 8, overturning the trigger of the first service channel, and starts its random pulse generator 16. In the first inputs of the OR-NOT 11 elements, the signal of the logical unit disappears, and the second And 8 element opens the third input, since the signal at the input of the element NOT 10 is also zero. The next one, which arrives before the end of the first service, ends only through the second element And 8, since all the other elements And 8 are closed. At the same time, the OR-NOT 11 elements will open in the second inputs, and the third channel AND 8 element is ready to receive a signal from the input 17, since there is a zero signal on both inputs of the first OR-NOT-11 element. Thus, the passage of a request to any service channel causes the following switchings in the model: at the second input, AND 8 of this channel is closed by a signal from output 4 of trigger 14; the zero signal from output 4 opens, on the corresponding input, the elements of the OR NOT of all channels having a number greater than the number of the occupied channel; a single signal from the output 5 of the trigger 14 opens on the corresponding input the element And 13, whose number is equal to the number of the busy channel; a single signal from the output 5 of the trigger 14 is closed on the input element NO 9
00
5five
00
5five
Q Q
3535
4040
4545
5050
5555
или соответствующим входам элементы ИЛИ-НЕ 12.or the corresponding inputs elements OR NOT 12.
Таким образом, после прин ти к обслуживанию нескольких за вок, например трех, к приему за вок готов только четвертый элемент И 8, а из элементов И 13 готовым к пропуску сигнала с входа 18 готов только первый элемент И 13.Thus, after accepting several requests for service, for example, three, only the fourth element AND 8 is ready for reception of the request, and of elements 13 and 13 ready for the signal from input 18, only the first element 13 is ready.
После окончани случайного времени обслуживани за вки в канале обслуживани генератор 16 выработает импульс,который через элемент ИЛИ 7 поступает на выход модели и одновременно через элемент ИЛИ 15 опрокидывает свой триггер 14.. При этом открываетс по соответствующему входу элемент И 8 этого канала, закрываютс по второму входу все элементы ИЛИ-НЕ 11, закрываетс нулевым потенциалом элемент И 13 этого канала и открываютс по соответствующему входу элементы ИЛИ-НЕ 12.After the end of the random service time of the request in the service channel, the generator 16 generates a pulse, which through the OR element 7 arrives at the model output and simultaneously through the OR element 15 overturns its trigger 14 .. At this, the AND element 8 of this channel opens, closes to the second input, all the elements OR-NOT 11, are closed by a zero potential, the element AND 13 of this channel and the elements OR-NOT 12 are opened at the corresponding input.
Например, зан то обслуживанием три канала 1 , четвертый канал готов к приему за вок, так как четвертый элемент И 8 открыт по управл ющим входам, открыт по управл ющему входу и элемент И 13 первого канала обслуживани за вок. Пусть теперь освободилс второй канал. Тогда элемент И 8 второго канала обслуживани открываетс и второй канал снова готов к приему за вки, так как он имеет наименьший номер из свободных каналов и все каналы, начина с третьего, закрыты нулевым потенциалом , поступающим от соответствующих каналов ИЛИ-НЕ 11, а из элементов И 13 готов к пропуску сигнала с входа 18 оп ть только первый элемент И 13.For example, service three channels 1 is in service, the fourth channel is ready to receive the request, since the fourth element AND 8 is open at the control inputs, open at the control input and the element 13 of the first service channel of the request. Let the second channel now be free. Then the element AND 8 of the second service channel opens and the second channel is again ready to receive the application, since it has the smallest number of free channels and all channels, starting from the third, are closed with zero potential coming from the corresponding channels OR-NOT 11, and elements And 13 is ready to skip the signal from input 18 again only the first element And 13.
При по влении сигнала на входе 18, свидетельствующего о необхо- димости прекращени обслуживани за вки , он проходит через элемент И 13, того из зан тых обслуживанием каналов, который имеет наименьший номер. Пусть это первый элемент И 13, тогда сигналом с его выхода останавливаетс генератор 16 первого канала 1 обслуживани , а через элемент ИЛИ 15 триггер 14 переводитс в исходное состо ние. При этом на выход модели сигнал от ге нератора 16 не поступает.When a signal appears at the input 18, indicating the need to discontinue the application, it passes through the And 13 element, the one of the occupied channels, which has the lowest number. Let this be the first element of AND 13, then the signal from its output stops the generator 16 of the first channel 1 of the service, and through the element OR 15, the trigger 14 transfers to the initial state. In this case, a signal from the generator 16 is not received at the model output.
Опрокидывание триггера 14 приводит к закрытию первого элементаRollover trigger 14 causes the first element to close.
И 13 нулевым сигналом с выхода 5 первого канала и открытию по вторым входам всех элементов ИЛИ-НЕ 12 элементов И 13, начина с третьего, а также открытию через элемент НЕ 9 второго элемента И 13, который готов к пропуску сигнала с входа 18. Если этот сигнал приходит до окончани обслуживани за вки вторым каналом, то аналогично подготавливаетс третий элемент И 13. Если же второй канал также оканчивает обслуживание за вки, то открытым по управл ющим входам оказываетс только третий элемент И 13, т.е. соответствующий каналу, зан тому обслуживанием, с меньшим номером.And 13 is a zero signal from output 5 of the first channel and opening through the second inputs of all elements OR NOT 12 elements AND 13, starting from the third and also opening through the element 9 of the second element AND 13, which is ready to skip the signal from input 18. If This signal arrives before the end of service for the second channel, then the third element AND 13 is prepared in the same way. If the second channel also ends the service of the application, only the third element 13 is open to the control inputs, i.e. corresponding to the channel, occupied by the service, with a lower number.
входом второго элемента И второй труп- Аналогично- работает модель и в дру- 20 выход элемента ИЛИ-НЕ первой группы (j 1, К-2) подключен к третьему входу (j + 2)-го элемента И первой группы, выход j-ro элемента ИЛИ-НЕ второй группы подключен к второму входу (j + 2)-го элемента И второй группы, отличающа с тем, что, с целью упрощени модели, первый выход триггера 1-го канала обслуживани за вок (1 1, К - 1) соединен с 1-ми входами всех элементов ИЛИ-НЕ второй группы, первый выход триггера М-го канала об-. « служивани за вок (М 2, К) соединен с третьим входом М-го элементаthe input of the second element AND the second corpse - Similarly, the model works and in the other 20 output of the element OR NOT the first group (j 1, K-2) is connected to the third input of the (j + 2) -th element AND of the first group, output j- The ro element of the OR-NOT of the second group is connected to the second input of the (j + 2) -th element AND of the second group, characterized in that, in order to simplify the model, the first output of the trigger of the 1st quotation service channel (1 1, K - 1) connected to the 1st inputs of all the elements of the OR-NOT of the second group, the first output of the M-channel trigger is about-. "Serving the reel (M 2, K) is connected to the third input of the M-th element
гих сочетаних числа зан тых каналов и числа прекращени обслуживани .These are the combinations of the number of channels occupied and the number of service discontinuities.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884621820A SU1580390A1 (en) | 1988-12-16 | 1988-12-16 | Model of server for queueing systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884621820A SU1580390A1 (en) | 1988-12-16 | 1988-12-16 | Model of server for queueing systems |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1580390A1 true SU1580390A1 (en) | 1990-07-23 |
Family
ID=21415860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884621820A SU1580390A1 (en) | 1988-12-16 | 1988-12-16 | Model of server for queueing systems |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1580390A1 (en) |
-
1988
- 1988-12-16 SU SU884621820A patent/SU1580390A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1228113, кл. G 06 F 15/20, 1984. Авторское свидетельство СССР № 1229772, кл. G 06 F 15/20, 1984. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1580390A1 (en) | Model of server for queueing systems | |
SU1495793A1 (en) | Dynamic priority unit | |
SU1418730A1 (en) | Device for simulating mass service systems | |
SU1543417A1 (en) | Device for simulating of node of electric circuit | |
SU1305701A1 (en) | Device for simulating the queueing systems | |
SU1124320A1 (en) | Device for simulating queueing system | |
RU1837288C (en) | Device for dynamic priority | |
SU1649563A1 (en) | Device for simulating a dual channel queueing system | |
SU1612302A1 (en) | Multichannel priority device | |
SU1406600A1 (en) | Device for simulating queueing systems | |
SU1192130A1 (en) | Device for checking pulse alternation sequence | |
RU2024929C1 (en) | Device for simulating mass queueing systems | |
SU1385310A1 (en) | Synchronization device | |
SU1275460A1 (en) | Device for simulating the queueing systems | |
RU1784994C (en) | Device for first-come-first service systems simulating | |
SU1683029A1 (en) | Queuing systems simulator | |
RU2041492C1 (en) | Device for solving task of analysis of operations in queuing systems | |
SU1282153A1 (en) | Device for simulating the queueing systems | |
SU1661783A1 (en) | Dual-channel queueing system simulator | |
SU1387009A1 (en) | Queueing system simulator | |
SU1716535A1 (en) | Queue system simulator | |
SU1716533A1 (en) | Device for simulation of systems of waiting system | |
SU1381474A2 (en) | Data input device | |
SU1187259A1 (en) | Device for converting pulse train to rectangular pulse | |
SU962900A1 (en) | Device for interfacing subscriber's post with digital computer |