SU1049911A1 - Device for group servicing of inquiries - Google Patents
Device for group servicing of inquiries Download PDFInfo
- Publication number
- SU1049911A1 SU1049911A1 SU823476322A SU3476322A SU1049911A1 SU 1049911 A1 SU1049911 A1 SU 1049911A1 SU 823476322 A SU823476322 A SU 823476322A SU 3476322 A SU3476322 A SU 3476322A SU 1049911 A1 SU1049911 A1 SU 1049911A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- counter
- comparison circuit
- inputs
- Prior art date
Links
Landscapes
- Bus Control (AREA)
Abstract
УСТРОЙСТВО ДЛЯ ГРУППОВОГО ОБСЛУЖИВАНИЯ ЗАПРОСОВ, содержащее блок приоритета, кодовый вход и выход которого вл ютс соответственно запросным входом и разрешающим выходом устройства, триггер, выход . которого и тактовый вход устройства соединены соответственно с первым и вторым входами элемента..И, выход которого соединен со счетным входом счетчика, дешифратор, выход которого соединен с опросным входом блока приоритета, причемвыход блока приоритета соединен с гас щим входом триггера, установочный вход которого вл етс разрешающим входом устройства , а выход счетчика соединен с входом дешифратора vi с выходом прерывани устройства,элемент ИЛИ, отличающеес тем, что, с целью повышени быстродействи , в него введены N компараторов (N количество запросов), каждый из которых содержит два регистра, схему сравнени , элемент И и элемент ИЛИ, первый вход которого соединен с входом запуска устройства, выход элемента ИЛИ - с первым входом элемента И и с соответствующим входом элемента ИЛИ устройства, установочные входы устройства подключены к входам соответствующих регистров, выход о 9 первого регистра соединен с вторым входом элемента И, выход которого л с соединен с установочным входом счетчика , а выход второго регистра соединен с первым входом схемы сравнени , второй вход которой соединен с выходом счетчика, а выход схемы сравнени соединен с вторым входом элемента ИЛИ последующего компара тора, выход схемы сравнени послед него компаратора соединен с вторым входом элемента ИЛИ первого компасо ратора, выход элемента ИЛИ устройства соединенС управл ющим входом счетчика.A DEVICE FOR GROUP SERVICE OF INQUIRIES, containing a priority block, the code input and output of which are respectively a request input and a device enabling resolution, a trigger, an output. which and the clock input of the device are connected respectively to the first and second inputs of the element. And whose output is connected to the counter input of the counter, the decoder whose output is connected to the interrogative input of the priority block, and the output of the priority block is connected to the extinguishing trigger input, the setting input of which is The device allows the input, and the output of the counter is connected to the input of the decoder vi with the output of the device interrupt, an OR element, characterized in that, in order to increase speed, N comparators are entered into it s (N is the number of requests), each of which contains two registers, a comparison circuit, the AND element and the OR element, the first input of which is connected to the device start input, the output of the OR element — with the first input of the AND element and with the corresponding input of the OR element of the device; the inputs of the device are connected to the inputs of the respective registers, the output about 9 of the first register is connected to the second input of the element I, the output of which l c is connected to the installation input of the counter, and the output of the second register is connected to the first input of the comparison circuit, The input of which is connected to the output of the counter, and the output of the comparison circuit is connected to the second input of the OR element of the subsequent comparator, the output of the comparison circuit of the last comparator is connected to the second input of the OR element of the first compassor, the output of the OR element of the device is connected to the control input of the counter.
Description
i i
Изобретение относитс к вычислительной технике и может Ьыть использовано в автоматизированных системах управлени , диагностических системах, системах сбора и обработки информации. , . The invention relates to computing and can be used in automated control systems, diagnostic systems, systems for collecting and processing information. ,
Известно устройство дл приоритетного обслуживани за вок, содержащее счетчик, дешифратор, элементы И, три элемента ИЛИ, два КЗ триггера, два элемента НЕ, элемент задержки .A device for priority service is known that contains a counter, a decoder, AND elements, three OR elements, two short-circuits of a trigger, two NOT elements, a delay element.
Недостатком устройства вл етс невозможность изменени пор дка обсл живани поступающих на вход устройства запросов..The drawback of the device is the impossibility of changing the order of servicing the incoming requests to the device.
Наиболее близким к изобретению по технической сущности вл етс устройство дл обслуживани , запросов , содержащее блок приоритета, кодовый вход и выход которого вл ютс соответственно запросным входом и ра решающим выходом .устройства, триггер выход которого и тактовый вход устройст-ва через элемент И соединены с счетным входом счетчика, )ратор, выход которого соединен с опросным входом блока приоритета, причем выход блока приоритета соединен с гас щим входом триггера, -установочный вход которого вл етс первым управл ющим входом устройства, а выход счетчика соединен с входом дешифратора и с выходом прерывани устройства, регистр, выход которого, соединен с установочным входом счетчика и через элемент ИЛИ с запускающим входом генератора одиночных импульсов , разрешающий вход которого через элемент НЕ соединен с выходом блока приоритета, а щторой управл ющий вход устройства вл етс входом регистраС.2. .The closest to the invention in its technical essence is a device for servicing requests containing a priority block whose code input and output are respectively a request input and a decision output of the device, the trigger output of which and the clock input of the device are connected to the counter input of the counter,) a rator whose output is connected to the polling input of the priority block, the output of the priority block connected to the damping trigger input, the set input of which is the first control input device, and the output of the counter is connected to the input of the decoder and the output of the device interrupt, the register whose output is connected to the installation input of the counter and through the OR element with the trigger input of the single pulse generator, which permits the input through the element NOT connected to the output of the priority block, and the control input of the device is a register C input. .
Однако в известном устройстве, в любом случае, производитс опрос всех запросных входов и нет возможности производить опрос в произвольном пор дке. Это ведет кУвеличению времени ожидани опроса групп запросов , необходимого дл К-и задачи.However, in a known device, in any case, a survey of all request inputs is performed and it is not possible to perform a survey in any order. This leads to an increase in the waiting time for polling groups of requests required for the K-and task.
Цель изобретени - повышение быстродействи засчет уменьшени времени ожидани опроса групп запросов ,The purpose of the invention is to increase speed by reducing the waiting time for polling groups of requests
.Дл достижени поставленной цели в устройство, содержащее блок приоритета , кодовый вход и выход которого вл ютс соответственно запросным входом и разрешающим выходом yciTo achieve this goal, a device containing a priority block whose code input and output are respectively a request input and an enable output yci.
i 99112i 99112
ройствэ, триггер, выход которого и тактовый вход устройства соединены соответственно с первым и вторым входами элемента И, ыход которого сое5 динен с счетным входом счетчика, дешифратор , выход которого соединен с опросным входом блока приоритета, причем выход блока приоритета соединен с гас щим входом триггера, ус10 тановочный вход которого вл етс разрешающим входом устройства, а выход счетчика соединен с входом дешифратора и с выходом прерывани устройства , элемент ИЛИ, введены N ком15 параторов (N - количество запросов), каждый из которых содержит два регистра , схему сравнени , элемент И и элемент ИЛИ, первый вход которого соединен с входом запуска устрой20 ства, выход элемента ИЛИ - с первым входом элемента И и с соответствующим входом элемента ИЛИ устройства, установочные входы устройства подключены к.входам соответствующихThe trigger, the output of which and the clock input of the device are connected respectively to the first and second inputs of the element, whose output is connected to the counting input of the counter, the decoder, the output of which is connected to the interrogation input of the priority block, and the output of the priority block is connected to the triggering input of the trigger The setpoint input of which is the device permitting input, and the counter output is connected to the decoder input and to the device interrupt output, the OR element, N com paractors are entered (N is the number of requests), each oryh comprises two registers, comparing circuit, an AND and an OR gate having a first input connected to the input run-OPERATION ustroy20, an output of OR - to the first input of the AND and the corresponding input of the OR device positioning device connected to inputs corresponding k.vhodam
25 регистров, выход первого регистра соединен с вторым входом элемента И, выход которого соединен с установочным входом счетчика, выход второго регистра соединён с первым25 registers, the output of the first register is connected to the second input of the element I, the output of which is connected to the installation input of the counter, the output of the second register is connected to the first
30 входом схемы сравнени , второй вход которой соединен с выходом счетчика , а выход схемы сравнени соединен с вторым входом элемента ИЛИ последующего компаратора, выход схемы сравнени последнего компаратора соединен с вторым входом элемента ИЛИ первого компаратора, выход элемента ИЛИ устройства соединен с управл ющим входом счетчика,30 by the input of the comparison circuit, the second input of which is connected to the output of the counter, and the output of the comparison circuit is connected to the second input of the OR element of the subsequent comparator, the output of the comparison circuit of the last comparator is connected to the second input of the OR element of the first comparator, the output of the OR element of the device is connected to the control input of the counter ,
др Схема компаратора осуществл ет сравнение двух двоичных чисел, одно из которых хранитс на одном из регистров компаратора, а другое подаетс на информационный вход компаj ратора, . .Another comparator circuit compares two binary numbers, one of which is stored in one of the comparator registers, and the other is fed to the information input of the computer,. .
На чертеже представлена структурна схема устройства.The drawing shows a block diagram of the device.
Устройство содержит блок 1 приоритета ,, триггер 2, элемент.И 3, счетчик , дешифратор 5, элемент ИЛИ 6, N компараторов 7 и имеет разрешающий 8, тактовый 9-, гас щий 10, запросный 11, опросный 12 входы, разрешающий выход 13 и выход рываний,The device contains priority block 1, trigger 2, element. And 3, counter, decoder 5, element OR 6, N comparators 7 and has enabling 8, clock 9-, extinguishing 10, interrogation 11, interrogation 12 inputs, enabling output 13 and the output of jerking,
метчик имеет счетный 15, установочный 16, управл ющий 17 входы, а компаратор 7 - информационныйthe tap has a counting 15, an adjusting 16, controlling 17 inputs, and a comparator 7 - an information
вход iSf информационный выход 19, входы 20 и 21 запуска, установочные входы 22 и 23 и управл ющие выходы и 25. Компаратор 7 содержит элемент ИЛИ 26, элемент И 27, регистры 28 и 29 и схему 30 сравнени .input iSf, information output 19, start inputs 20 and 21, setup inputs 22 and 23, and control outputs and 25. Comparator 7 contains the OR element 26, the AND element 27, the registers 28 and 29, and the comparison circuit 30.
Блок 1 содержит элемент ИЛИ и N элементов И, первые и вторые входы которых соединены соответственно с кодовым и опросным входами блока, а выходы - с входами элемента ИЛИ, выход которого соединен с выходом блока.Block 1 contains the OR element and N elements AND, the first and second inputs of which are connected respectively to the code and interrogation inputs of the block, and the outputs to the inputs of the OR element whose output is connected to the output of the block.
Устройство работает следующим образом.. The device works as follows.
В регистры 28 и 29 М компара- торов 7 через установочные входы 22 и 23 предварительно, записываютс коды начала и конца выбранных групп запросов. В предлагаемом устройстве цикл опроса запросов можно начинать с начала любой выбранной группы, дл чего на вход 20 запуска соответствующего п-го компаратора 7 подаетс импульсный сигнал Начало опроса. Сигнал с вхоДа 20 проходит элемент ИЛИ 26 открывает . элемент И 27, при этом код начала группы с регистра 28 поступает на установочный вход 1б счетчика . Одновременно с выхода элемента ИЛИ 2б сигнал проходит через элемент ИЛИ 6 на управл ющий 17 вход счетчика А. Код с регистра 28 записываетс в счетчик , При поступлений на разрешающий вход В устройства сигнала Разрешение опроса триггер 2 устанавливаетс в единичное состо ние и открывает элемент И 3. Сигналы с тактового входа 9 устройства проход т через элемент И 3 на счетныйIn registers 28 and 29 M of the comparators 7, through the installation inputs 22 and 23, the codes of the beginning and end of the selected request groups are recorded. In the proposed device, a query polling cycle can be started from the beginning of any selected group, for which a trigger signal is sent to the start input 20 of the corresponding nth comparator 7. The signal from input 20 passes the OR element 26 opens. element And 27, while the code of the beginning of the group from the register 28 is supplied to the installation input 1b of the counter. Simultaneously from the output of the element OR 2b, the signal passes through the element OR 6 to the control 17 input of counter A. The code from register 28 is recorded in the counter. When arriving at the signal enable input B of the signal device, the polling resolution trigger 2 is set to one and opens the AND 3 element The signals from the clock input 9 of the device pass through the AND 3 element to the counting
049911 4049911 4
вход 15 счетчика . Счетчик начинает счет с установленного в него кода начала группы. Код с выхода счетчика поступает на выход Иinput 15 counter. The counter starts counting with the group start code set in it. The code from the counter output goes to the output AND
5 прерывани устройства; через дешифра тор 5 на опросный вход 12 блока 1 приоритета (наличие Запроса на запросном 11 соответствует по влению сигнала на разрешающем выхо10 де 13 устройства который поступает на гас щий вход 10 триггера 2 и устанавливает его в нулевое состо ние , прекраща тем самым дальнейший просмотр запросов, после удовлет15 ворени запроса на обслуживание источник снимает сигнал Запрос, что соответствует сн тию его на разрешающем выходе 13 устройства, гас щем вЯоде 10 триггера 2 и уста20 новлению триггера 2 в единичное состо ние на вход схемы сравнени 30 п-го компаратора 7, котора срав нивает текущее значение счетчика с кодом конца группы на регистре5 device interrupts; through the decoder 5 to the interrogation input 12 of block 1 priority (the presence of the Request to request 11 corresponds to the appearance of a signal at the resolving output 10 of device 13 that goes to the damping input 10 of the trigger 2 and sets it to zero, thereby stopping further query viewing , after satisfying the service request, the source removes the request signal, which corresponds to removing it at the permissive output 13 of the device, extinguishing the IOD 10 of the trigger 2 and setting the trigger 2 to the input state of the circuit compared to 30, the nth comparator 7 which Cf. NIWA current counter value with the code end of groups to register
25 29 (при совпадении кодов с вы(oдa 25 п-го компаратора выдаетс сигнал запуска на вход 21 (п+1)-го компаратрра; по этому сигналу с входа И О (п+1) -го компаратора 7 в счетчик Ц запи2Q :сываетс новое значение кода начала груп1пы орегистра 28 (п+1)-го компаратора , после чего сигнал с входа 21 снимаетс , и счетчик 4 производит опрос (п+1)-й группы запросов.25 29 (if the codes coincide with you (on the 25th nth comparator, a trigger signal is output to input 21 (n + 1) -th comparator; by this signal from the input OO (n + 1) -th comparator 7 to the counter C recorded 2Q : a new value of the start code of the register of the 28 (n + 1) -th comparator is written, after which the signal from input 21 is removed, and the counter 4 performs a survey of the (n + 1) -th request group.
В известном устройстве уменьшаетс врем ожидани опроса групп запросов , за счет опроса только требуемых запросов и возможности произвольного размещени последовательности групп запросов. In a known device, the waiting time for polling groups of requests is reduced, due to polling only required requests and the possibility of randomly arranging a sequence of groups of requests.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU823476322A SU1049911A1 (en) | 1982-05-04 | 1982-05-04 | Device for group servicing of inquiries |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU823476322A SU1049911A1 (en) | 1982-05-04 | 1982-05-04 | Device for group servicing of inquiries |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1049911A1 true SU1049911A1 (en) | 1983-10-23 |
Family
ID=21024331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU823476322A SU1049911A1 (en) | 1982-05-04 | 1982-05-04 | Device for group servicing of inquiries |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1049911A1 (en) |
-
1982
- 1982-05-04 SU SU823476322A patent/SU1049911A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1049911A1 (en) | Device for group servicing of inquiries | |
SU970370A1 (en) | Program interruption device | |
RU2042191C1 (en) | Device for allocation processes in computing system | |
SU1612301A1 (en) | Device for forming a queue | |
SU1471192A1 (en) | Request priority handling unit | |
SU1354193A1 (en) | Device for controlling priority of connecting information sources to trunk line | |
SU1061142A1 (en) | Device for starting programs | |
RU2251145C2 (en) | Priority access device with limit on query search | |
SU1124305A2 (en) | Multichannel priority device | |
SU1196870A1 (en) | Device for servicing interrogations | |
SU1282124A1 (en) | Device for processing interruptions | |
SU1070551A1 (en) | Device for group servicing of requests | |
SU1267419A1 (en) | Priority device | |
SU1290322A1 (en) | Device for distributing jobs to processors | |
SU1418715A1 (en) | Variable priority device | |
SU1045228A1 (en) | Device for controlling query service | |
SU942023A1 (en) | Request servicing device | |
SU1594559A1 (en) | Device for distributing tasks among processors | |
SU1695300A1 (en) | Device for distribution of jobs between computers | |
SU1711163A1 (en) | Calls priority queuing system | |
SU1361722A1 (en) | Code converter | |
SU1485243A1 (en) | Request servicing unit | |
SU1388867A2 (en) | Variable priority device | |
SU1242949A1 (en) | Priority device for servicing interrogations in arrival order | |
SU1524051A2 (en) | Dynamic priority device |