SU1587537A1 - Device for servicing messages - Google Patents
Device for servicing messages Download PDFInfo
- Publication number
- SU1587537A1 SU1587537A1 SU884489870A SU4489870A SU1587537A1 SU 1587537 A1 SU1587537 A1 SU 1587537A1 SU 884489870 A SU884489870 A SU 884489870A SU 4489870 A SU4489870 A SU 4489870A SU 1587537 A1 SU1587537 A1 SU 1587537A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- counter
- inputs
- memory block
- Prior art date
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано при построении вычислительных систем дл обработки данных большого объема , принадлежащих различным классам объектов. Целью изобретени вл етс расширение функциональных возможностей известного устройства путем обеспечени возможности работы с сообщени ми переменной длины и исключени избыточности хранимой информации. Устройство содержит генератор 1 тактовых импульсов, триггеры 2,...,5, элементы И и ИЛИ, элемент 18 сравнени , счетчики 19, 21 и 22, блоки 26 - 28 пам ти и входной регистр 24. Устройство обеспечивает произвольный доступ пользовател к элементам записи структурированной информации, возможность обслуживани сообщений переменной длины, принадлежащих различным классам объектов. Новые функциональные возможности устройства повышают его производительность работы и исключают избыточность хран щейс в блоке оперативной пам ти информации. 1 ил.The invention relates to computing and can be used in the construction of computing systems for processing large data belonging to different classes of objects. The aim of the invention is to enhance the functionality of a known device by providing the ability to work with messages of variable length and eliminate the redundancy of stored information. The device contains a clock pulse generator 1, triggers 2, ..., 5, elements AND and OR, comparison element 18, counters 19, 21 and 22, memory blocks 26-28, and an input register 24. The device provides user random access to the elements recording structured information; the ability to service variable-length messages belonging to different classes of objects. New functionality of the device increases its performance and eliminates the redundancy of information stored in the memory block. 1 il.
Description
Изобретение относится к вычислительной технике и может быть использовано г эи построении вычислительных систем для обработки данных большого объема, принадлежащих различным классам объектов.The invention relates to computer technology and can be used to construct computer systems for processing large amounts of data belonging to different classes of objects.
Цель изобретения - расширение функциональных возможностей устройства путем обеспечения возможности работы с сообщениями переменной длины и исключения избыточности хранимой информации .The purpose of the invention is the expansion of the functionality of the device by providing the ability to work with messages of variable length and eliminate redundancy of stored information.
На чертеже показана блок-схема усустройства.The drawing shows a block diagram of a device.
Устройство содержит генератор 1 тактовых импульсов, четыре триггера 2-5, четыре элемента И 6-9, четыре элемента ИЛИ 10-13, элемент ИЛИ-НЕ 14, элементы И-НЕ 15-17, схему 18 сравнения, счетчик 19, элемент 20 задержки, счетчики 21 и 22, формирователь 23 импульсов, входной регистр 24, выход 25 схемы сравнения, блок 26 памяти параметров, блок 27 памяти описателей параметров, блок 28 памяти, информационный вход 29 устройства, информационный выход 30 устройства, вход 31 чтения устройства, вход 32 записи устройства,выход : 33 готовности устройства, выход 34 выбора параметров, выход 35 сброса устройства в начальное состояние.The device contains a clock generator 1, four triggers 2-5, four elements AND 6-9, four elements OR 10-13, element OR NOT 14, elements NOT 15-17, comparison circuit 18, counter 19, element 20 delays, counters 21 and 22, pulse shaper 23, input register 24, comparison circuit output 25, parameter memory block 26, parameter descriptor memory block 27, memory block 28, device information input 29, device information output 30, device read input 31, input 32 device entries, output: 33 device availability, output 34 parameter selection, output 35 reset the device to its initial state.
Блоки 26 и 27 памяти могут быть построены на базе электрически программируемых постоянных запоминающих устройств.Blocks 26 and 27 of the memory can be built on the basis of electrically programmable read-only memory devices.
Код, поступающий с выхода счетчика 19 на адресные входы блока 2.6, вызывает появление на его выходе 9разрядного слова, содержащего 5-8-й разряды - код параметра; 1-4-й раз- ряды - код объекта; 0-й разряд - признак запрета записи. Если 0-й разряд этого сообщения равен логической единице, то запись значения выбранного параметра данного объекта в блок 28 памяти запрещена. Одновременно код с выхода счетчика 19 поступает и на адресные входы блока 27 памяти описателей параметров, причем младший разряд определяется состоянием выхода схемы 18 сравнения, в зависимости от состояния которого (0 или 1) выбирается соответственно два последовательно расположенные в память блока 27 слова. Первое слово содержит код длины записи параметра (число байтов записи), а второе 4 адрес записи выбранного параметра данного объекта, определенного в блоке 26 памяти параметров.The code coming from the output of counter 19 to the address inputs of block 2.6 causes a 9-bit word containing 5-8th digits to appear at its output — parameter code; 1st to 4th digits - object code; The 0th digit is a sign of a ban on writing. If the 0th bit of this message is a logical unit, then writing the value of the selected parameter of this object to memory block 28 is prohibited. At the same time, the code from the output of the counter 19 also arrives at the address inputs of the parameter descriptor memory unit 27, the least significant bit being determined by the state of the output of the comparison circuit 18, depending on the state of which (0 or 1) two words are sequentially located in the memory of the block 27. The first word contains the code for the length of the parameter record (number of bytes of recording), and the second 4 is the write address of the selected parameter of this object, defined in block 26 of the parameter memory.
Время задержки прохождения сигнала через элемент 20 задержки выбирается несколько больше, чем время с момента подачи на адресные входы бло ка 27 кода, кончая моментом установления на выходах этого блока выбранного сообщения.The delay time of the signal passing through the delay element 20 is chosen to be somewhat longer than the time from the moment the code block 27 was supplied to the address inputs, ending with the moment when the selected message was established at the outputs of this block.
Формирователь 23 при появлении на его входе потенциального перепада из нулевого в единичный уровень формирует на своем выходе кратковременный импульс единичного уровня.Shaper 23 when a potential drop from zero to a unit level appears at its input generates a short-term pulse of a unit level at its output.
Блок 28 памяти предназначен для хранения информации, которая может изменять свое значение во времени. Информационной единицей записи/считывания блока 28 является сообщение один байт, адрес которого определяется кодом, поступающим с выхода счетчика 21 на адресные входы блока 28 памяти.The memory unit 28 is designed to store information that can change its value over time. The information unit of writing / reading unit 28 is a single byte message, the address of which is determined by the code coming from the output of the counter 21 to the address inputs of the memory unit 28.
Если выход 33 находится в единичном состоянии, то это является признаком готовности устройства для обслуживания очередного сообщения или выполнения очередной операции.If the output 33 is in a single state, then this is a sign of the device’s readiness for servicing the next message or performing the next operation.
Устройство работает следующим образом.The device operates as follows.
В исходном состоянии после поступления на вход 35 устройства сигнала Сброс единичного уровня, триггеры 2-4 находятся в нулевом состоянии, триггер 5 установлен в единичное состояние, счетчики 19-22 сброшены в нулевое состояние, выход признака обнуления счетчика 19 находится в единичном состоянии, сигнал Готов на выходе 33 устройства равен логической единице, сигнал. Выбор на выходе 34 устройства - логическому нулю, выход 25 элемента 18 сравнения находится в нулевом состоянии.In the initial state, after a signal of Unit Level Reset arrives at input 35 of the device, triggers 2-4 are in the zero state, trigger 5 is set to the single state, counters 19-22 are reset to zero, the output of the counter resetting counter 19 is in the single state, the signal Ready at the output of the device 33 is equal to a logical unit, the signal. The choice at the output 34 of the device is logical zero, the output 25 of the comparison element 18 is in the zero state.
Устройство работает в двух режимах: Запись и Чтение.The device operates in two modes: Write and Read.
В режиме Запись на информационные входы 29 устройства, поступает сообщение (9 бит), формат которого соответствует- формату сообщений,записанных в блоке 26 памяти парамет-. ров. Младший разряд входа 29 все время установлен в единицу. Одновременно на вход 32 устройства поступает кратковременный сигнал Запись нулевого уровня, который обеспечивает установку триггеров 2 и 3 в единич ное состояние, сброс триггера 5 в нулевое состояние, запись сообщения с информадинных входов 29 устройства в входной регистр 24. Младший разрад в сообщении, записанно в регистр 24, всегда должен иметь значение логической единицы. Переход триггера 2 в единичное состояние разрешает прохождение тактовых импульсов с генератора 1 через элемент И 6 на счетный вход счетчика 19. При изменении счетчика'19 на первые информационные входы схемы 18 сравнения последовательно поступают сообщения, хранящиеся в блоке 26 памяти параметров, и сравниваются с сообщением, находящимся во входном регистреIn the Record mode, the information inputs of the device 29 receive a message (9 bits), the format of which corresponds to the format of messages recorded in the parameter memory 26. moat. The least significant bit of input 29 is always set to one. At the same time, a short-term signal is received at device input 32. A zero level record is used to set triggers 2 and 3 to a single state, reset trigger 5 to zero, record a message from the information inputs of the device 29 in input register 24. The least significant bit in a message is written to register 24, must always be a logical unit value. The transition of the trigger 2 to the single state allows the passage of clock pulses from the generator 1 through the element 6 to the counting input of the counter 19. When changing the counter'19 to the first information inputs of the comparison circuit 18, messages stored in the block 26 of the parameter memory are received sequentially and compared with the message located in the input register
24. Если после выполнения счетчиком 19 полного цикла счета на выходе схемы 18 сигнал логической единицы не формируется, то это означает, что либо в блоке 26 памяти параметров отсутствует сообщение, идентичное сообщению в регистре 24, либо в нулевом разряде сообщения, записанного в блоке 26, установлен признак запрета записи, что вызывает появление на входе младшего разряда первых информационных входов схемы 18 сигнала логического нуля. При этом на выходе признака обнуления счетчика 19 формируется перепад, сигнала из нулевого в единичный уровень, который вызывает установку триггера 5 в единичное состояние и сброс триггеров 2 и 3 в нулевое состояние. Прохождение тактовых импульсов с генератора 1 через элемент И 6 на счетный > вход счетчика 19 прекращается. Выход 34 устройства остается в нулевом состоянии, а выход 33 устанавливается в единицу, что является признаком того, что параметр данного объекта в сообщении, записанном в регистре 24, не определен в блоке 26 памяти параметров либо операция записи состояния этого параметра данного объекта запрещена в блок 28 памяти. Причем находящееся в блоке 26 памяти параметров сообщение, определяемое нулевым состоянием счетчика 19, не имеет идентичного среди сообщений, поступающих на информационные входы 29 устройства.24. If, after the counter 19 completes the complete counting cycle, no logic unit signal is generated at the output of circuit 18, this means that either in the parameter block 26 there is no message identical to the message in register 24, or in the zero bit of the message recorded in block 26 , a sign of recording prohibition has been established, which causes the appearance of the first information inputs of the logic zero signal circuit 18 at the input of the least significant bit. In this case, at the output of the sign of zeroing the counter 19, a difference is formed, the signal from zero to a single level, which causes the trigger 5 to be set to a single state and the triggers 2 and 3 are reset to zero. The passage of clock pulses from the generator 1 through the element And 6 to the counting> input of the counter 19 is terminated. The output 34 of the device remains in the zero state, and the output 33 is set to one, which is a sign that the parameter of this object in the message recorded in the register 24 is not defined in the block 26 of the parameter memory or the operation of writing the state of this parameter of this object is prohibited in the block 28 memories. Moreover, the message located in the block 26 of the parameter memory, determined by the zero state of the counter 19, is not identical among the messages received at the information inputs 29 of the device.
В случае совпадения сообщений, поступающих на информационные входы схе мы 18 сравнения из блока 26 памяти параметров и регистра 24, на ее выхо де формируется единичный сигнал,который обеспечивает сброс триггеров 2 и 3 в нулевое состояние; блокировку прохождения сигналов Запись, 3 Чтение через элемент ИЛИ-НЕ 14 на вход записи регистра 24 и вход установки триггера 2 в единичное состояние; блокировку прохождения сигнала Запись через элемент ИЛИ 1Г на инверсный вход установки триггера 3; разрешение прохождения сигналов .Запись, Чтение через соответствующие им элементы И-НЕ 15 и 16; уста- новку триггера 4 в единичное состоя·* ние; запись в счетчик 22 кода длины записи выбранного параметра данного объекта из блока 27 памяти описателей параметров. Далее логическая еди20 ница с выхода схемы 18 сравнения поступает на вход младшего разряда адресного входа блока 27 и через время задержки вызывает появление на его выходах кода адреса записи выбранно25 го параметра данного объекта, после чего на выходе элемента 20 задержки формируется потенциальный перепад из нулевого в единичный уровень, что вызывает запись кода адреса-записи 30 в счетчик 21 и установку триггера 5 в единичное состояние. Появление на выходах 33 и 34 устройства сигналов Выбор-1, Готов-1 является признаком того, что параметр данного объекта определен в устройстве и в блок 28памяти разрешена запись значения его состояния. Для наглядности рассмотрим процедуру записи в блок 28 памяти значения выбранного параметра 40 данного объекта длиной 16 бит. Запись параметра осуществляется порционно по 1 байту за операцию, В счетчике 22 записан код длины параметра,равный 2. На информационные входы 29 45 устройства поступает первые 8 бит 'значения параметра, а на вход 32 устройства поступает сигнал Запись нулевого уровня, который через элемент И-НЕ 15 поступает на вход раз5Q решения записи блока 28 памяти и сбрасывает триггер 5 в нулевое состояние (Готов-0). По сигналу Запись происходит запись 8 бит значения параметра в блок 28 по адресу, 55 определяемому содержимым счетчика 28 и формирование на выходе элемента И 8 кратковременного сигнала нулевого уровня, по перепаду которого из нулевого в единичный уровень осуще ствляется вычитание единицы из содержимого счетчика 22 (длина записи единицы) ; прибавление единицы к содержимому счетчика 21 (адрес записи); установка триггера 5 в единичное состояние (”Готов-1), что являет’ся * признаком готовности устройства к записи очередной порции информации в'блок 28 памяти. Запись второй порции информации осуществляется анало^гичньм образом за исключением того, что после вычитания единицы из содержимого счетчика 22 на его выходе признака обнуления формируется перепад сигнала из нулевого в единичное состояние, который вызывает появление . на выходе формирователя 23 кратковременйого единичного импульса, обеспечивающего обнуление счетчика 19; сброс триггера 4, формиров анйе на выходе 33 устройства сигнала Готов-1,и переход выхода 34 устройства из единичного в нулевое состояние является признаком того, что выполне— ние операции Запись по данному параметру завершено и устройство готово к выполнению следующей операции.If the messages arriving at the information inputs of the comparison circuit 18 from the block 26 of the parameter memory and register 24 coincide, a single signal is generated at its output, which ensures the reset of triggers 2 and 3 to the zero state; blocking the passage of signals Write, 3 Reading through the OR-NOT 14 element to the input of the register register 24 and the input of setting trigger 2 to a single state; blocking the passage of the signal Recording through the element OR 1G to the inverse input of the installation of trigger 3; permission of the passage of signals. Write, Reading through the corresponding AND-NOT elements 15 and 16; setting trigger 4 to a single state · * state; writing to the counter 22 the code of the recording length of the selected parameter of this object from the block 27 of the memory of the parameter descriptors. Next, the logical unit from the output of the comparison circuit 18 is fed to the input of the least significant bit of the address input of block 27 and after a delay time causes the write address code of the selected parameter 25 of this object to appear at its outputs, after which a potential difference from zero to unity is formed at the output of delay element 20 level, which causes the record of the address-write code 30 to the counter 21 and the installation of the trigger 5 in a single state. The appearance on the outputs 33 and 34 of the device of signals Choice-1, Ready-1 is a sign that the parameter of this object is defined in the device and its state value is allowed to be written in the memory block 28. For clarity, we consider the procedure for writing to the memory unit 28 the values of the selected parameter 40 of this object with a length of 16 bits. The parameter is written in increments of 1 byte per operation. The parameter length code equal to 2 is recorded in counter 22. The first 8 bits of the parameter value are received at the information inputs 29 of the device 45, and the signal is recorded at the 32 input of the device, which is through the AND element -NOT 15 goes to the RQ5Q input of the write solution of the memory unit 28 and resets trigger 5 to the zero state (Ready-0). On the basis of the Write signal, 8 bits of the parameter value are recorded in block 28 at the address 55 determined by the contents of counter 28 and the formation of element And 8 produces a short-term zero level signal, by the difference of which from zero to unit level, the unit is subtracted from the contents of counter 22 (length unit records); adding a unit to the contents of counter 21 (record address); setting trigger 5 to a single state (Ready-1), which is a * sign of the device’s readiness to record the next batch of information in memory block 28. The second piece of information is recorded in a similar way, except that after subtracting a unit from the contents of the counter 22, a signal drop from zero to a single state is formed at its output of the zeroing indicator, which causes an appearance. at the output of the shaper 23 short-term single pulse, providing zeroing of the counter 19; resetting trigger 4, forming any output at the output of the Ready-1 signal device, and the transition of the device output 34 from a single to a zero state is a sign that the Write operation with this parameter has been completed and the device is ready for the next operation.
Процедура поиска необходимого параметра заданного объекта, определенного в сообщении, записанном во входном регистре 24, в блоке 26 памяти параметров при операции Чтение осуществляется аналогично, как в операции Запись, за исключением того, что она производится под управлением сигнала Чтение и не проверяет условие запрета записи (триггер 3 по сигналу Чтение нулевого уровня не устанавливается в единичное состояние). После выбора необходимого параметра чтение информации осуществляется с информационных выходов 30 устройства из блока 28 памяти по адресу, определяемому значением счетчика 21, длиной - по значению счетчика 22. После чтения всей длины записи по данному параметру заданного объекта сигнла Выбор переходит в нулевое состояние, а при установлении выхода Готов в единичное состояние устройство готовок к выполнению следующей операции Запись или Чтение.The procedure for searching for the required parameter of a given object, defined in the message recorded in the input register 24, in the parameter memory block 26 during the Read operation is carried out in the same way as in the Write operation, except that it is performed under the control of the Read signal and does not check the write prohibition condition (trigger 3 on the Read Level 0 signal is not set to a single state). After selecting the required parameter, information is read from the information outputs 30 of the device from the memory unit 28 at the address determined by the value of counter 21, by the length by the value of counter 22. After reading the entire length of the record for this parameter of the given signal object, the Selection goes to zero, and when setting the Ready output to a single state, the device is ready for the next Write or Read operation.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884489870A SU1587537A1 (en) | 1988-10-03 | 1988-10-03 | Device for servicing messages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884489870A SU1587537A1 (en) | 1988-10-03 | 1988-10-03 | Device for servicing messages |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1587537A1 true SU1587537A1 (en) | 1990-08-23 |
Family
ID=21402396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884489870A SU1587537A1 (en) | 1988-10-03 | 1988-10-03 | Device for servicing messages |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1587537A1 (en) |
-
1988
- 1988-10-03 SU SU884489870A patent/SU1587537A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 955069, кл. G 06 F 9/46, 1982. Авторское сввдетельство СССР № 1128256, кл. G ,06 F 9/46, 1984. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5088061A (en) | Routing independent circuit components | |
US4031515A (en) | Apparatus for transmitting changeable length records having variable length words with interspersed record and word positioning codes | |
US4506348A (en) | Variable digital delay circuit | |
US5765203A (en) | Storage and addressing method for a buffer memory control system for accessing user and error imformation | |
JPS603657B2 (en) | First-in, first-out storage | |
US4922457A (en) | Serial access memory system provided with improved cascade buffer circuit | |
US4479180A (en) | Digital memory system utilizing fast and slow address dependent access cycles | |
CA1039852A (en) | Read only memory system | |
SU1587537A1 (en) | Device for servicing messages | |
EP0017479B1 (en) | Memory refresh control apparatus | |
US4935902A (en) | Sequential access memory | |
RU1803919C (en) | Device for processing messages | |
KR860003554A (en) | Shared Main Memory and Disk Controller Memory Address Registers | |
SU964731A1 (en) | Buffer storage device | |
RU2000602C1 (en) | Data input device | |
SU1264239A1 (en) | Buffer storage | |
RU1798901C (en) | Single-pulse frequency multiplier | |
SU1437920A1 (en) | Associative storage | |
RU2108659C1 (en) | Adjustable digital delay line | |
SU813504A1 (en) | Device for retrieval of addresses from storage units | |
SU1575187A1 (en) | Device for monitoring code sequences | |
SU1112365A1 (en) | Device for forming interruption signal | |
JP2667702B2 (en) | Pointer reset method | |
SU743030A1 (en) | Memory | |
SU427389A1 (en) | MEMORY DEVICE |