RU1777140C - Requests servicing device - Google Patents

Requests servicing device

Info

Publication number
RU1777140C
RU1777140C SU904915865A SU4915865A RU1777140C RU 1777140 C RU1777140 C RU 1777140C SU 904915865 A SU904915865 A SU 904915865A SU 4915865 A SU4915865 A SU 4915865A RU 1777140 C RU1777140 C RU 1777140C
Authority
RU
Russia
Prior art keywords
input
group
output
priority
inputs
Prior art date
Application number
SU904915865A
Other languages
Russian (ru)
Inventor
Сергей Павлович Кузнецов
Николай Николаевич Гудим
Владимир Георгиевич Ивановский
Original Assignee
Войсковая Часть 25840
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 Войсковая Часть 25840 filed Critical Войсковая Часть 25840
Priority to SU904915865A priority Critical patent/RU1777140C/en
Application granted granted Critical
Publication of RU1777140C publication Critical patent/RU1777140C/en

Links

Abstract

Изобретение относитс  к вычислительной технике, в частности к устройствам приоритетного обслуживани  запросов. Целью изобретени   вл етс  повышение надежности обслуживани  запросов путем устранени  конфликта у абонентов за ресурс обслуживающего прибора. В устройство введены группа регистров времени, второй элемент ИЛИ-НЕ, третий счетчик, треть  группа схем сравнени , п та  группа элементов И, третий элемент И, п тый и шестой элементы ИЛИ и третий дешифратор. В устройстве в ситуации, когда первоначально вы вленные равноприоритетные запросы имеют также и одинаковые исходные приоритетные коды, сравниваютс  коды времени, которые определ ют , какое врем  необходимо соответствующему абоненту на обслуживание. На обслуживание ставитс  тот абонент, который меньше по времени займет ресурс обслуживающего прибора. 1 ил. ЁThe invention relates to computing, in particular to priority request servicing devices. The aim of the invention is to increase the reliability of service requests by eliminating conflicts among subscribers over the resource of the serving device. A group of time registers, a second OR-NOT element, a third counter, a third group of comparison circuits, a fifth group of AND elements, a third AND element, a fifth and sixth OR element, and a third decoder are introduced into the device. In a device in a situation where the originally identified equal-priority requests also have the same initial priority codes, time codes are compared, which determine what time the corresponding subscriber needs for service. The subscriber who is less time consuming the resource of the service device is put on service. 1 ill. Yo

Description

Изобретение относитс  к вычислительной технике, в частности к устройствам приоритетного обслуживани  запросов.The invention relates to computing, in particular to priority request servicing devices.

Известно устройство дл  обслуживани  запросов 1, содержащее регистр за вок, группу счетчиков-регистров приоритета, две группы схем сравнени , три группы элементов И, группу элементов ИЛИ, три элемента ИЛИ, дешифратор, два счетчика, два элемента И, триггер, делитель частоты и генератор импульсов.A device for servicing requests 1, comprising a register for woks, a group of counters, priority registers, two groups of comparison schemes, three groups of AND elements, a group of OR elements, three OR elements, a decoder, two counters, two And elements, a trigger, a frequency divider, and pulse generator.

Недостатком данного устройства  вл етс  низка  надежность обслуживани  запросов , обусловленна  тем, что при совпадении приоритетных кодов нескольких за вок в очереди устройство будет одно- временно инициировать обслуживание нескольких абонентов, что  вл етс  недопустимым .The disadvantage of this device is the low reliability of service requests, due to the fact that if the priority codes of several requests in the queue coincide, the device will simultaneously initiate the service of several subscribers, which is unacceptable.

Наиболее близким техническим решением к предлагаемому  вл етс  устройство дл  обслуживани  запросов 2, содержащее регистр за вок, группу счетчиков приоритета , группу регистров приоритета, две группы схем сравнени , четыре группы элементов И, две группы элементов ИЛИ. группу дешифраторов, два счетчика, триггер управлени , элемент ИЛИ-НЕ, четыре элемента ИЛИ, два элемента И, генератор импульсов и делитель частоты.The closest technical solution to the proposed one is a request servicing device 2 comprising an order register, a group of priority counters, a group of priority registers, two groups of comparison circuits, four groups of AND elements, two groups of OR elements. a group of decoders, two counters, a control trigger, an OR-NOT element, four OR elements, two AND elements, a pulse generator and a frequency divider.

Недостатком данного устройства также  вл етс  низка  надежность обслуживани  запросов, обусловленна  тем, что первоначально вы вленные равноприоритетные запросы , имеющие также и одинаковые исходные приоритетные коды (т.е. в данный момент времени наиболее приоритетные запросы в очереди), вступив в конфликт заThe disadvantage of this device is also the low reliability of servicing requests, due to the fact that the initially identified equal priority requests, which also have the same initial priority codes (i.e., at the given time, the highest priority requests in the queue), are in conflict

V| VI VIV | VI VI

SS

ресурс обслуживающего прибора временно , до присвоени  им новых приоритетных кодов, станов тс  самыми низкоприоритетными и осуществл етс  поиск другой наиболее приоритетной св зи в очереди.the resource of the servicing device temporarily, until they are assigned new priority codes, becomes the lowest priority and a search is made for another priority communication in the queue.

Цель изобретени  - повышение надежности обслуживани  запросов путем учета времени обслуживани  за вок, вступивших за ресурс обслуживающего прибора. Учет времени обслуживани  за вок позвол ет из двух или более за вок, имеющих одинаковые первоначально вы вленные и исходные приоритетные коды (в результате чего по прототипу они вступают в конфликт за ресурс обслуживающего прибора), выделить на обслуживание эту за вку, котора  меньше по времени займет ресурс .обслуживающего прибора.The purpose of the invention is to increase the reliability of service requests by taking into account service time for woks that have entered the resource of the serving device. Accounting for servicing time for an application allows, from two or more applications having the same initially identified and initial priority codes (as a result of which, according to the prototype, they conflict for the resource of the servicing device), to allocate this service for service, which is less time-consuming will take a resource.

Поставленна  цель достигаетс  тем, что в устройство дл  обслуживани  запросов, содержащее N-разр дный регистр за вок, где N - число абонентов, группу из N счетчиков приоритета, первую и вторую группы из N схем сравнени , первую, вторую, третью и четвертую группы их N элементов И, первую и вторую группы элементов ИЛИ, делитель частоты, генератор импульсов, группу из N дешифраторов, первый и второй элементы И, первый, второй, третий и четвертый элементы ИЛИ, первый и второй счетчики, первый и второй дешифраторы, элемент ИЛИ-НЕ и триггер, 1-ый запросный вход устройства (I 1,1М) соединен с входом установки 1-го разр да регистра за вок, f-й выход которого соединен с первыми входами элементов И первой и второй группы, выход генератора импульсов соединен с первыми входами первого и второго элементов И и с входом делител  частоты, выход которого соединен со вторыми входами элементов И первой группы, вход запуска устройства соединен с первым входом первого элемента ИЛИ, выход которого соединен с входами установки первого и второго счетчиков и триггера, выход которого соединен со вторыми входами первого и второго элементов И, выход первого элемента И соединен с тактовым входом первого счетчика, выход которого соединен с первыми входами схем сравнени  первой группы, выход Равно 1-ой схемы сравнени  первой группы соединен с первым входом 1-го элемента И третьей группы, второй вход которого соединен с выходом 1-го, элемента И второй группы, 1-м входом второго элемента ИЛИ и 1-м входом первого дешифратора , 1-й выход которого соединен с первым входом 1-го элемента ИЛИ первой группы, выход которого  вл етс  1-м информационным выходом устройства и соединенThis goal is achieved in that in a device for servicing queries containing an N-bit register for wok, where N is the number of subscribers, a group of N priority counters, the first and second groups of N comparison schemes, the first, second, third and fourth groups their N elements AND, the first and second groups of OR elements, a frequency divider, a pulse generator, a group of N decoders, the first and second elements AND, the first, second, third and fourth OR elements, the first and second counters, the first and second decoders, the element OR NOT and trigger, 1st request the first input of the device (I 1.1M) is connected to the input of the installation of the 1st category of the register for the wok, the fth output of which is connected to the first inputs of the elements And of the first and second groups, the output of the pulse generator is connected to the first inputs of the first and second elements and with the input of the frequency divider, the output of which is connected to the second inputs of the AND elements of the first group, the device startup input is connected to the first input of the first OR element, the output of which is connected to the installation inputs of the first and second counters and the trigger, the output of which is connected to the second input the first and second elements AND, the output of the first AND element is connected to the clock input of the first counter, the output of which is connected to the first inputs of the comparison circuits of the first group, the output is equal to the 1st comparison circuit of the first group is connected to the first input of the 1st element AND of the third group, the second input of which is connected to the output of the 1st, AND element of the second group, the 1st input of the second OR element and the 1st input of the first decoder, the 1st output of which is connected to the first input of the 1st OR element of the first group, the output of which is with 1st information output triplets and connected

с вторым входом 1-го элемента ИЛИ второй группы и с 1-м входом третьего элемента ИЛИ, выход которого соединен со входами сброса первого и второго счетчиков, входомwith the second input of the 1st OR element of the second group and with the 1st input of the third OR element, the output of which is connected to the reset inputs of the first and second counters, the input

сброса триггера и третьим входом первого элемента И, ответный вход устройства соединен со вторым входом первого элемента ИЛИ, выход 1-го элемента И первой группы соединен со счетным входом 1-го счетчикаreset the trigger and the third input of the first element AND, the response input of the device is connected to the second input of the first element OR, the output of the 1st element AND of the first group is connected to the counting input of the 1st counter

0 группы, выход которого соединен с первым входом 1-й схемы сравнени  второй группы и с входом 1-го дешифратора группы, выход которого соединен с 1-м входом элемента ИЛИ-НЕ, выход которого соединен с треть5 ими входами элементов И первой группы, выход второго элемента И соединен с тактовым входом второго счетчика, выход которого соединен с вторыми входами схем сравнени  второй группы, выход 1-й схемы0 group, the output of which is connected to the first input of the 1st comparison circuit of the second group and to the input of the 1st decoder of the group, the output of which is connected to the 1st input of the OR-NOT element, the output of which is connected to the third 5 inputs of the AND elements of the first group, the output of the second element And is connected to the clock input of the second counter, the output of which is connected to the second inputs of the comparison circuits of the second group, the output of the 1st circuit

0 сравнени  второй группы соединен со вто- рым входом 1-го элемента И второй группы, 1-й вход кода приоритета устройства соединен с информационными входами 1-го счетчика группы и 1-го регистра группы, выход0 comparison of the second group is connected to the second input of the 1st element AND of the second group, the 1st input of the device priority code is connected to the information inputs of the 1st group counter and the 1st group register, output

5 1-го регистра группы соединен со вторым входом 1-й схемы сравнени  первой группы, 1-й запросный выход устройства соединен с выходом 1-го элемента И четвертой группы и с первым входом 1-го элемента ИЛИ вто0 рой группы, выход которого соединен со входами предварительной установки 1-го регистра группы и 1-го счетчика группы, 1-й информационный выход устройства соединен со входом сброса 1-го разр да регистра5 of the 1st register of the group is connected to the second input of the 1st comparison circuit of the first group, the 1st inquiry output of the device is connected to the output of the 1st AND element of the fourth group and the first input of the 1st OR element of the second group, the output of which is connected with the preset inputs of the 1st group register and the 1st group counter, the 1st information output of the device is connected to the reset input of the 1st register bit

5 за вок, дополнительно введены группа из N регистров времени, второй элемент ИЛИ- НЕ, третий счетчик, треть  группа из N схем сравнени , п та  группа элементов И, третий элемент И, п тый и шестой элементы5, in addition, a group of N time registers, a second OR-NOT element, a third counter, a third group of N comparison schemes, a fifth group of AND elements, a third AND element, a fifth and a sixth element are additionally introduced

0 ИЛИ, третий дешифратор, причем информационные входы регистров времени  вл ют- с  группой кодовых входов устройства, выход 1-го регистра времени подключен к первому входу 1-й схемы сравнени  третьей0 OR, the third decoder, and the information inputs of the time registers are a group of code inputs of the device, the output of the 1st time register is connected to the first input of the 1st comparison circuit of the third

5 группы, выход которой соединен со вторым входом 1-го элемента И п той группы, первый вход которого соединен с выходом 1-го элемента И третьей группы, 1-м входом шестого элемента ИЛИ и 1-м входом третьего5 groups, the output of which is connected to the second input of the 1st AND element of the fifth group, the first input of which is connected to the output of the 1st AND element of the third group, the 1st input of the sixth OR element and the 1st input of the third

0 дешифратора, i-й выход которого соединен со вторым входом 1-го элемента ИЛИ первой группы, выход 1-го элемента И п той группы соединен с первым входом 1-го элемента И четвертой группы и с 1-м входом второго0 decoder, the i-th output of which is connected to the second input of the 1st element OR of the first group, the output of the 1st element And the fifth group is connected to the first input of the 1st element AND of the fourth group and with the 1st input of the second

5 дешифратора, перва  группа выходов которого соединена с группой входов четвертого элемента ИЛИ, выход которого соединен с вторыми входами элементов И четвертой группы, 1-й выход второй группы выходов второго дешифратора соединен с третьим5 decoder, the first group of outputs of which is connected to the group of inputs of the fourth element OR, the output of which is connected to the second inputs of elements of the fourth group, the 1st output of the second group of outputs of the second decoder is connected to the third

входом i-ro элемента ИЛИ первой группы, выход второго элемента ИЛИ соединен с четвертым входом первого элемента И и с первым входом п того элемента ИЛИ, выход которого соединен с третьим входом второго элемента И, 1-й запросный выход устройства соединен с 1-м входом второго элемента ИЛИ-НЕ, выход которого соединен со вторым входом п того элемента ИЛИ и с п тым входом третьего элемента И, первый вход которого соединен с выходом триггера , второй вход которого соединен с выходом третьего элемента ИЛИ, третий вход которого соединен с выходом генератора импульсов, выход шестого элемента ИЛИ соединен с п тым входом второго элемента И и с четвертым входом третьего элемента -И, выход которого соединен с тактовым входом третьего счетчика, вход установки третьего счетчика соединен с выходом первого элемента ИЛИ, выход третьего элемента ИЛИ соединен со входом сброса третьего счетчика, выход которого соединен со вторыми входами схем сравнени  третьей группы, вход предварительной установки 1-го регистра времени группы соединен с выходом 1-го элемента ИЛИ второй группы.the i-ro input of the OR element of the first group, the output of the second OR element is connected to the fourth input of the first AND element and with the first input of the fifth OR element, the output of which is connected to the third input of the second AND element, the 1st request output of the device is connected to the 1st the input of the second OR-NOT element, the output of which is connected to the second input of the fifth OR element and the fifth input of the third AND element, the first input of which is connected to the output of the trigger, the second input of which is connected to the output of the third OR element, the third input of which is connected to the output gene pulse generator, the output of the sixth OR element is connected to the fifth input of the second AND element and to the fourth input of the third AND element, the output of which is connected to the clock input of the third counter, the installation input of the third counter is connected to the output of the first OR element, the output of the third OR element is connected to the reset input of the third counter, the output of which is connected to the second inputs of the comparison circuits of the third group, the preset input of the 1st group time register is connected to the output of the 1st OR element of the second group.

На чертеже приведена функциональна  схема устройства.The drawing shows a functional diagram of the device.

Устройство содержит регистр 1 за вок, N регистров 2 приоритета, N счетчиков 3 приоритета, N регистров 4 времени, группу из N элементов И 5, группу из N элементов ИЛИ б, группу из N элементов И 7, N схем 8 сравнени , N схем сравнени  9, N схем сравнени  10, группу из N элементов И 11, группу из N элементов И 12, группу из N элементов И 13, группу из N элементов ИЛИ 14. элемент ИЛИ 15, дешифратор 16, элемент ИЛИ 17, дешифраторы 18 и 19, элементы ИЛИ 20 и 21. элементы ИЛИ 22 и 23, элемент ИЛИ 24, элемент И 25, элемент ИЛИ 26. счетчики 27. 28 и 29, триггер 30 управлени , генератор 31 импульсов, делитель частоты 32, элементы ИЛИ-НЕ 33 и 34, группу из N дешифраторов 35, информационные входы 36, кодовые входы 37 и 38, вход 39 запуска, информационные выходы 40, запросные выходы 41, ответный вход 42.The device contains register 1 for application, N priority registers 2, N priority 3 counters, N time registers 4, a group of N elements AND 5, a group of N elements OR b, a group of N elements AND 7, N comparison circuits 8, N circuits comparison 9, N comparison schemes 10, a group of N elements AND 11, a group of N elements AND 12, a group of N elements AND 13, a group of N elements OR 14. element OR 15, decoder 16, element OR 17, decoders 18 and 19, OR elements 20 and 21. OR elements 22 and 23, OR element 24, AND element 25, OR element 26. counters 27. 28 and 29, control trigger 30, pulse generator 31, div Tel frequency 32 OR-NO elements 33 and 34, a group of N decoders 35, data inputs 36, code inputs 37 and 38, trigger input 39, data outputs 40, Query-outs 41, a return port 42.

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

Коды приоритетов абонентов по кодовым входам 37 устройства поступают на установочные входы регистров 2 приоритета и счетчиков 3. Наибольший из кодов соответствует абоненту самого высокого приоритета . По группам входов 38 устройства в регистры 4 времени занос тс  коды, определ ющие сколько времени потребуетс The subscriber priority codes for the code inputs 37 of the device go to the installation inputs of priority registers 2 and counters 3. The largest of the codes corresponds to the subscriber of the highest priority. On the groups of inputs 38 of the device in the registers 4 times entered codes that determine how much time will be required

каждому источнику за вок на обслуживание . Перед началом работы устройства триггер 30 и счетчики 27, 28 и 29 устройства наход тс  в нулевом состо нии. 5 Запросы от абонентов поступают по информационным входам 36 устройства в соответствующие разр ды регистра 1 за вок, число разр дов которого равно числу абонентов .each source for a wok for service. Before starting the operation of the device, the trigger 30 and the counters 27, 28 and 29 of the device are in the zero state. 5 Requests from subscribers are received through the information inputs of the device 36 to the corresponding bits of register 1 for the wake, the number of bits of which is equal to the number of subscribers.

10С приходом очередного i-ro запроса соответствующий разр д регистра 1 за вок устанавливаетс  в единичное состо ние и сигнал с его выхода открывает по первому входу 1-й элемент И 7 первой группы. Если 5 коды приоритетов во всех счетчиках-регистрах 3 не имеют максимального значени , то выходные сигналы всех дешифраторов 35 равны нулю. Сигнал с выхода элемента ИЛИ-НЕ 33 отпирает по третьим входам10With the arrival of the next i-ro request, the corresponding bit of register 1 at the wake is set to one state and the signal from its output opens the first element And 7 of the first group at the first input. If 5 priority codes in all the counter registers 3 do not have a maximum value, then the output signals of all decoders 35 are zero. The signal from the output of the element OR NOT 33 unlocks at the third inputs

0 элементы И 7 первой группы. Импульсы с выхода генератора 31 импульсов через делитель 32 частоты и элементы И 7 группы, открытые по первым и третьим входам, поступают на счетные входы соответствующих0 elements And 7 of the first group. The pulses from the output of the generator 31 pulses through the divider 32 frequency and elements And 7 groups, open at the first and third inputs, are fed to the counting inputs of the corresponding

5 счетчиков-регистров 3 приоритета. При достижении в одном из счетчиков-регистров 3 приоритета максимального приоритетного кода, единичный сигнал с выхода соответствующего дешифратора 35 прекращает по0 средством элемента ИЛИ-НЕ 33 подачу импульсов на входы всех счетчиков-регистров 3 приоритета. Таким образом, в счетчиках 3 формируютс  возрастающие последовательности кодов чисел до по вле5 ни  максимального приоритетного кода в одном из счетчиков 3.5 counters-registers 3 priorities. When the priority code is reached in one of the counter registers 3, a single signal from the output of the corresponding decoder 35 stops the supply of pulses to the inputs of all priority counter registers 3 by means of the OR-NOT 33 element. Thus, in the counters 3, ascending sequences of codes of numbers are formed up to 5 after the maximum priority code in one of the counters 3.

Сигнал начального пуска со входа 39 запуска устройства через первый элемент ИЛИ 26 поступает на входы установки вThe initial start signal from the input 39 of the start of the device through the first element OR 26 is supplied to the inputs of the installation in

0 единичное состо ние суммирующего счетчика 27, вычитающих счетчиков 28 и 29 и триггера 30 устройства. Сигнал с единичного выхода триггера 30 открывает по вторым входам элемент И 25 и элемент И 23, закры5 тый по четвертому входу нулевым сигналом с выхода элемента ИЛИ 15 устройства, а также открывает по первому входу элемент И 22, закрытый по четвертому входу нулевым си налом с выхода элемента ИЛИ 170 is the unit state of the totalizing counter 27, subtracting the counters 28 and 29 and the trigger 30 of the device. The signal from the single output of trigger 30 opens the And 25 element at the second inputs and the And 23 element, closed at the fourth input by a zero signal from the output of the OR element 15 of the device, and also opens the And 22 element at the first input, closed at the fourth input with a zero signal output element OR 17

0 устройства. Импульсы с выхода генератора 31 импульсов через элемент И 25, открытый по инверсному входу нулевым сигналом с выхода элемента ИЛИ 15 устройства через элемент ИЛИ 24, поступают на счетный вход0 devices. The pulses from the output of the generator of 31 pulses through the AND 25 element, open at the inverse input by a zero signal from the output of the OR element 15 of the device through the OR element 24, go to the counting input

5 счетчика 29, на выходе которого формируетс  убывающа  последовательность кодов чисел, начина  от максимально возможного. При совпадении кодов на выходе счетчика 29 с кодом в каком-либо счетчике 3 на выходе соответствующей l-ой схемы 9 сравнени 5 of the counter 29, at the output of which a decreasing sequence of codes of numbers is formed, starting from the maximum possible. If the codes at the output of the counter 29 coincide with the code in any counter 3 at the output of the corresponding l-th comparison circuit 9

по витс  единичный сигнал. Если в l-м разр де регистра 1 за вок зафиксирован запрос на обслуживание, то 1-й элемент И 11 второй группы открыт по первому входу единичным сигналом с выхода соответствующего разр да регистра 1 за вок. Единичный сигнал с выхода 1-й схемы 9 сравнени  через 1-й элемент И 11 второй группы поступит на второй вход 1-го элемента И 12 третьей группы , подготавлива  его открытие, и на 1-е входы элемента ИЛИ 15 и дешифратора 16 устройства. Единичный сигнал с выхода элемента ИЛИ 15 закрывает через п тый элемент ИЛИ 24 по третьему входу элемент И 25 и открывает по четвертому входу элемент И 23.a single signal is present. If a service request is recorded in the lth bit of register 1 for wok, then the 1st element 11 of the second group is opened at the first input with a single signal from the output of the corresponding bit of register 1 for wok. A single signal from the output of the 1st comparison circuit 9 through the 1st element And 11 of the second group will go to the second input of the 1st element And 12 of the third group, ready to open it, and to the 1st inputs of the OR element 15 and the decoder 16 of the device. A single signal from the output of the OR element 15 closes the And 25 element through the third element of the OR 24 at the third input and opens the And 23 element at the fourth input.

В дешифраторе 16 выделена группа из п выходов, каждый из которых соответствует кодовой комбинации на входе дешифратора 16, содержащего один единичный разр д (например: 00... 01; 00...010 и т.д.). По вление единичного сигнала на одном из выходов дешифратора 16 означает, что из очереди выделен один запрос на обслуживание , имеющий наибольший приоритет. Единичный сигнал с 1-го выхода дешифратора 16 через 1-й элемент ИЛИ 14 группы поступает на информационный выход 40 устройства, иницииру  обслуживание соответствующего абонента. Устанавливаютс  в нулевое состо ние 1-й счетчик 3,1-й регистр 2 приоритета, 1-й регистр времени и соответствующий разр д регистра 1 за вок, тем самым запрос снимаетс  из очереди на обслуживание . Сигнал с выхода 1-го элемента ИЛИ 14 группы поступает также через элемент ИЛИ 20 на входы установки в нулевое состо ние счетчиков 27, 28 и 29 и триггера 30 устройства, закрывает по второму входу элемент И 22 и по третьему входу элемент И 23, блокиру  поступление импульсов через элемент И 23 на вход счетчика 28 устройства . Таким образом устройство приходит в исходное состо ние, ожида  сигнала окончани  обслуживани  соответствующего абонента .In the decoder 16, a group of n outputs is allocated, each of which corresponds to a code combination at the input of the decoder 16 containing one unit bit (for example: 00 ... 01; 00 ... 010, etc.). The appearance of a single signal at one of the outputs of the decoder 16 means that one service request with the highest priority is allocated from the queue. A single signal from the 1st output of the decoder 16 through the 1st element OR group 14 is fed to the information output 40 of the device, initiating the service of the corresponding subscriber. The 1st counter, the 3.1st priority register 2, the 1st time register, and the corresponding bit of register 1 are set to zero, and the request is removed from the service queue. The signal from the output of the first element OR group 14 also comes through the element OR 20 to the inputs of the installation in the zero state of the counters 27, 28 and 29 and the trigger 30 of the device, closes the element And 22 on the second input and the element And 23 on the third input, blocking the arrival of pulses through the element And 23 to the input of the counter 28 of the device. Thus, the device returns to its original state, waiting for the end-of-service signal of the corresponding subscriber.

Отсутствие единичного сигнала на одном из выходов дешифратора 16 означает, что на его входе находитс  кодова  комбинаци , содержаща  две или более единиц (например 010...01; 110...00 и т.д.), т.е. единичные сигналы по вились одновременно на выходах нескольких схем сравнени , следовательно , наибольший приоритетный код имеют в данный момент времени несколько за вок на обслуживание. Приоритетные коды за вок в очереди измен ютс  с течением времени, поэтому дл  того, чтобы определить , какой абонент дблжен быть обслужен, необходимо сравнить исходные коды приоритетов абонентов, которые хран тс  в соответствующих регистрах 2 приоритета.The absence of a single signal at one of the outputs of the decoder 16 means that at its input there is a code combination containing two or more units (e.g. 010 ... 01; 110 ... 00, etc.), i.e. single signals appeared simultaneously at the outputs of several comparison circuits; therefore, at the moment of time several service requests have the highest priority code. Priority priority codes in the queue change over time, therefore, in order to determine which subscriber is to be served, it is necessary to compare the initial priority codes of the subscribers that are stored in the respective priority registers 2.

Сравнение исходных приоритетных кодов осуществл етс  с помощью счетчика 28The comparison of the source priority codes is carried out using the counter 28

устройства. После по влени  единичного сигнала на выходе элемента ИЛИ 15 оказываютс  открытыми по четвертому входу элемент И 23. Так как отсутствуют блокирующие сигналы на третьем входеdevices. After the appearance of a single signal at the output of the OR element 15, the And element 23 is open at the fourth input. Since there are no blocking signals at the third input

0 элемента И 23 с выхода элемента ИЛИ 20 и на п том входе элемента И 23 с выхода элемента ИЛИ 17, то элемент И 23 оказываетс  открытым и импульсы с выхода генератора 31 импульсов поступают на счетный0 of the AND 23 element from the output of the OR element 20 and at the fifth input of the And 23 element from the output of the OR element 17, the And 23 element is open and pulses from the output of the pulse generator 31 are fed to the counting

5 вход вычитающего счетчика 28. На выходе счетчика 28 формируетс  убывающа  последовательность двоичных кодов чисел, начина  от максимально возможного. При совпадении кодов на выходе счетчика 28 с5, the input of the subtracting counter 28. At the output of the counter 28, a decreasing sequence of binary codes of numbers is formed, starting from the maximum possible. If the codes match the counter output 28 s

0 кодом в каком-либо из регистров 2 приоритета группы, на выходе соответствующей 1-й схемы 8 сравнени  группы по витс  единичный сигнал, который через 1-й элемент И 12 группы, открытый по второму входу единич5 ным сигналом с выхода 1-го элемента И 11 группы, поступит на первый вход 1-го элемента И 13 группы, подготавлива  его открытие , и на 1-е входы элемента ИЛИ 17 и дешифратора 18 устройства. Единичный0 with a code in any of the registers 2 of the group priority, at the output of the corresponding 1st circuit 8 of the group comparison, there is a single signal, which is through the 1st element And 12 groups, open at the second input with a single signal from the output of the 1st element And 11 groups, will go to the first input of the 1st element And 13 groups, ready to open it, and to the 1st inputs of the OR element 17 and the device decoder 18. Unit

0 сигнал с выхода элемента ИЛ И 17 закрывает по п тому входу элемент И 23 и открывает по четвертому входу элемент И 22.0 the signal from the output of the element И И 17 closes the element И 23 at the first input and opens the element And 22 at the fourth input.

В дешифраторе 18 выделена группа из п выходов, каждый из которых соответству5 ет кодовой комбинации на входе дешифратора 18, содержащего один единичный разр д (например: 00...01; 00...010 и т.д.). По вление единичного сигнала на одном из выходов дешифратора 18 означает, что изIn the decoder 18, a group of n outputs is allocated, each of which corresponds to a code combination at the input of the decoder 18 containing one single bit (for example: 00 ... 01; 00 ... 010, etc.). The appearance of a single signal at one of the outputs of the decoder 18 means that from

0 первоначально вы вленных равноприори- тетных запросов один запрос имеет наибольший исходный приоритет , следовательно, он должен быть поставлен на обслуживание. Единичный сигнал с 1-гоOf the initially identified equal priority requests, one request has the highest initial priority, therefore, it should be put into service. Single signal from the 1st

5 выхода дешифратора 18 через 1-й элемент ИЛИ 14 группы поступает на информационный выход 40 устройства, иницииру  обслуживание соответствующего абонента. Устанавливаетс  в нулевое состо ние 1-й5, the output of the decoder 18 through the 1st element OR group 14 is fed to the information output 40 of the device, initiating the service of the corresponding subscriber. Set to zero state 1st

0 счетчик 3, 1-й регистр 2 приоритета, 1-й регистр времени и соответствующий разр д регистра 1 за вок, тем самым запрос снимаетс  из очереди на обслуживание. Сигнал с выхода 1-го элемента ИЛИ 14 группы посту5 пает также через элемент ИЛИ 20 на входы установки в нулевое состо ние счетчиков 27,28 и 29 и триггера 30 устройства и закрывает по третьему входу элемент И 23 и по второму входу элемент И 22. блокиру  поступление Импульсов через элемент И 22 на0 counter 3, 1st priority register 2, 1st time register and the corresponding bit of register 1 for wok, thereby removing the request from the service queue. The signal from the output of the first OR element 14 of the group 5 also arrives through the OR element 20 to the zero inputs of the counters 27.28 and 29 and the trigger 30 of the device and closes the And 23 element at the third input and the And 22 element at the second input. block the arrival of Impulses through the element And 22 on

временно, до присвоени  им новых приоритетных кодов, станов тс  самыми низкоприоритетными , что достигаетс  обнулением соответствующих регистров 2 приоритета, счетчиков 3 и регистров 4 времени. Единичные сигналы с запросных выходов 41 устройства поступают на 1-е входы второго элемента ИЛИ-НЕ 34, сигнал с выхода которого закрывает по п тому входу третий элемент И 24, блокиру  поступление импульсов на счетчик 27, а также через элемент ИЛИ 24 открывает по третьему входу элемент И 25, разреша  поступление импульсов на вход счетчика 29. Работа устройства продолжаетс . Осуществл етс  поиск другой наиболее приоритетной за вки в очереди. Существующие абоненты став тс  на обслуживание .temporarily, before they are assigned new priority codes, they become the lowest priority, which is achieved by resetting the corresponding priority registers 2, counters 3 and time registers 4. Single signals from the request outputs 41 of the device are supplied to the first inputs of the second OR-NOT 34 element, the output signal of which closes the third element And 24 by the first input, blocking the receipt of pulses to the counter 27, and also opens the third through the OR element 24 input element And 25, allowing the flow of pulses to the input of the counter 29. The operation of the device continues. Searches for another highest priority queue request. Existing subscribers are joining the service.

Таким образом, дополнительно введенные группы регистров 4 времени, п та  группа элементов И 13, третий счетчик 27, треть  группа 10 схем сравнени , третий элемент И 22, п тый и шестой элементы ИЛИ 24 и ИЛИ 17 соответственно, третий дешифратор 18, второй элемент ИЛИ-НЕ 34 позвол ют в ситуации, когда первоначально вы вленные равноприоритетные запросы, имеющие также одинаковые исходные приоритетные коды (в отличие от прототипа, в котором в этой ситуации возникает конфликт за ресурс обслуживающего прибора с последующей сигнализацией об изменении приоритетных кодов соответствующих абонентов , в результате чего за вки, вступившие в конфликт временно, до присвоени  им новых приоритетных кодов станов тс  самыми низкоприоритетными), сравнить коды времени, которые определ ют, какое врем  необходимо соответствующему абоненту на обслуживание. И тот абонент, который меньше по времени займет ресурс обслуживающего прибора, что определ етс  по влением первого (только одного) единичного сигнала с выхода соответствующей схемы 10 сравнени , первым ставитс  на обслуживание. В предлагаемом устройстве, в отличие от прототипа, конфликт за ресурс обслуживающего прибора у двух или более абонентов возникает тогда, когда первоначально вы вленные равноприоритетные запросы имеют одинаковые исходные приоритетные коды, а также и одинаковые временные коды. Таким образом, повышение надежности обслуживани  запросов очевидно. Следовательно, поставленна  цель достигнута.Thus, the additionally entered group of registers 4 times, the fifth group of elements AND 13, the third counter 27, the third group 10 of the comparison schemes, the third element AND 22, the fifth and sixth elements OR 24 and OR 17, respectively, the third decoder 18, the second element OR NOT 34 allow in a situation where the initially identified equal priority requests, which also have the same initial priority codes (unlike the prototype, in which in this situation there is a conflict over the resource of the servicing device with the subsequent signaling of a change when tative codes corresponding to the subscribers, whereby the application, in conflict temporarily assigning them to new priority codes become the most low priority), compare the time codes are determined, a time necessary for respective subscriber service. And the subscriber who takes less time the resource of the servicing device, which is determined by the appearance of the first (only one) single signal from the output of the corresponding comparison circuit 10, is put on service first. In the proposed device, in contrast to the prototype, a conflict for the resource of a serving device for two or more subscribers arises when the initially identified equal priority requests have the same initial priority codes, as well as the same time codes. Thus, improving the reliability of service requests is obvious. Therefore, the goal is achieved.

Формула изобретени  Устройство дл  обслуживани  запросов , содержащее N-разр дный регистр за вок (N-число абонентов устройства), группуSUMMARY OF THE INVENTION A request servicing device comprising an N-bit register for wok (N-number of device subscribers), a group

из N счетчиков приоритета, группу из N регистров приоритета, две группы из N схем сравнени , четыре группы из N элементов И, две группы элементов ИЛИ, делитель ча- 5 стоты, генератор импульсов, группу из N дешифраторов, два элемента И, четыре элемента ИЛИ, два счетчика, два дешифратора, элемент ИЛИ-НЕ и триггер, причем 1-й запросный вход устройства (I 1,N) соединенof N priority counters, a group of N priority registers, two groups of N comparison schemes, four groups of N AND elements, two groups of OR elements, a frequency divider, a pulse generator, a group of N decoders, two And elements, four elements OR, two counters, two decoders, an OR-NOT element and a trigger, with the 1st request input of the device (I 1, N) connected

0 с входом установки 1-го разр да регистра за вок, 1-й выход которого соединен с первыми входами элементов И первой и второй групп, выход генератора импульсов соединен с первыми пр мыми входами первого и0 with the input of the installation of the 1st category of the register for the wok, the first output of which is connected to the first inputs of the elements And of the first and second groups, the output of the pulse generator is connected to the first direct inputs of the first and

5 второго элементов И и с входом делител  частоты, выход которого соединен с вторыми входами элементов И первой группы, вход запуска устройства соединен с первым входом первого элемента ИЛИ, выход кото0 рого соединен с вторыми входами элементов И первой группы, вход запуска устройства соединен с первым входом первого элемента ИЛИ, выход которого соединен с входами установки первого и второго5 of the second AND element and with the input of the frequency divider, the output of which is connected to the second inputs of the AND elements of the first group, the device start input is connected to the first input of the first OR element, the output of which is connected to the second inputs of the AND elements of the first group, the device start input is connected to the first the input of the first OR element, the output of which is connected to the installation inputs of the first and second

5 счетчиков и триггера, пр мой выход которого соединен с вторыми пр мыми входами первого и второго элементов И, выход первого элемента И соединен с тактовым входом первого счетчика, выход которого5 counters and a trigger, the direct output of which is connected to the second direct inputs of the first and second elements AND, the output of the first element And is connected to the clock input of the first counter, the output of which

0 соединен с первыми входами схем сравнени  первой группы, выход Равно i-й схемы сравнени  первой группы соединен с первым входом 1-го элемента И третьей группы, второй вход которого соединен с выходом0 is connected to the first inputs of the comparison circuits of the first group, the output is equal to the ith comparison circuit of the first group is connected to the first input of the 1st element AND of the third group, the second input of which is connected to the output

5 1-го элемента И второй группы, i-м входом второго элемента ИЛИ и i-м входом первого дешифратора. 1-й выход которого соединен с первым входом 1-го элемента ИЛИ первой группы, выход которого  вл етс  1-м инфор0 мационным выходом устройства и соединен с вторым входом Ьго элемента ИЛИ второй группы и с i-м входом третьего элемента ИЛИ, выход которого соединен с входами сброса первого и второго счетчиков, входом5 of the 1st element AND of the second group, the i-th input of the second OR element and the i-th input of the first decoder. The 1st output of which is connected to the first input of the 1st OR element of the first group, the output of which is the 1st information output of the device and connected to the second input of the 6th OR element of the second group and with the i-th input of the third OR element, the output of which connected to the reset inputs of the first and second counters, input

5 сброса триггера и первым инверсным вхо- дом-первого элемента И, выход второго элемента ИЛИ соединен с третьим пр мым входом первого элемента И, ответный вход устройства соединен с вторым входом пер0 вого элемента ИЛИ, выход 1-го элемента И первой группы соединен со счетным входом 1-го счетчика приоритета группы, выход которого соединен с первым входом i-й схемы сравнени  второй группы и с входом 1-го5, reset the trigger and the first inverse input of the first AND element, the output of the second OR element is connected to the third direct input of the first AND element, the response input of the device is connected to the second input of the first OR element, the output of the 1st AND element of the first group is connected to the counting input of the 1st counter of the priority of the group, the output of which is connected to the first input of the i-th circuit of comparison of the second group and with the input of the 1st

5 дешифратора группы, выход которого соединен с i-м входом элемента ИЛИ-НЕ, выход которого соединен с третьими входами элементов И первой группы, выход второго элемента И соединен с тактовым входом второго счетчика, выход которого соединен5 of the group decoder, the output of which is connected to the i-th input of the OR-NOT element, the output of which is connected to the third inputs of the AND elements of the first group, the output of the second AND element is connected to the clock input of the second counter, the output of which is connected

с вторыми входами схем сравнени  второй группы, выход 1-й схемы сравнени  второй группы соединен с вторым входом 1-го элемента И второй группы. 1-й вход кода приоритета устройства соединен с информационными входами 1-го счетчика приоритета группы и 1-го регистра приоритета группы,выход 1-го регистра приоритета группы соединен с вторым входом 1-й схемы сравнени  первой группы, t-й запросный выход устройства соединен с выходом 1-го элемента И четвертой группы и с первым входом 1-го элемента ИЛИ второй группы, выход которого соединен с входами предварительной установки 1-го регистра приоритета группы и 1-го счетчика приоритета группы, 1-й информационный выход устройства соединен с входом сброса 1-го разр да регистра за вок, отличающеес  тем, что, с целью повышени  надежности обслуживани  запросов путем устранени  конфликта у абонентов за ресурс обслуживающего прибора, оно содержит группу из N регистров времени, второй элемент ИЛИ-НЕ, третий счетчик, третью группу из N схем сравнени , п тую группу из N элементов И, третий элемент И, п тый и шестой элементы ИЛИ, третий дешифратор, причем информационные входы регистров времени группы  вл ютс  группой кодовых входов устройства, выход 1-го регистра времени подключен к первому входу 1-й схемы сравнени  третьей группы, выход которой соединен с первым входом 1-го элемента И п той группы, второй вход которого соединен с выходом 1-го элемента И третьей группы , 1-м входом четвертого элемента ИЛИ м 1-м входом второго дешифратора, 1-й выходwith the second inputs of the comparison circuits of the second group, the output of the 1st comparison circuit of the second group is connected to the second input of the 1st element AND of the second group. The 1st input of the device priority code is connected to the information inputs of the 1st group priority counter and the 1st group priority register, the output of the 1st group priority register is connected to the second input of the 1st comparison scheme of the first group, the tth request output of the device connected to the output of the 1st element AND of the fourth group and to the first input of the 1st element OR of the second group, the output of which is connected to the preset inputs of the 1st group priority register and the 1st group priority counter, the 1st information output of the device is connected with input m of resetting the first bit of the register for woks, characterized in that, in order to increase the reliability of servicing requests by eliminating the conflict among subscribers over the resource of the serving device, it contains a group of N time registers, the second OR-NOT element, the third counter, the third a group of N comparison circuits, a fifth group of N elements AND, a third element AND, a fifth and sixth elements OR, a third decoder, and the information inputs of the group time registers are a group of code inputs of the device, the output of the 1st time register is connected to the firstthe input of the 1st comparison circuit of the third group, the output of which is connected to the first input of the 1st element AND of the fifth group, the second input of which is connected to the output of the 1st element AND of the third group, the 1st input of the fourth element OR m the 1st input second decoder, 1st output

которого соединен с вторым входом 1-го элемента ИЛИ первой группы, выход 1-го элемента И п той группы соединен с первым входом 1-го элемента И четвертой группы иwhich is connected to the second input of the 1st element OR of the first group, the output of the 1st element And the fifth group is connected to the first input of the 1st element AND the fourth group and

с i-м входом третьего дешифратора, перва  группа выходов которого соединена с группой входов п того элемента ИЛИ, выход которого соединен с вторыми входами элементов И четвертой группы, 1-й выходwith the i-th input of the third decoder, the first group of outputs of which is connected to the group of inputs of the fifth element OR, the output of which is connected to the second inputs of the elements of the fourth group, 1st output

второй группы выходов второго дешифратора соединен с третьим входом 1-го элемента ИЛИ первой группы, выход второго элемента ИЛИ соединен с первым входом шестого элемента ИЛИ, выход которого соединен сthe second group of outputs of the second decoder is connected to the third input of the 1st OR element of the first group, the output of the second OR element is connected to the first input of the sixth OR element, the output of which is connected to

инверсным входом второго элемента И, 1-й запросный выход устройства соединен с 1-м входом второго элемента ИЛИ-НЕ, выход которого соединен с вторым входом шесто; го элемента ИЛИ и с первым пр мым входомthe inverse input of the second AND element, the 1st interrogation output of the device is connected to the 1st input of the second OR-NOT element, the output of which is connected to the second pole input; th element OR and with the first direct input

третьего элемента И, второй пр мой вход которого соединен с выходом триггера, четвертый вход третьего элемента И соединен с выходом третьего элемента ИЛИ, третий пр мой вход которого соединен с выходомthe third AND element, the second direct input of which is connected to the trigger output, the fourth input of the third AND element is connected to the output of the third OR element, the third direct input of which is connected to the output

генератора импульсов, выход четвертого элемента ИЛИ соединен с вторым инверсным входом второго элемента И и с четвертым пр мым входом третьего элемента И, выход которого соединен с тактовым входом третьего счетчика, вход установки которого соединен с выходом первого элемента ИЛИ, выход третьего элемента ИЛИ соединен с входом сброса третьего счетчика, выход которого соединен с вторыми входамиpulse generator, the output of the fourth OR element is connected to the second inverse input of the second AND element and to the fourth direct input of the third AND element, the output of which is connected to the clock input of the third counter, the installation input of which is connected to the output of the first OR element, the output of the third OR element is connected to reset input of the third counter, the output of which is connected to the second inputs

схем сравнени  третьей группы, вход предварительной установки 1-го регистра времени группы соединен с выходом 1-го элемента ИЛИ второй группы.third group comparison circuits, the preset input of the 1st group time register is connected to the output of the 1st OR element of the second group.

Jfl-tff Jfl-tff

ff- ftff- ft

SU904915865A 1990-11-28 1990-11-28 Requests servicing device RU1777140C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU904915865A RU1777140C (en) 1990-11-28 1990-11-28 Requests servicing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU904915865A RU1777140C (en) 1990-11-28 1990-11-28 Requests servicing device

Publications (1)

Publication Number Publication Date
RU1777140C true RU1777140C (en) 1992-11-23

Family

ID=21563094

Family Applications (1)

Application Number Title Priority Date Filing Date
SU904915865A RU1777140C (en) 1990-11-28 1990-11-28 Requests servicing device

Country Status (1)

Country Link
RU (1) RU1777140C (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1256030, кл. G 06 F 9/46, 1985 г. Авторское свидетельство СССР № 1336000. кл. G 06 F 9/46, 1987 г. (прототип). *

Similar Documents

Publication Publication Date Title
RU1777140C (en) Requests servicing device
SU1695301A1 (en) Device for priority service of requests
SU1434431A2 (en) Queue organization device
SU1495793A1 (en) Dynamic priority unit
SU1539779A1 (en) Device for servicing inquiries
SU1070551A1 (en) Device for group servicing of requests
RU1807485C (en) Device for foreground servicing of requests
SU1336004A1 (en) Inquiry service device
SU1562913A1 (en) Device for servicing group of inquiries
SU1689950A1 (en) Multichannel scheduler
SU1137468A1 (en) Priority device
SU1120328A1 (en) Device for priority processing of requests
SU898435A1 (en) Device for handling interrogations
SU1256030A1 (en) Priority servicing device
SU1388864A2 (en) Device for servicing queued requests
SU1111162A1 (en) Multichannel device for servicing interrogations with accessory priority codes
SU1711163A1 (en) Calls priority queuing system
SU1513460A1 (en) Device for controlling information exchange
SU1130868A2 (en) Device for servicing interrogations
SU1488801A1 (en) Device for priority servicing of requests
RU1837288C (en) Device for dynamic priority
SU1352488A1 (en) Inquiry service device
SU1141412A1 (en) Device for servicing requests
SU1156075A1 (en) Device for servicing requests
SU1718219A2 (en) Server for a group of calls of different priorities