RU2216768C2 - Priority request servicing device - Google Patents

Priority request servicing device Download PDF

Info

Publication number
RU2216768C2
RU2216768C2 RU2001121619/09A RU2001121619A RU2216768C2 RU 2216768 C2 RU2216768 C2 RU 2216768C2 RU 2001121619/09 A RU2001121619/09 A RU 2001121619/09A RU 2001121619 A RU2001121619 A RU 2001121619A RU 2216768 C2 RU2216768 C2 RU 2216768C2
Authority
RU
Russia
Prior art keywords
register
request
input
key
counter
Prior art date
Application number
RU2001121619/09A
Other languages
Russian (ru)
Other versions
RU2001121619A (en
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 RU2001121619/09A priority Critical patent/RU2216768C2/en
Publication of RU2001121619A publication Critical patent/RU2001121619A/en
Application granted granted Critical
Publication of RU2216768C2 publication Critical patent/RU2216768C2/en

Links

Landscapes

  • Bus Control (AREA)
  • Multi Processors (AREA)

Abstract

FIELD: computer engineering. SUBSTANCE: priority request servicing device noted for reduced hardware requirements and improved control of its operation has request register, OR gate, AND gate, clock generator, counter, switches, register, demultiplexer, and decoder. EFFECT: enhanced reliability and speed of device. 1 cl, 1 dwg

Description

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

Известно устройство для приоритетного обслуживания запросов [1], содержащее регистр заявок, входы которого подключены к информационным входам устройства, регистры приоритета, элементы И, ИЛИ, счетчик, выходы которого соединены с первыми входами схем сравнения, выходы которых подключены к первым входам элементов И первой группы, а счетный вход счетчика соединен с выходом элемента И, первый инверсный вход которого подключен к нулевому входу триггера управления, единичный вход которого через первый элемент ИЛИ соединен с управляющими входами устройства и с единичным входом счетчика, и генератор импульсов. A device for priority servicing of requests [1], comprising a register of applications, the inputs of which are connected to the information inputs of the device, priority registers, AND, OR elements, a counter whose outputs are connected to the first inputs of the comparison circuits, the outputs of which are connected to the first inputs of the elements AND the first groups, and the counter counter input is connected to the output of the AND element, the first inverse of which is connected to the zero input of the control trigger, the single input of which is connected through the first OR element to the input control devices with a single counter input, and a pulse generator.

Недостатком устройства является наличие ограниченных функциональныx возможностей, так как при большом числе разноприоритетных заявок время ожидания заявки с низким приоритетом оказывается очень большим, что в ряде случаев является недопустимым и может привести к потере низкоприоритетных заявок. The disadvantage of this device is the availability of limited functionality, since with a large number of different-priority applications, the waiting time for applications with a low priority is very long, which in some cases is unacceptable and can lead to the loss of low-priority applications.

Наиболее близким техническим решением к предлагаемому является устройство для обслуживания запросов [2], позволяющее расширить функциональные возможности устройства за счет обеспечения учета времени ожидания при обслуживании запросов и содержащее регистр заявок, регистры приоритета, выполненные в виде суммирующих счетчиков, две группы элементов И, две группы элементов ИЛИ, счетчик, генератор импульсов и делитель частоты. The closest technical solution to the proposed one is a device for servicing queries [2], which allows to expand the functionality of the device by providing accounting for latency when servicing queries and containing a register of applications, priority registers made in the form of summing counters, two groups of elements AND, two groups elements OR, counter, pulse generator and frequency divider.

Недостатком устройства является низкое быстродействие, большая сложность и, как следствие, низкая надежность. The disadvantage of this device is the low speed, high complexity and, as a consequence, low reliability.

Цель изобретения - повышение надежности и быстродействия устройства за счет сокращения его аппаратурного состава и улучшения управления его работой. The purpose of the invention is to increase the reliability and speed of the device by reducing its hardware and improving control over its operation.

Поставленная цель достигается тем, что в устройство приоритетного обслуживания запросов, содержащее регистр запросов, единичные входы разрядов которого соединены с информационными входами устройства, а выходы связаны с входами элемента ИЛИ, выход которого соединен с первым входом элемента И, второй вход которого соединен с линией разрешения принятия запроса, а выход элемента И соединен через ключ с разрешающим входом генератора тактовых импульсов, выход генератора соединен через ключ с входом счетчика. Информационные выходы счетчика соединены через регистр и ключ с управляющими демультиплексора и со входами дешифратора, выходы которого поступают на информационные выходы устройства. This goal is achieved by the fact that in the device priority service requests, containing a register of requests, the unit inputs of the bits of which are connected to the information inputs of the device, and the outputs are connected to the inputs of the OR element, the output of which is connected to the first input of the element And, the second input of which is connected to the permission line accepting the request, and the output of the And element is connected through a key to the enable input of the clock generator, the output of the generator is connected through the key to the counter input. Information outputs of the counter are connected through the register and key to the control of the demultiplexer and to the inputs of the decoder, the outputs of which are sent to the information outputs of the device.

Схема устройства приведена на чертеже. The device diagram is shown in the drawing.

Устройство приоритетного обслуживания запросов содержит регистр запросов 1, элемент ИЛИ 2, элемент И 6, генератор тактовых импульсов 10, счетчик 5, ключ, управляющий входом счетчика 8, ключ, управляющий входом регистра 3, регистр 4, демультиплексор 7, ключ, управляющий входом дешифратора 9, дешифратор 11, информационные входы устройства 12, линия разрешения принятия запроса 13, линия подтверждения обнаружения запроса 14, информационные выходы устройства 15, линии сброса заявки с регистра запроса 16. The priority request servicing device comprises a request register 1, an OR element 2, an AND element 6, a clock pulse generator 10, a counter 5, a key controlling the input of the counter 8, a key controlling the input of the register 3, a register 4, a demultiplexer 7, a key controlling the input of the decoder 9, the decoder 11, the information inputs of the device 12, the line for the acceptance of the request 13, the line for confirming the detection of the request 14, the information outputs of the device 15, the line for resetting the request from the request register 16.

Устройство приоритетного обслуживания работает следующим образом. На единичные входы разрядов регистра запросов 1 с информационных входов 12 поступают запросы на обслуживание заявок, устанавливая соответствующие разряды регистра в единичное состояние. Запросы имеют свои приоритеты, жестко связанные с разрядами регистра. С выхода регистра запросов 1 сигналы запросов, каждый по своей линии связи, поступает на входы элемента ИЛИ 2. При наличии хотя бы одного запроса в регистре 1 сигнал с выхода ИЛИ 2 поступает на один из входов элемента И 6, при готовности обрабатывающего устройства, о чем свидетельствует наличие сигнала на линии разрешения принятия запроса 13, с выхода элемента И 6 сигнал поступает на вход счетчика 5, устанавливая его в начальное состояние, и на ключ 8. Сигналы с выхода генератора тактовых импульсов 10 поступают на счетный вход двоичного счетчика 5, который начинает работать и формировать на своих выходах последовательность двоичных кодов, соответствующих номерам приоритетов поступивших заявок. The priority service device operates as follows. The individual inputs of the bits of the register of requests 1 from information inputs 12 receive requests for servicing applications, setting the corresponding bits of the register in a single state. Requests have their own priorities, strictly related to register bits. From the output of the request register 1, the request signals, each in its own communication line, goes to the inputs of the OR 2 element. If there is at least one request in the register 1, the signal from the output of the OR 2 goes to one of the inputs of the And 6 element, when the processing device is ready, as evidenced by the presence of a signal on the permission line for accepting the request 13, from the output of the And 6 element, the signal goes to the input of the counter 5, setting it to the initial state, and to the key 8. The signals from the output of the clock pulse generator 10 go to the counting input of the binary counter 5, which starts to work and form at its outputs a sequence of binary codes corresponding to the priority numbers of the applications received.

Двоичные коды с выхода счетчика 5 поступают на регистр 4, с выходов регистра 4 двоичный код поступает на управляющие входы демультиплексора 7, происходит перебор информации находящейся на информационных входах демультиплексора, которые соединены с выходами регистра запросов 1. Каждому сигналу на информационном входе демультиплексора 7 соответствует разряд в регистре запросов 1. Счетчик 5, при каждом цикле работы, формирует двоичную последовательность номеров приоритетов заявок, начиная с высшего приоритета, до тех пор, пока не совпадет двоичный код номера приоритета, образованный счетчиком, и номер приоритета запроса, требующего обслуживания. То есть если нет запроса на обслуживание i-й заявки, то соответствующий разряд регистра запроса 1 остается в нулевом состоянии, вследствие этого, сигнал на выходе демультиплексора 7 также будет равен нулю, значит ключ 3 останется открытым и регистр 4 примет следующий двоичный код, устройство перейдет к проверке заявки с более низким приоритетом. Binary codes from the output of counter 5 go to register 4, from the outputs of register 4 the binary code goes to the control inputs of the demultiplexer 7, information is searched on the information inputs of the demultiplexer, which are connected to the outputs of the request register 1. Each signal at the information input of the demultiplexer 7 corresponds to a discharge in the request register 1. Counter 5, with each cycle of operation, forms a binary sequence of priority numbers of applications, starting with the highest priority, until the two matches The priority code number generated by the counter and the priority number of the request requiring service. That is, if there is no service request for the i-th application, then the corresponding bit of the request register 1 remains in the zero state, as a result, the signal at the output of the demultiplexer 7 will also be zero, then key 3 will remain open and register 4 will accept the following binary code, the device proceeds to check the application with a lower priority.

После обнаружения заявки с наивысшим приоритетом, т.е. после совпадения двоичного кода и i-го разряда регистра запроса 1, ключ 3 закрывается и на регистре 4 сохраняется двоичный код обнаруженной заявки с наивысшим приоритетом. Счетчик продолжает генерировать двоичные коды до тех пор, пока не сгенерирует все возможные коды, после чего пройдет сигнал по линии обнаружения запроса 14, который открывает ключ 9, после чего двоичный код выбранного запроса, хранящийся в регистре 4, поступает на дешифратор 11, на нем формируется единичный код, поступающий на информационные выходы устройства 15. Сигнал по линии обнаружения запроса 14 говорит, что устройство обнаружило запрос с наибольшим приоритетом и единичный код выставлен на информационных выходах устройства. Единичный код, кроме подтверждения обнаруженного запроса, подается по линии сброса заявки 16 на регистр запроса 1. Этот сигнал обнуляет соответствующий разряд регистра запроса 1, подготавливая его к приему следующего запроса такого же уровня приоритета. After the discovery of the application with the highest priority, i.e. after the binary code coincides with the i-th digit of the request register 1, the key 3 is closed and the binary code of the detected application with the highest priority is stored on register 4. The counter continues to generate binary codes until it generates all possible codes, after which a signal passes through the request detection line 14, which opens the key 9, after which the binary code of the selected request stored in register 4 is transmitted to the decoder 11, on it a single code is generated, which arrives at the information outputs of the device 15. A signal on the request detection line 14 says that the device has detected a request with the highest priority and a single code is set at the information outputs of the device. A single code, in addition to confirming the detected request, is sent along the line for resetting the request 16 to the request register 1. This signal resets the corresponding bit of the request register 1, preparing it to receive the next request of the same priority level.

При обслуживании запроса на линии разрешения принятия запроса 13 нет разрешающего сигнала, поэтому устройство ждет конца обработки запроса, после чего устройство готово обрабатывать запросы. Запросы не теряются, так как каждому запросу соответствует свой разряд регистра запроса 1. После обработки запроса по линии разрешения запроса 13 приходит разрешающий сигнал, что говорит о том, что устройство может обрабатывать следующие запросы. When servicing a request, there is no permission signal on the request acceptance permission line 13, so the device waits for the end of the request processing, after which the device is ready to process requests. Requests are not lost, because each request has its own category of request register 1. After processing the request, the enable signal 13 arrives at the request line, which indicates that the device can process the following requests.

Таким образом, в результате одного цикла работы устройства будет найден запрос с наивысшим приоритетом из пришедших на данный момент времени запросов. Thus, as a result of one cycle of the device’s operation, a request with the highest priority among the requests that have arrived at a given time will be found.

Поскольку в предлагаемом устройстве по сравнению с прототипом [2] общее число элементов сокращено примерно в два раза за счет исключения регистров-счетчиков приоритетов, схем сравнения, элементов И первой и второй групп, а также элементов управления запуском и остановкой генератора тактовых импульсов, то все это приводит к уменьшению интенсивности отказов предлагаемого устройства примерно в два раза и, следовательно, к повышению надежности устройства. Since in the proposed device, in comparison with the prototype [2], the total number of elements is approximately halved due to the elimination of priority register registers, comparison schemes, elements of the first and second groups, as well as controls for starting and stopping the clock generator, that’s all this leads to a decrease in the failure rate of the proposed device by about half and, therefore, to increase the reliability of the device.

Повышение быстродействия обеспечивается тем, что во-первых, формирование сигнала на обслуживание одной заявки обеспечивается в течение цикла работы устройства без остановки генератора тактовых импульсов, в отличие от прототипа, где генератор тактовых импульсов останавливается всякий раз при обнаружении запроса от заявки наивысшего приоритета. Это позволяет повысить пропускную способность устройства. The increase in speed is ensured by the fact that, firstly, the formation of a signal for servicing one request is provided during the device’s operation cycle without stopping the clock generator, in contrast to the prototype, where the clock generator stops whenever a request from the highest priority request is detected. This improves the throughput of the device.

Кроме того, в течение цикла работы устройства обслуживаются все поступившие заявки, в том числе и низкоприоритетные. In addition, during the operation cycle of the device, all incoming applications, including low priority ones, are serviced.

Таким образом, поставленная цель достигнута. Thus, the goal is achieved.

Источники информации
1. Авторское свидетельство СССР 962948, кл. G 06 F 9/46, 1982.
Sources of information
1. USSR author's certificate 962948, cl. G 06 F 9/46, 1982.

2. Авторское свидетельство СССР 898435, кл. G 06 F 9 46, 1982 - прототип. 2. USSR copyright certificate 898435, cl. G 06 F 9 46, 1982 - prototype.

Claims (1)

Устройство приоритетного обслуживания запросов, содержащее регистр запросов, единичные входы разрядов которого соединены с информационными входами устройства, а выходы связаны с входами элемента ИЛИ, выход которого соединен с первым входом элемента И, второй вход которого соединен с линией разрешения запроса устройства, выход элемента И соединен с входом счетчика и ключом, выход генератора тактовых импульсов соединен с входом счетчика через ключ, отличающееся тем, что в него дополнительно введены дешифратор, ключ, управляющий входом дешифратора, демультиплексор, регистр, ключ, управляющий входом регистра, при этом выходы дешифратора соединены с информационными выходами устройства, также код с выходов устройства подается по линии сброса заявки на регистр запросов, управляющие входы демультиплексора соединены с выходами регистра, каждому сигналу на информационном входе демультиплексора соответствует разряд в регистре запросов, ключ, управляющий входом дешифратора, предназначен для пропускания кода, хранящегося в регистре, на дешифратор, при поступлении на данный ключ сигнала с линии подтверждения обнаружения запроса, поступающего со счетчика, выход демультиплексора управляет ключом, управляющим входом регистра, данный ключ предназначен для пропускания двоичного кода со счетчика на регистр. A priority request servicing device containing a request register, the single bit inputs of which are connected to the information inputs of the device, and the outputs are connected to the inputs of the OR element, the output of which is connected to the first input of the AND element, the second input of which is connected to the permission line of the device request, the output of the And element is connected with the counter input and a key, the output of the clock generator is connected to the counter input via a key, characterized in that it also includes a decoder, a key that controls the input for the encoder, demultiplexer, register, key that controls the input of the register, while the outputs of the decoder are connected to the information outputs of the device, also the code from the outputs of the device is fed through the reset line of the request to the request register, the control inputs of the demultiplexer are connected to the outputs of the register, each signal at the information input of the demultiplexer corresponds to the category in the request register, the key that controls the input of the decoder is designed to pass the code stored in the register to the decoder when it arrives at this key h signal line confirmation of detection supplied from the counter, the output of the demultiplexer controls a key input of the control register, the key for transmission of the binary code from the counter to the register.
RU2001121619/09A 2001-07-31 2001-07-31 Priority request servicing device RU2216768C2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2001121619/09A RU2216768C2 (en) 2001-07-31 2001-07-31 Priority request servicing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2001121619/09A RU2216768C2 (en) 2001-07-31 2001-07-31 Priority request servicing device

Publications (2)

Publication Number Publication Date
RU2001121619A RU2001121619A (en) 2003-06-27
RU2216768C2 true RU2216768C2 (en) 2003-11-20

Family

ID=32026783

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2001121619/09A RU2216768C2 (en) 2001-07-31 2001-07-31 Priority request servicing device

Country Status (1)

Country Link
RU (1) RU2216768C2 (en)

Similar Documents

Publication Publication Date Title
US6546065B1 (en) Frame synchronous circuit
JP4353943B2 (en) Sequence control device
RU2216768C2 (en) Priority request servicing device
RU2170453C1 (en) Priority request servicing device
RU2182354C2 (en) Priority request-servicing device
RU2224281C1 (en) Device for priority servicing of requests
RU2204160C2 (en) Device for priority servicing of requests
RU2223536C1 (en) Priority request servicing device
RU2230355C2 (en) Device for priority servicing of requests
RU2320001C1 (en) Device for priority servicing of requests
RU2251145C2 (en) Priority access device with limit on query search
US5535396A (en) Modulator data/control equipment
RU2182723C2 (en) Priority device
RU2219575C2 (en) Device for priority servicing of requests
RU2158022C1 (en) Device for priority-based query processing
SU1562913A1 (en) Device for servicing group of inquiries
US6885714B1 (en) Independently roving range control
RU2207615C2 (en) Priority request servicing device
RU2157561C1 (en) Multiple-channel user-service device
SU1327105A1 (en) Multichannel priority device for distributing requests among processors
SU1317437A1 (en) Priority device for selecting group interrogations
SU1388864A2 (en) Device for servicing queued requests
RU2319198C1 (en) Device for priority servicing of requests
RU1820382C (en) Device for connecting users to general trunk line
KR100200042B1 (en) Apparatus and method which decodes serial signals coded specified pulse width

Legal Events

Date Code Title Description
MM4A The patent is invalid due to non-payment of fees

Effective date: 20030801