SU1689950A1 - Multichannel scheduler - Google Patents
Multichannel scheduler Download PDFInfo
- Publication number
- SU1689950A1 SU1689950A1 SU894753861A SU4753861A SU1689950A1 SU 1689950 A1 SU1689950 A1 SU 1689950A1 SU 894753861 A SU894753861 A SU 894753861A SU 4753861 A SU4753861 A SU 4753861A SU 1689950 A1 SU1689950 A1 SU 1689950A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- counter
- input
- output
- channel
- trigger
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано дл управлени обработкой за вок в вычислительных системах реального времени и систем массового обслуживани , построенных на базе одной ЭВМ. Цель изобретени - повышение быстродействи , Устройство содержит блок выбора максимального кода, блок управлени , регистр, узел приоритета, а в каждом канале-счетчик, три триггера , два элемента К. В устройстве выбор наиболее приоритетной за вки абонента осуществл етс с учетом скорости изменени приоритета в потоках за вок. 3 ил.The invention relates to computing and can be used to control the processing of applications in real-time computing and queuing systems built on the basis of a single computer. The purpose of the invention is to increase the speed. The device contains a block for selecting the maximum code, a control block, a register, a priority node, and each channel has a counter, three triggers, two K elements. In the device, the selection of the highest priority subscriber's application is made taking into account the rate of change of priority in streams for wok. 3 il.
Description
Изобретение относитс к вычислительной технике и может быть использовано дл управлени обработки за вок в вычислительных системах реального времени, построенных на базе многопрограммной ЭВМ.The invention relates to computing and can be used to control processing of applications in real-time computing systems built on a multi-program computer.
Цель изобретени - повышение быстродействи устройства.The purpose of the invention is to increase the speed of the device.
На фиг.1 представлена структурна схема устройства} на фиг.2 - структурна схема блока выбора максимального кода; на фиг.З - структурна схема счетчика, по сн юща принцип его работы.Figure 1 shows the block diagram of the device} figure 2 - block diagram of the block select the maximum code; FIG. 3 is a block diagram of a counter explaining its operation principle.
Устройство (фиг.1) содержит триггеры 1, 2, элементы И 3 и 4, счетчики 5, триггеры 6, блок 7 выбора мак- ,симального кода, сигнальные входы 8 устройства, узел 9 приоритета, ре- гистр 10, блок 11 управлени , в сос- тав которого вход т элемент И 12,The device (Fig. 1) contains triggers 1, 2, elements 3 and 4, counters 5, triggers 6, block 7 for selecting the maximal code, signal code 8 for the device, node 9 for priority, register 10, block 11 for control , in the structure of which the element I 12 is included,
элемент НЕ 13, формирователь 14 им- ,пульса, элемент ШШ 15, элемент И 16, генератор 17 импульсов, запросные входы 18, выходы 19, вход 20 запуска, сигнальный выход 21.element NOT 13, shaper 14 im-, pulse, element ШШ 15, element 16, pulse generator 17, query inputs 18, outputs 19, start input 20, signal output 21.
Блок 7 (фиг.2) содержит узлы 22 поразр дного переноса, которые включают в себ узлы 28 анализа разр дов, которые состо т из элементов И 24 п элементов ИЛИ 25, элементы ИЛИ-НЕ 2i i, входы 27, выходы 28. Блок 7 выполнен по авт.св. № 950083. Структурна схема счетчика (фиг.З) содер- жит счетные триггеры со счетными входами 29, элементы ИЛИ 30 и 31, элемент И 32, счетные входы 33, 34, вход 35 сброса, информационные выходы 36, выход 37 переполнени .Block 7 (FIG. 2) contains bit-wise nodes 22, which include bit analysis nodes 28, which consist of AND 24 n OR 25 elements, OR-NOT 2i i elements, inputs 27, and outputs 28. Block 7 is made by auth. No. 950083. The counter circuit diagram (Fig. 3) contains counting triggers with counting inputs 29, elements OR 30 and 31, element 32, counting inputs 33, 34, reset input 35, information outputs 36, overflow output 37.
В исходном состо нии триггеры 1, 2, 6, а также регистр 10 наход тс в нулевом положении (входы принуди (ЛIn the initial state, the triggers 1, 2, 6, and also the register 10 are in the zero position (the inputs are forced (L
СWITH
оabout
ОЭOE
чh
4W о4W about
тельной установки на чертеже не показаны ) . Абонент, вступающий в работу, по входу 17 устанавливает -в единичное состо ние соответствующий триггер 2 и, в зависимости от приоритета абонента , может установить триггер 1 по входу 8 (в случае единичного состо ни триггера 1 на каждом такте работы устройства к содержимому счетчика 5 прибавл етс число два. Единица прибавл етс к второму разр ду счетчика 5 - в противном случае она прибавл етс к младшему разр ду).the installation is not shown in the drawing). The subscriber entering into operation, at input 17, sets the corresponding trigger 2 to the single state and, depending on the subscriber’s priority, can set the trigger 1 to the input 8 (in the case of the single state of the trigger 1 on each operation cycle of the device to the contents of the counter 5 the number two is added. The unit is added to the second digit of counter 5 - otherwise it is added to the lower bit).
Если за вок на обработку нет, на входе 20 устанавливаетс нулевой потенциал , который поступает на вход формировател 14 и элемента НЕ 13. С элемента НЕ 13 единичный потенциал поступает на элемент И 12, который первоначально закрыт нулевым потенциалом с элемента ИЛИ 15.If there is no processing request, the input potential 20 establishes a zero potential, which enters the input of the imaging device 14 and the element NOT 13. From the element NOT 13, the unit potential flows to element AND 12, which is initially closed with zero potential from element OR 15.
С поступлением за вки от абонента устанавливаетс в единичное состо ние соответствующий триггер 2, с выхода которого через элемент ИЛИ 15 открываетс элемент И 12, и тактовые импульсы с генератора 11 поступают на соответствующий счетчик 5. Одновременно единичный сигнал поступает на вход элемента И 16 и на выход 21, сигнализиру о наличии за вки на обработку. По этому сигналу формируетс единичный импульс, длительность которого определ етс временем выбор очередной за вки на обработку. По данному сигналу через элемент НЕ 13 закрываетс элемент И 12, и счетчик 5 прекращает счет, формирователь 14 импульса вырабатывает единичный импульс (с задержкой на врем переходных процессов в цепи: счетчик 5, триггер 6, блок 7, узел 9), по которому через элемент И 16 открываетс узел 9, после чего позиционный номер абонента записываетс в регистр 10. С выхода узла 9 устанавливаетс в нулевое состо ние соответствующие ему триггеры 1, 2, 6 и счетчик 5.With the receipt of applications from the subscriber, the corresponding trigger 2 is set to one, from the output of which AND 12 is opened through the element OR 15, and the clock pulses from the generator 11 are sent to the corresponding counter 5. At the same time, a single signal goes to the input of the element 16 and exit 21, signaling the presence of a processing application. A single impulse is formed by this signal, the duration of which is determined by the time of the choice of the next application for processing. At this signal, the element 12 is closed through the element 13 and the counter 5 stops counting, the pulse shaper 14 produces a single pulse (with a delay for the transient time in the circuit: counter 5, trigger 6, block 7, node 9), through which element 16 opens node 9, after which the position number of the subscriber is recorded in register 10. From the output of node 9, the corresponding triggers 1, 2, 6 and counter 5 are set to zero.
По окончании обработки за вки абонента, при наличии за вок от данного или другого абонента. ЭВМ выдае очередной единичный импульс, и на обработку выбираетс за вка, имеюща наивысший приоритет.At the end of processing the subscriber's application, if there is a surcharge from this or another subscriber. The computer gives out another single impulse, and for processing it is selected the application with the highest priority.
Работу устройства дл общего случа рассмотрим на примере обработки двух потоков за вок. Пусть триггеры 2 ц и 2 установлены в единичное сосThe operation of the device for the general case will be considered on the example of processing two flows of the application. Let the triggers 2 q and 2 be set to unit
5five
00
5five
00
5five
00
5five
00
5five
то ние и пусть триггер 1 ,. установлен в единичное состо ние, а триггер 1 - в нулевое. Триггеры 2 остальных абонентов установлены в нулевое состо ние .let it trigger 1,. set to one, and trigger 1 to zero. The triggers of the 2 remaining subscribers are set to zero.
По входу 20 от ЭВМ поступает нулевой потенциал (пусть она зан та обработкой за вки k-ro абонента). Элемент И 12 открыт, и счетчики 5 и Ьл ведут счет.On input 20 from a computer, a zero potential arrives (even if it is occupied by processing the subscriber’s k-ro request). Element AND 12 is open, and counters 5 and LL are counting.
Элемент И 16 закрыт нулевым потенциалом с выхода формировател 14. На управл ющий вход регистра 10 поступает нулевой потенциал, запреща прием кода на него.Element And 16 is closed with zero potential from the output of the driver 14. The control input of the register 10 receives a zero potential, prohibiting the reception of a code on it.
На третьи входы элементов К 3, 3(2. 4-f 4 поступает единичный потенциал с триггеров 24 и 2. На первый вход элемента 3f поступает единичный потенциал с пр мого выхода триггера 1, а с инверсного выхода нулевой потенциал поступает на первый вход элемента И 4, поэтому элемент И 4/( закрыт, а элемент К 3 открыт. Аналогично закрыт элемент И 3, а элемент И 4,2. открыт. Тактовые импульсы с генератора 17 через открытый элемент И 12 поступают на вторые входы всех элементов И 3 и 4. Эти импульсы через открытые элементы И 3/ и 4 поступают соответственно на второй вход счетчика 5х и первый вход счетчика 5g (см. фиг.З). Содержимое счетчика 5/ „измен етс на две единицы по каждому такту, а счетчика 5% .- на единицу с приходом каждого тактового импульса. Коды с данных счетчиков поступают на первую и вторую группы входов блока 7.The third inputs of the K 3, 3 elements (2. 4-f 4) receive a single potential from flip-flops 24 and 2. At the first input of a 3f element, a single potential comes from the direct output of flip-flop 1, and from the inverse output a zero potential flows to the first input of the element And 4, therefore, the element And 4 / (closed, and the element K 3 open. Similarly, closed element And 3, and element And 4.2. Open. Clock pulses from the generator 17 through the open element And 12 arrive at the second inputs of all elements And 3 and 4. These pulses through the open elements And 3 / and 4 are received respectively at the second input account 5x and the first input of the counter 5g (see FIG. 3). The contents of the 5 / counter are changed by two units for each cycle, and the counter by 5% .- per unit with the arrival of each clock pulse. The codes from these counters go to the first one. and the second group of inputs of block 7.
Пусть на данный момент времени максимальный код поступает на первые входы блока 7, тогда единичный уровень сформируетс на его первом выходе . Этот сигнал поступает на вход узла 9. Таким образом, в случае когда на выходах блока 7 сформируетс несколько сигналов единичного уровн , единичный потенциал оказываетс на одном выходе только узла 9. Но окончании обработки очередной за вки процессор устанавливает единичный потенциал на входе 20 устройства. По этому сигналу закрываетс элемент И 12, и счетчики 5 прекращают счет.Suppose that at this time the maximum code arrives at the first inputs of block 7, then a single level will be formed at its first output. This signal is fed to the input of node 9. Thus, in the case when several unit level signals are formed at the outputs of block 7, the unit potential is at the same output of node 9. But when the next application completes processing, the processor sets the unit potential at input 20 of the device. On this signal, element 12 is closed, and counters 5 stop counting.
Но окончании переходных процессов единичный потенциал поступает с формировател 14 на элемент К 16.But the end of the transient unit potential comes from the shaper 14 on the element K 16.
Единичный потенциал с узла 9 поступает на третий вход сброса счетчика 5, устанавлива его в нулевое состо ние, и на вход сброса в нуль триггера 6„ Кроме того, этот сигнал устанавливает в единичное состо ние соответствующий разр д регистра 10. На выходе 19 формируетс единичный потенциал, свидетельствующий о том, что процессор должен выбрать на обработку очередную за вку.The unit potential from node 9 goes to the third reset input of the counter 5, sets it to the zero state, and to the reset input to the zero flip-flop 6 ". In addition, this signal sets the corresponding register register 10 to single. On output 19, a single potential, indicating that the processor must choose to process the next request.
Если в процессе работы устройства содержимое какого-либо счетчика 5 переполн етс , сигнал переполнени (выход 37 на фиг.З) устанавливает соответствующий триггер 6 в единичное состо ние. Единичный потенциал с этого триггера b поступает на первый (в старший разр д) вход группы блока 7. Счетчик 5 продолжает счет тактовых импульсов. Его содержимое определ ет врем ожидани после переполнени счетчика. По сигналу готовности от процессора в этом случае на обработку выбираетс за вка из данного потока.If during the operation of the device the contents of any counter 5 overflows, the overflow signal (exit 37 in FIG. 3) sets the corresponding trigger 6 to one state. The unit potential from this trigger b is fed to the first (to the most significant bit) input of the group of block 7. Counter 5 continues counting the clock pulses. Its contents determine the waiting time after a counter overflow. According to the processor readiness signal, in this case, the processing selects the application from this stream.
Если в процессе работы устройства содержимое нескольких счетчиков переполн етс , на обработку выбираетс за вка из потока с большим временем ожидани , а при их равенстве - с мейьшим позиционным номером. По мере выбора на обслуживание за вок из данных потоков с соответствующего выхода узла 9 устанавливаютс в нуль соответствующие счетчик 5 и триггеры 1, 2, 6. Если ЭВМ свободна и нет за вок на обработку, с триггеров 2 на элемент ИЛИ 15 подаютс нулевые потенциалы , а с его выхода нулевой потенциал поступает на элементы И 12 и 16. По входу 20 от ЭВМ также поступает сигнал нулевого уровн . В этом случае элементы 12 и 16 закрыты.If during the operation of the device the contents of several counters overflow, the application is selected for processing from a stream with a long waiting time, and if they are equal, with the lowest position number. As far as the choice is made for servicing the applications from these flows, the corresponding output 5 and triggers 1, 2, 6 are set to zero from the corresponding output of the node. If the computer is free and there is no application for processing, zero potentials are sent from the triggers 2 to the OR 15 element, and from its output the zero potential goes to the elements And 12 and 16. The input zero from the computer also receives a signal of zero level. In this case, elements 12 and 16 are closed.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU894753861A SU1689950A1 (en) | 1989-10-26 | 1989-10-26 | Multichannel scheduler |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU894753861A SU1689950A1 (en) | 1989-10-26 | 1989-10-26 | Multichannel scheduler |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| SU1689950A1 true SU1689950A1 (en) | 1991-11-07 |
Family
ID=21476902
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| SU894753861A SU1689950A1 (en) | 1989-10-26 | 1989-10-26 | Multichannel scheduler |
Country Status (1)
| Country | Link |
|---|---|
| SU (1) | SU1689950A1 (en) |
-
1989
- 1989-10-26 SU SU894753861A patent/SU1689950A1/en active
Non-Patent Citations (1)
| Title |
|---|
| Авторское свидетельство СССР № 959083, кл. Г, 06 F 9/46, 1980. Авторское свидетельство СССР № 1030802, кло G 06 F 9/46, 1982. * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| SU1689950A1 (en) | Multichannel scheduler | |
| SU898435A1 (en) | Device for handling interrogations | |
| RU1837288C (en) | Device for dynamic priority | |
| SU1495793A1 (en) | Dynamic priority unit | |
| SU1562913A1 (en) | Device for servicing group of inquiries | |
| SU1193676A1 (en) | Priority device with coding user number | |
| SU1539779A1 (en) | Device for servicing inquiries | |
| SU1599916A1 (en) | Code converter | |
| SU1084794A1 (en) | Device for servicing requests according to arrival order | |
| RU2207615C2 (en) | Priority request servicing device | |
| SU1434431A2 (en) | Queue organization device | |
| SU1345193A1 (en) | Multichannel device for connecting users to common line | |
| SU1168943A1 (en) | Variable priority device | |
| SU1327105A1 (en) | Multichannel priority device for distributing requests among processors | |
| SU1070551A1 (en) | Device for group servicing of requests | |
| SU1417000A2 (en) | Variable priority device | |
| SU1062683A1 (en) | Information input device | |
| SU1728975A1 (en) | Channel selector | |
| RU1777140C (en) | Requests servicing device | |
| SU1234837A1 (en) | Variable priority device with coding address | |
| SU1591025A1 (en) | Device for gc sampling of memory units | |
| SU1290344A1 (en) | Device for simulating the queueing systems | |
| SU1383352A1 (en) | Multichannel device for connecting subscribers to common trunk line | |
| SU1488801A1 (en) | Device for priority servicing of requests | |
| SU1140122A1 (en) | Multichannel device for servicing requests in computer system |