SU1612301A1 - Device for forming a queue - Google Patents

Device for forming a queue Download PDF

Info

Publication number
SU1612301A1
SU1612301A1 SU894640047A SU4640047A SU1612301A1 SU 1612301 A1 SU1612301 A1 SU 1612301A1 SU 894640047 A SU894640047 A SU 894640047A SU 4640047 A SU4640047 A SU 4640047A SU 1612301 A1 SU1612301 A1 SU 1612301A1
Authority
SU
USSR - Soviet Union
Prior art keywords
group
channel
input
elements
trigger
Prior art date
Application number
SU894640047A
Other languages
Russian (ru)
Inventor
Игорь Витальевич Скакун
Original Assignee
Военная академия им.Ф.Э.Дзержинского
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Военная академия им.Ф.Э.Дзержинского filed Critical Военная академия им.Ф.Э.Дзержинского
Priority to SU894640047A priority Critical patent/SU1612301A1/en
Application granted granted Critical
Publication of SU1612301A1 publication Critical patent/SU1612301A1/en

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в вычислительных системах дл  организации приоритетной очереди к общему ресурсу. Цель изобретени  - расширение функциональных возможностей приоритетного обслуживани  за вок. Устройство содержит шифратор 1, каналы 21 - 2M, группы элементов И 31 - 3M-2, 41 - 4M-1, группу элементов ИЛИ 51 - 5M, группу триггеров 611 - 6MN, группы элементов И 711 - 7M-1, 811 - 8M(N-1), дешифратор 9. Устройство позвол ет обслуживать в первую очередь за вки более высокого приоритета, после обслуживани  которых начинаетс  обслуживание за вок более низкого приоритета. 1 ил.The invention relates to computing and can be used in computing systems for organizing a priority queue to a common resource. The purpose of the invention is to expand the functionality of the priority service of a stock. The device contains an encoder, channels 2 1 - 2 M , groups of elements AND 3 1 - 3 M-2 , 4 1 - 4 M-1 , group of elements OR 5 1 - 5 M , group of triggers 6 11 - 6 MN , groups of elements And 7 11 - 7 M-1 , 8 11 - 8 M (N-1) , a decoder 9. The device allows to serve first priority priority requests, after which service the lower priority request starts. 1 il.

Description

Изобретение относится к вычислительной технике и может быть использовано в вычислительных системах для организации приоритетной очереди к общему ресурсу.The invention relates to computer technology and can be used in computer systems to organize a priority queue for a shared resource.

Цель изобретения - расширение функциональных возможностей устройства за счет возможности приоритетного обслуживания заявок.The purpose of the invention is the expansion of the functionality of the device due to the possibility of priority service applications.

На чертеже изображена структурная схема устройства.The drawing shows a structural diagram of a device.

Устройство содержит шифратор 1, каналы 2i - 2m, группы элементов И 3ι - Згп-2, 4ι ~ 4m-i, группу элементов ИЛИ 5t - 5П, группу триггеров 6ц - 6mn, группы элементов И 7ц 7т-1.п-1, 8ц - 8т(п-1), дешифратор 9, группу входов устройства 10ι - 10κ+ι, группу выходов устройства 111 - 11к.The device contains an encoder 1, channels 2i - 2m, a group of elements And 3ι - Згп-2, 4ι ~ 4 m -i, a group of elements OR 5t - 5 П , a group of triggers 6ts - 6 m n, a group of elements And 7ts 7t-1. p-1, 8c - 8t (p-1), decoder 9, the group of inputs of the device 10ι - 10κ + ι, the group of outputs of the device 111 - 11k.

Устройство работает следующим образом.The device operates as follows.

При включении питания все триггеры βι 1 - 6mn устанавливаются в исходное (кулевое) состояние.When the power is turned on, all βι 1 - 6mn triggers are set to their initial (cool) state.

Параллельный код первого запроса (заявка) от какого-либо абонента на связь с обслуживающим прибором по входам устройства 10ι - 10ι< поступает на входы дешифратора 9, где он дешифрируется и в результате на одном из выходов дешифратора 9 появляется сигнал. Допустим, сигнал появился на i-м выходе дешифратора 9. Это означает, что абонент i-ro приоритета нуждается в обслуживании. Сигнал с i-ro выхода дешифратора поступает на вход i-ro канала и перебрасывает в единичное состояние только последний, n-й триггер i-ro канала, причем i = 1,m, где гп - число приоритетов, а ] = Тщ, где η - число мест в очереди выбранного канала. Перейдя в единичное состояние, n-й триггер своим потенциалом с единичного выхода открывает элемент И 8ц и тем самым подготавливает к записи триггер 621. И таким образом, при наличии импульсов в i-м канале на входе все триггера этого канала перебрасываются в единичное состояние. Для правильной записи информации необходимо выполнение неравенства:A parallel code of the first request (application) from a subscriber for communication with the service device at the inputs of the device 10ι - 10ι <is fed to the inputs of the decoder 9, where it is decoded and as a result a signal appears on one of the outputs of the decoder 9. Suppose a signal appears on the i-th output of the decoder 9. This means that the i-ro priority subscriber needs to be serviced. The signal from the i-ro output of the decoder enters the input of the i-ro channel and throws only the last, nth trigger of the i-ro channel to a single state, with i = 1, m, where rn is the number of priorities, and] = Tm, where η - the number of places in the queue of the selected channel. Having switched to the single state, the nth trigger with its potential from a single output opens the And 8c element and thereby prepares trigger 621 for recording. And thus, if there are pulses in the ith channel at the input, all the triggers of this channel are transferred to the single state. For the correct recording of information, the following inequality must be satisfied:

Т* < Ти + Тт, где Т - длительность импульса запроса: Ти - время срабатывания элемента И: Тт - время срабатывания триггера. Это необходимо для того, чтобы при поступлении импульса запроса в единичное состояние перебрасывается только один триггер в i-м канале. Все потенциалы с единичных выходов триггеров 1-го канала поступают на входы соответствующего элемента ИЛИ 5i, в результате на его выходе присутствует потенциал, пока не перебросятся в нулевое состояние все триггеры 1-го канала.T * <T and + T t , where T is the duration of the request pulse: Ti is the response time of the element And: Tt is the trigger time. This is necessary so that when a request pulse arrives in a single state, only one trigger in the ith channel is transferred. All potentials from the single outputs of the triggers of the 1st channel are supplied to the inputs of the corresponding OR element 5i, as a result, there is a potential at its output until all the triggers of the 1st channel are transferred to the zero state.

Этот потенциал проходит через элемент И 4i при условии, что на остальных входах элемента И 4; присутствуют разрешающие потенциалы, и поступает на вход шифратора 1. В результате этого на выходах 111 - 11k появляется код. свидетельствующий о том, что в данный момент времени необходимо обслужить запрос i-ro канала. Если же на остальных входах элемента И 4| присутствуют запрещающие потенциалы с нулевых выходов первых триггеров более приоритетных каналов, то это говорит о том, что в очереди есть запросы более высокого приоритета. После обслуживания всех запросов более высоких приоритетов Начинают обслуживаться запросы i-ro приоритета. После обслуживания любого из запросов на вход 10к+1 устройства поступает импульс, который сбрасывает в нулевое состояние только один триггер, самый нижний по чертежу, наиболее приоритетного канала. Для того, чтобы сбрасывался только один триггер, необходимо выполнение следующего неравенства:This potential passes through the And 4i element, provided that at the other inputs of the And 4 element; resolving potentials are present, and is fed to the input of encoder 1. As a result of this, a code appears on outputs 111 - 11k. indicating that at this point in time it is necessary to service the i-ro channel request. If on the other inputs of the element And 4 | if there are inhibitory potentials from the zero outputs of the first triggers of higher priority channels, this indicates that there are higher priority requests in the queue. After serving all requests of higher priorities, i-ro priority requests begin to be serviced. After servicing any of the requests for input 10k + 1 of the device, an impulse arrives, which resets to zero only one trigger, the lowest one in the drawing, of the highest priority channel. In order for only one trigger to be reset, the following inequality must be satisfied:

Т**<Ти + Тт, Λ Ά где Т - длительность импульса сброса;T ** <Ti + T t , Λ Ά where T is the duration of the reset pulse;

Ти - время срабатывания элемента И: Тт - время срабатывания триггера.Ty - response time of the element And: T t - response time of the trigger.

Если запрос от абонента на связь поступает не в виде кода, а в виде только одного сигнала, то в этом случае достаточно подать · этот сигнал на вход элемента И 8 группы соответствующего канала.If the request from the subscriber for communication does not come in the form of a code, but in the form of only one signal, then in this case it is enough to apply this signal to the input of the And 8 element of the group of the corresponding channel.

Claims (1)

Формула изобретенияClaim Устройство для организации очереди, содержащее шифратор, дешифратор, а в каждом канале группу из η триггеров, группу из (п-1) (где η - число мест в очереди) элементов И и элемент ИЛИ, в первом канале - группу из (п-1) элементов И, во втором канале - группу из η элементов И, а во всех последующих каналах - группу из η элементов И, причем в каждом канале выход каждого элемента И первой группы соединен с нулевым входом соответствующего триггера группы, выход i-ro (1 = 1.....п-1) элементаA device for organizing a queue containing an encoder, a decoder, and in each channel a group of η triggers, a group of (n-1) (where η is the number of places in the queue) of AND elements and an OR element, in the first channel, a group of (n- 1) And elements, in the second channel, a group of η And elements, and in all subsequent channels, a group of η And elements, and in each channel, the output of each And element of the first group is connected to the zero input of the corresponding group trigger, i-ro output ( 1 = 1 ..... n-1) of the element И второй группы соединен с единичным входом (i+1)-ro триггера группы, первый вход каждого элемента И первой группы соединен с входом сброса устройства, первые входы всех элементов И второй группы в каждом канале соединены.между собой, о тличающееся тем, что, с целью расширения функциональных возможностей за счет возможности приоритетного обслуживания заявок, оно в каждом канале, кроме первого, содержит первый элемент И, а в каналах, начиная с третьего, содержит второй элемент И, причем входы запросов уст5 ройства соединены с соответствующими входами дешифратора, выходы которого соединены с первыми входами элементов И второй группы и с единичным входом первого триггера группы соответствующего ка- 5 нала, единичные выходы всех триггеров группы соединены с входами элемента ИЛИ своего канала, единичный выход 1-го триггера группы соединен с вторым входом 1-го элемента И второй группы, нулевой выход J-ro триггера группы (j = 2 ... η) соединен с вторым входом (1-1)-го элемента И первой группы своего канала, вход сброса устройства соединен с нулевым входом η-го триггера группы первого канала, выход 15 элемента ИЛИ первого канала соединен с первым входом шифратора, выходы которого являются выходами устройства, выход элемента ИЛИ k-го канала (к = 2 ... гл, где m число приоритетов) соединен с первым входом первого элемента И своего канала, выход которого соединен с соответствующим входом шифратора, нулевой выход первого триггера группы первого канала соединен с вторым входом третьего элемента И второго канала, с третьими входами элементов И первой группы второго и с первыми входами четвертых элементов И всех последующих каналов, нулевой выход первого триггераAnd the second group is connected to a single input (i + 1) -ro of the group trigger, the first input of each element And the first group is connected to the reset input of the device, the first inputs of all elements And the second group in each channel are connected. , in order to expand the functionality due to the possibility of priority servicing of requests, it contains in each channel, except the first, the first element And, and in the channels, starting from the third, contains the second element And, moreover, the request inputs of the device are connected to the corresponding odes of the decoder, the outputs of which are connected to the first inputs of the AND elements of the second group and to the single input of the first trigger of the group of the corresponding channel, the individual outputs of all the triggers of the group are connected to the inputs of the OR element of their channel, the single output of the 1st trigger of the group is connected to the second input Of the 1st element And the second group, the zero output of the J-ro trigger of the group (j = 2 ... η) is connected to the second input of the (1-1) -th element And the first group of its channel, the reset input of the device is connected to the zero input η channel group one trigger, exit d 15 element OR of the first channel is connected to the first input of the encoder, the outputs of which are the outputs of the device, the output of the OR element of the k-th channel (k = 2 ... hl, where m is the number of priorities) is connected to the first input of the first element AND of its channel, the output which is connected to the corresponding input of the encoder, the zero output of the first trigger of the first channel group is connected to the second input of the third AND element of the second channel, with the third inputs of the AND elements of the first group of the second and with the first inputs of the fourth elements AND of all subsequent channels, zero in the stroke of the trigger 1-го (1 = 2 ... ш-1) канала соединен с вторым входом четвертого элемента И (1+1)-го канала, выход которого соединен с третьими входами элементов И первой группы и с вторым входом третьего элемента И своего канала.The 1st (1 = 2 ... sh-1) channel is connected to the second input of the fourth element of the AND (1 + 1) channel, the output of which is connected to the third inputs of the elements of the first group and with the second input of the third element of the own channel .
SU894640047A 1989-01-19 1989-01-19 Device for forming a queue SU1612301A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894640047A SU1612301A1 (en) 1989-01-19 1989-01-19 Device for forming a queue

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894640047A SU1612301A1 (en) 1989-01-19 1989-01-19 Device for forming a queue

Publications (1)

Publication Number Publication Date
SU1612301A1 true SU1612301A1 (en) 1990-12-07

Family

ID=21423989

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894640047A SU1612301A1 (en) 1989-01-19 1989-01-19 Device for forming a queue

Country Status (1)

Country Link
SU (1) SU1612301A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 945867, кл. G 06 F 9/46. 1982. Авторское свидетельство СССР Мг 1193677, кл. G 06 F 9/46, 1984. *

Similar Documents

Publication Publication Date Title
SU1612301A1 (en) Device for forming a queue
SU1471192A1 (en) Request priority handling unit
SU1695300A1 (en) Device for distribution of jobs between computers
SU1361722A1 (en) Code converter
SU962949A1 (en) Multichannel device for priority servicing of requests
SU1140122A1 (en) Multichannel device for servicing requests in computer system
SU1070551A1 (en) Device for group servicing of requests
SU1506447A1 (en) Device for routing commands to processors
SU1265773A1 (en) Multichannel priority device
SU1096645A1 (en) Multichannel device for priority pulse selection
SU1495794A1 (en) Multichannel priority unit for servicing requests
SU1070553A1 (en) Device for servicing requests
SU1474648A1 (en) Device for distribution of tasks between computers
SU493779A1 (en) The control device of the transfer of information of a digital computer
SU1485241A1 (en) Multichannel priority service unit
SU1434431A2 (en) Queue organization device
SU678489A1 (en) Device for optimization ofcomplex system structure
SU877543A1 (en) Device with dynamic priority change
SU1084796A1 (en) Device for determining arrival priority of digital signals
SU1444767A1 (en) Multichannel device for sequencing requests
SU1275443A1 (en) Multichannel priority device
SU1319034A1 (en) Multichannel device for servicing interrogations
SU1764053A1 (en) Multichannel device for current claim servicing control
SU1246096A1 (en) Device for distributing jobs among processors
SU970373A1 (en) Multichannel device for priority control