SU1644156A1 - Multiuser servicing system simulator - Google Patents
Multiuser servicing system simulator Download PDFInfo
- Publication number
- SU1644156A1 SU1644156A1 SU894694893A SU4694893A SU1644156A1 SU 1644156 A1 SU1644156 A1 SU 1644156A1 SU 894694893 A SU894694893 A SU 894694893A SU 4694893 A SU4694893 A SU 4694893A SU 1644156 A1 SU1644156 A1 SU 1644156A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- counter
- output
- pulses
- trigger
- Prior art date
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Изобретение относитс к вычислительной технике и может использоватьс дл моделировани систем массового обслуживани . Цель изобретени - расширение функциональных возможностей устройства за счет моделировани обслуживани групповых за вок с ограничением приема по числу свободных мест в системе. Устройство содержит генератор пачек случайных импульсов , счетчик общего числа за вок, генератор случайных импульсов обслуживани , счетчик общего числа групп за вок, блок выделени конца пачки импульсов, генератор тактовых импульсов, четыре элемента И, два триггера, регистр пам ти, две схемы сравнени , счетчик за вок, прин тых к обслуживанию , счетчик обслуженных за вок, два элемента ИЛИ-НЕ, реверсивный счетчик числа за вок в системе, дешифратор, реверсивный счетчик длины пачки импульсов, счетчик групп потер нных за вок. Устройство позвол ет моделировать обслуживание групповых за вок с ограничением приема по числу свободных мест в очереди и порогом включени процедуры обслуживани . 2 ил.The invention relates to computing and can be used to simulate queuing systems. The purpose of the invention is to expand the functionality of the device by simulating the service of group bids with limited reception according to the number of free places in the system. The device contains a generator of bursts of random pulses, a counter of the total number of bids, a generator of random servicing pulses, a counter of the total number of groups of bricks, a block for selecting the end of a batch of pulses, a clock generator, four AND elements, two triggers, a memory register, two comparison circuits, counters for servicing accepted for servicing, counters serviced for servicing, two items OR NOT, reversible counter for the number of invoices in the system, decoder, reversible counter for the length of the packet of pulses, counter for groups of lost orders. The device allows you to simulate the service of group bids with limited reception according to the number of free places in the queue and the threshold for activating the service procedure. 2 Il.
Description
Изобретение относитс к области вычислительной техники и может быть исполь- зовано дл моделировани систем массового обслуживани .The invention relates to the field of computing and can be used to simulate queuing systems.
Цель изобретени - расширение функциональных возможностей устройства за счет моделировани обслуживани групповых за вок с ограничением приема по числу свободных мест в системе.The purpose of the invention is to expand the functionality of the device by simulating the service of group bids with limited reception according to the number of free places in the system.
На фиг. 1 изображена структурна схема устройства; на фиг.2 - схема блока выделени конца пачки импульсов.FIG. 1 shows a block diagram of the device; Fig. 2 is a block diagram of the selection of the end of the burst.
Устройство дл моделировани систем массового обслуживани содержит генератор 1 пачек случайных импульсов, счетчик 2 общего числа за вок, генератор 3 случайных импульсов обслуживани , счетчик 4 общего числа групп за вок, блок выделени конца пачки импульсов, генератор б тактовых импульсов , первый элемент И 7, первый триггер 8, четвертый элемент И 9, регистр 10 пам ти, первую схему 11 сравнени , счетчик 12 за вок, прин тых к обслуживанию, счетчик 13 обслуженных за вок, первый элемент ИЛИ-НЕ 14, реверсивный счетчик 15 числа за вок в системе, дешифратор 16, второй элемент ИЛИ-НЕ 17,реверсивный счетчик 18 длины пачки импульсов, вторую схему 19 сравнени , второй 20 и третий 21 элементы И, второй триггер 22, счетчик 23 групп потер нных за вок.A device for simulating queuing systems comprises a generator of 1 bursts of random pulses, a counter 2 of the total number of bids, a generator of 3 random service pulses, a counter 4 of the total number of groups of bays, a block for selecting the end of a burst, a generator of clock pulses B, the first element I 7, the first trigger 8, the fourth element And 9, the memory register 10, the first comparison circuit 11, the counter 12 of the wok accepted for service, the counter 13 served of the wok, the first element OR NOT 14, the reversible counter of the 15 number of the wok in the system decrypt op 16, the second element OR-NOT 17, the reversible counter 18 of the burst length, the second comparison circuit 19, the second 20 and the third 21 elements AND, the second trigger 22, the counter of 23 groups of lost quotes.
Блок выделени конца пачки импульсов (фиг.2) содержит датчик 24 числа, элемент НЕ 25. триггер 26, генератор 27 тактовых импульсов, элемент И 28.вычитающий счетчик 29.The block for selecting the end of a burst of pulses (Fig. 2) contains a sensor 24 of the number, an element NOT 25. A trigger 26, a generator of 27 clock pulses, an element 28. A counting counter 29.
Вербальной моделью работы устройства вл етс следующа .The verbal model of the device is the following.
За вки поступают группами. Количес во за вок в каждой группе и интервалы вFor vki come in groups. Qualification amount in each group and intervals
ОABOUT
ЈJ
СПSP
сьis smiling
мени между групповыми за вками случайны . При поступлении очередной группы за вок происходит сравнение числа за вок в группе с количеством свободных мест в системе . Если число свободных мест в системе оказываетс достаточным, то все за вки этой группы ввод тс в систему. В противном случае в приеме группы за вок отказываетс и они тер ютс . Процедура обслуживани заключаетс в выводе из системы за вок. Обслуживание за вок начинаетс после того, как в системе число накопленных за вок достигнет определенного порога включени . Моменты времени обслуживани случайны и не св заны с моментами поступлени за вок. Поток групповых за вок имитируетс генератором 1 случайных пачек импульсов. Временные интервалы между пачками и число импульсов в пачках случайны и распределены по определенным законам.The exchange between group applications is random. Upon receipt of the next group of orders, the number of applications in the group is compared with the number of free places in the system. If the number of free places in the system is sufficient, then all applications of this group are entered into the system. Otherwise, the reception of the application group fails and they are lost. The maintenance procedure is to withdraw the quotation from the system. The queuing service starts after the number of quotations accumulated in the system reaches a certain on threshold. Service times are random and unrelated to arrival times. The group flow is simulated by the generator of 1 random bursts of pulses. The time intervals between the packs and the number of pulses in the packs are random and distributed according to certain laws.
Код на пр мых разр дных выводах счетчика 15 соответствует числу за вок, наход щихс в системе и ожидающих обслуживани . Код на инверсных разр дных выходах этого счетчика вл етс обрат- ным коду числа за вок в системе и соответствует разности объема счетчика и пр мого кода числа за вок в системе, т.е. код на инверсных разр дных выходах определ ет число свободных мест в системе.The code on the direct bit terminals of counter 15 corresponds to the number of requests that are in the system and are awaiting service. The code on the inverse bit outputs of this counter is the reverse code of the number of applications in the system and corresponds to the difference between the volume of the counter and the direct code of the number of applications in the system, i.e. The code on the inverse bit outputs determines the number of free places in the system.
Реверсивный счетчик 18 длины пачки импульсов служит дл формировани кода, пропорционального числу импульсов в пачке . После сравнени во второй схеме 19 сравнени с числом свободных мест в системе этот счетчик используетс дл повторного формировани этой пачки и подачи ее на реверсивный счетчик 15 числа за вок в системе.A reversible counter 18 of a burst length packet is used to form a code proportional to the number of pulses in a burst. After the comparison, in the second scheme 19, the comparison with the number of empty places in the system, this counter is used to reconfigure this pack and deliver it to the reversible counter on the 15th number in the system.
Дешифратор 16, схема 11 сравнени и регистр 10 пам ти служат дл организации порога включени процедуры обслуживани .The decoder 16, the comparison circuit 11 and the memory register 10 serve to organize the threshold for the activation of the service procedure.
Устройство работает следующим образом .The device works as follows.
В исходном состо нии реверсивные счетчики 15 и 18 устанавливаютс в нулевое состо ние. При этом на выходах элементов ИЛИ-НЕ 14 и 17 по вл ютс сигналы логической 1, которые устанавливают триггеры 3 и 22 в состо ние логического О, при котором на их выходах оказываютс нулевые сигналы. За счет этого импульсы от генератора 3 случайных импульсов не могут проходить через закрытый элемент И 7, а импульсы от генератора 6 тактовых импульсов не могут проходить через элемент И 9, Пачка импульсов от генератора 1 пачек случайных импульсов поступает на суммирующий вход реверсивного счетчика 18 длиныIn the initial state, the reversible counters 15 and 18 are set to the zero state. At the same time, at the outputs of the elements OR-NO 14 and 17, the signals of logical 1 appear, which set the triggers 3 and 22 to the state of logical O, at which zero signals appear at their outputs. Due to this, the pulses from the generator 3 random pulses cannot pass through the closed element And 7, and the pulses from the generator 6 clock pulses can not pass through the element And 9, the pulse Pack from the generator 1 packs of random pulses fed to the summing input of the reversible counter 18 length
пачки импульсов. Схема 19 сравнени производит сравнение кода, соответствующего длине поступившей пачки импульсов, который поступаете пр мых разр дных выходовburst. Comparison circuit 19 compares the code corresponding to the length of the received burst of pulses, which is supplied by direct bit outputs.
реверсивного счетчика 18 длины пачки импульсов , и кода, соответствующего числу свободных мест в системе, который поступает с инверсных разр дных выходов реверсивного счетчика 15 числа за вок вreversible counter 18 of the pulse burst length, and a code corresponding to the number of empty spaces in the system, which comes from the inverse bit outputs of the reversible counter 15
0 системе. Если свободных мест в системе оказываетс достаточно дл ввода пачки им- пульсов, по вл етс сигнал на выходе Меньше - равнозначность схемы 19 сравнени и импульс с выхода блока 5 выделе5 ни конца пачки импульсов после окончани пачки импульсов через открытый по первому входу элемент И 21 поступает на вход триггера 22, за счет чего на выходе этого триггера по вл етс единичный сигнал.0 system. If there are enough free places in the system to input a burst of pulses, a signal appears at the output Less - the equivalence of the comparison circuit 19 and the pulse from the output of the selection block 5 of the end of the burst after the burst ends through the first input And 21 to the input of the trigger 22, due to which a single signal appears at the output of this trigger.
0 Сигнал с выхода триггера 22 открывает элемент И 9 и позвол ет импульсам от генератора б тактовых импульсов через элемент И 9 поступить «а вычитающий вход реверсивного счетчика 18 длины пачки импульсов и0 The signal from the output of the trigger 22 opens the element And 9 and allows the pulses from the generator of the clock pulses through the element 9 to enter the subtracting input of the reversing counter 18 of the length of the pulse train and
5 суммирующий вход реверсивного счетчика 15 числа за вок в системе. Такой перевод числа, соответствующего длине пачки импульсов , из счетчика 18 а счетчик 15 заканчиваетс в момент, когда на всех пр мых5 summing input of the reversing counter on the 15th number of the quotation in the system. Such a translation of the number corresponding to the length of the burst of pulses from the counter 18a and the counter 15 terminates at the moment when
0 разр дных выходах счетчика 18 по вл ютс нули и единица с выхода элемента ИЛИ-НЕ 17 сбросит триггер 22 в исходное нулевое положение. Импульсы с выхода элемента И 9 поступают также на счетный вход счетчика0 bit outputs of counter 18 appear zeros and the unit from the output of the element OR NOT 17 will reset trigger 22 to its original zero position. The pulses from the output of the element And 9 also arrive at the counting input of the counter
5 12 за вок, прин тых к обслуживанию.5 12 wok accepted for service.
По мере поступлени пачек импульсов на суммирующий вход реверсивного счетчика 15 числа за вок в системе на его пр мых выходах возрастает значение кода. В опре0 деленный момент времени это приводит к совпадению кодов дешифратора 16 и регистра 10 пам ти и к выработке сигнала схемой 11 сравнени , который поступает на вход триггера 8 и перебрасывает его в еди5 ничное состо ние. Сигнал с выхода триггера 8 открывает элемент И 7 и позвол ет импульсам от генератора 3 случайных импульсов проходить на вход вычитани реверсивного счетчика 15, имитиру обслу0 живание за вок. Эти же импульсы поступают на счетный вход счетчика 13 обслуженных за вок. При полном освобождении системы массового обслуживани сигнал, по вившийс на выходе элементаAs the bursts of pulses arrive at the summing input of the reversible counter, the 15th number of codes in the system at its direct outputs increases the code value. At a certain point in time, this leads to the coincidence of the codes of the decoder 16 and the register 10 of the memory and to the generation of a signal by the comparison circuit 11, which arrives at the input of the trigger 8 and transfers it to the single state. The signal from the output of the trigger 8 opens the element AND 7 and allows the pulses from the generator 3 of the random pulses to pass to the input of the subtraction of the reversible counter 15, simulating a quotation service. The same pulses arrive at the counting input of the counter 13 served for the wok. With the complete release of the queuing system, the signal that appeared at the element output
5 ИЛИ-НЕ 14, перебрасывает триггер 8 в положение , когда с его выхода снимаетс сигнал .5 OR-NOT 14, flips trigger 8 to a position where the signal is removed from its output.
В таком случае, если во врем сравнени в схеме 19 сравнени окажетс , что число импульсов в очередной пачкеIn this case, if during the comparison in the comparison scheme 19 it turns out that the number of pulses in the next packet
превосходит число свободных мест в системе , по вл етс сигнал на выходе Больше схемы 19 сравнени и импульс с выхода блока 5 выделени конца пачки импульсоа получает возможность поступить через элемент И 20 на вход сброса реверсивного счетчика 18 длины пачки импульсов (имитиру потерю группы за вок) и счетный вход счетчика 23 групп потер нных за вок.exceeds the number of empty places in the system, a signal appears at the output of the More comparison circuit 19 and the pulse from the output of the selection block of the end of the pack of pulses is able to flow through the AND 20 element to the reset input of the reversing counter 18 of the pack of pulses (simulating the loss of a group of wakes) and the counting input of the counter of 23 groups of lost stockings.
Блок 5 работает следующим образом.Block 5 works as follows.
В исходном состо нии триггер 26 сброшен в нулевое состо ние. Первый импульс пачки поступает на вход вычитающего счетчика 29 импульсов и обеспечивает параллельную запись в этот счетчик кода из датчика 24, значение которого выбираетс таким, чтобы генератор 27 тактовых импульсов за врем паузы между импульсами пачки не успел освободить вычитающий счетчик 29 импульсов и на его выходе переполнени не по вилс бы сигнал. После окончани первого импульса на входе блока элемент НЕ 25 начинает во врем паузы между импульсами формировать сигнал, который позвол ет импульсам от генератора 27 тактовых импульсов поступать на вход вычитани вычитающего счетчика 29. Второй импульс вновь обеспечивает параллельную запись кода предустановки в счетчик 29 и во врем второй паузы работа блока повтор етс . После окончани последнего импульса пачки генератор 27 тактовых импульсов получает возможность послать на вычитающий счетчик 29 такое количество импульсов, которое достаточно дл по влени на выходе переполнени сигнала, сбрасывающего триггер 26 в нулевое состо ние и формирующего выходной сигнал блока выделени окончание пачки импульсов.In the initial state, trigger 26 is reset to the zero state. The first burst of a packet arrives at the input of the subtracting pulse counter 29 and provides parallel recording of the code from the sensor 24 into this counter, the value of which is chosen so that the clock pulse generator 27 does not have time to release the subtracting pulse counter 29 and overflow its output during the pause between the burst pulses. I wouldn't be signaling. After the end of the first pulse at the input of the block, the NOT element 25 begins to generate a signal during the pause between pulses, which allows the pulses from the clock generator 27 to enter the subtraction input of the subtracting counter 29. The second pulse again provides a parallel recording of the preset code to the counter 29 and during The second pause block operation is repeated. After the last pulse of the burst has expired, the clock pulse generator 27 is able to send to the subtractive counter 29 such a quantity of pulses that is sufficient for the output to overflow a signal that flushes the trigger 26 into the zero state and generates the output of the burst pulse output signal.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894694893A SU1644156A1 (en) | 1989-05-24 | 1989-05-24 | Multiuser servicing system simulator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894694893A SU1644156A1 (en) | 1989-05-24 | 1989-05-24 | Multiuser servicing system simulator |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1644156A1 true SU1644156A1 (en) | 1991-04-23 |
Family
ID=21449270
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU894694893A SU1644156A1 (en) | 1989-05-24 | 1989-05-24 | Multiuser servicing system simulator |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1644156A1 (en) |
-
1989
- 1989-05-24 SU SU894694893A patent/SU1644156A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1418743, кл. G 06 F 15/20, 1986. Авторское свидетельство СССР № 1244674, кл. G 06 F 15/20, 1984. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1644156A1 (en) | Multiuser servicing system simulator | |
SU1711179A1 (en) | Queuing system simulation device | |
SU1605252A1 (en) | Device for modeling queuing system | |
RU1783539C (en) | Device for modelling of queueing systems | |
SU1180919A1 (en) | Device for simulating queueing system | |
SU1024929A1 (en) | Device for simulating servicing requests with different priorities | |
SU1223244A1 (en) | Device for simulating queueing systems | |
SU1418730A1 (en) | Device for simulating mass service systems | |
SU826358A1 (en) | Device for simulating mass servicing system | |
SU1312599A1 (en) | Device for simulating the queueing systems | |
SU1168962A1 (en) | Device for simulating queueing systems | |
SU1244674A1 (en) | Device for simulating queueing systems | |
SU1080146A1 (en) | Device for simulating queueing systems | |
SU1096654A1 (en) | Device for simulating process for servicing requests with different priorities | |
SU1242983A1 (en) | Device for simulating two-channel queueing system | |
SU1388886A1 (en) | Device for simulating queueing systems | |
SU1111172A1 (en) | Device for simulating queueing systems | |
SU1709334A1 (en) | Data acquisition and transmission system simulator | |
SU1728975A1 (en) | Channel selector | |
SU1151980A1 (en) | Device for simulating queueing system | |
SU1124320A1 (en) | Device for simulating queueing system | |
SU1325501A1 (en) | Device for modelling waiting systems | |
SU1278879A1 (en) | Device for simulating message switching points | |
SU1488828A1 (en) | Computer system simulator | |
SU1485265A1 (en) | Queueing system simulator |