SU1211760A1 - Device for editing recorders in tables - Google Patents
Device for editing recorders in tables Download PDFInfo
- Publication number
- SU1211760A1 SU1211760A1 SU843779762A SU3779762A SU1211760A1 SU 1211760 A1 SU1211760 A1 SU 1211760A1 SU 843779762 A SU843779762 A SU 843779762A SU 3779762 A SU3779762 A SU 3779762A SU 1211760 A1 SU1211760 A1 SU 1211760A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- information
- register
- counter
- Prior art date
Links
- 238000009434 installation Methods 0.000 claims 1
- 238000012937 correction Methods 0.000 abstract 1
- 230000001174 ascending effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Изобретение относитс к вычислительной технике. Цель изобретени расширение области применени устройства за счет обеспечени корректировки строк. Дл этого устройство , содержащее счетчик, блок пам ти, регистр информации, элемент И и группу элементов И, содержит элемент запрета, генератор импульсов , два элемента задержки, дешифратор , узел сравнени и регистр строки. Изобретение может быть использовано в системах управлени рел ционными базами данных . 1 ил.The invention relates to computing. The purpose of the invention is to expand the field of application of the device by providing line corrections. For this, a device containing a counter, a memory block, an information register, an AND element and an AND element group contains a prohibition element, a pulse generator, two delay elements, a decoder, a comparison node and a string register. The invention can be used in relational database management systems. 1 il.
Description
Изобретение относитс к вычис лительной технике и может быть ис пользовано в системах управлени рел ционными базами данных.The invention relates to computing technology and can be used in relational database management systems.
Целью изобретени вл етс раС ширение функциональных возможное- тей за счет обеспечени корректировки строк.The aim of the invention is to expand the functional possibilities by providing an adjustment to the rows.
На чертеже приведена схема уст ройства.The drawing shows a diagram of the device.
Предлагаемое устройство содержит счетчик , блок 2 пам ти, регистр 3 информации, элемент И 4, группу 5 элементов И, элемент 6 запрета, ге нератор 7 тактовых импуль сов, эле менты 8 и 9 задержки, дешифратор 10 схему 11 сравнени , регистр 12 строки, адресный вход 13, информа ционный вход 14, установочный вход 15, вход 16 запуска и 17 выход устройства.The proposed device contains a counter, a memory block 2, an information register 3, an AND 4 element, a group of 5 AND elements, a prohibition element 6, a generator of 7 clock pulses, delay elements 8 and 9, a decoder 10 comparison circuit 11, a register 12 lines , address input 13, information input 14, setup input 15, start input 16 and device 17 exit.
Блок 2 пам ти содержит некото рое число таблиц. Строка таблицы занимает одну чейку пам ти. Все строки имеют поле ключа. В каждой таблице строки могут быть отсортиро ваны (дл ускорени поиска требуемой строки) по возрастанию или убыванию ключей, В чейке блока 2 пам ти , непосредственно следующей за последней строкой таблицы, запи- сываетс код конца таблицы /уникальный код, расшифровываемый дешифратором 10.Memory block 2 contains a number of tables. The row of the table occupies one memory location. All lines have a key field. In each table, rows can be sorted (to speed up the search for the required row) by ascending or descending keys. In the cell of memory block 2, immediately following the last row of the table, the end of the table / unique code decoded by the decoder 10 is written.
Устройство работает следующим образом.The device works as follows.
В исходном состо нии генератор 7 заторможен. В счетчик I с входа 13 по импульсу на входе 15 записываетс адрес первой строки таблицы, в которой необходимо заменить какую- либо строку. Замен юща строка . заноситс в регистр 12 с вхоДа 14. Устройство готово к работе.In the initial state, generator 7 is inhibited. Counter I, from input 13, impulses input 15 to the address of the first row of the table, in which any row must be replaced. Replace string. is entered into register 12 from input 14. The device is ready for operation.
Замена строки в табххице инициируетс импульсом по входу 16, который запускает генера;тор 7. По первому импульсу с его выхода перва строка таблицы принимаетс на регистр 3. Дешифратор 10 сигнал не выдает, поэтому элемент 6 запрета открыт. Если ключ считанной строки не совпадает с ключом замен ющей строки, то схема 11 сравнени сигнал не выдает и элемент И 4 закрыт. После этого по вл етс импульс на выходе элемента 8 задержки . Открываетс группа 5 элемен02The replacement of the string in the table is initiated by a pulse on input 16, which starts the generator; tor 7. On the first pulse from its output, the first row of the table is accepted into register 3. The decoder 10 does not output a signal, therefore prohibition element 6 is open. If the key of the read string does not match the key of the replacing row, then the comparison circuit 11 does not output the signal and the AND 4 element is closed. After that, a pulse appears at the output of delay element 8. Group 5 is opened02
тов и и перва строка таблицы из регистра 3 вьщаетс на выходе 17. Затем по вл етс импульс на выходе элемента .9 задержки, по которомуThis and and the first row of the table from register 3 is output at output 17. Then a pulse appears at the output of the delay element .9, by which
содержимое счетчика 1 увеличиваетс на единицу, т.е. формируетс адрес второй строки таблицы. По второму импульсу с выхода генератора 7 втора строка таблицы принимаетс the contents of counter 1 is increased by one, i.e. the address of the second row of the table is generated. On the second pulse from the generator output 7, the second row of the table is taken
в регистр 3, анализируетс схемой 11 сравнени , выдаетс на выходе 17, а в счетчике 1 формируетс адрес третьей строки таблицы. Чтение и вьщача строк аналогичным способомinto register 3, analyzed by comparison circuit 11, outputted at output 17, and in counter 1 the address of the third row of the table is formed. Reading and inserting lines in the same way
происходит до тех пор, пока поле ключа считанной строки не совпадет с полем ключа замен ющей строки. Совпадение означает, что замен ема строка найдена. При совпадеНИИ ключей схема 11 сравнени открывает элемент И 4. По импульсу с выхода элемента 8 задержки не только осуп1ествл етс выдача содержимого регистра 3 на вьгходе 17,occurs until the key field of the read string matches the key field of the replacement row. Coincidence means that the replacement string was found. When the keys match, the comparison circuit 11 opens the element AND 4. On the impulse from the output of the delay element 8 not only the output of the register 3 is output on the trigger 17,
но и производитс запись замен ющей строки из регистра 12 в блок 2 пам ти по адресу, заданному на счетчике 1, т.е. в чейку, где находилась замен ема строка. Затемbut the replacement string is written from register 12 to memory block 2 at the address specified on counter 1, i.e. in the cell where the replacement line was. Then
в счетчике 1 формируетс адрес следующей строки таблицы, и по очередному импульсу с выхода генератора 7 снова начинаетс только чтение строк из блока 2 и вьщача их наin the counter 1, the address of the next row of the table is formed, and after the next pulse from the output of the generator 7, only reading of the rows from block 2 and sending them to
выходе 17. Наступает такой момент , когда по очередному импульсу с выхода генератора 7 в регистр 3 прин т код конца таблицы. В этом случае на выходе дешифратора 10 по-output 17. There comes a moment when, following the next pulse from the output of the generator 7, the end-of-table code is received in register 3. In this case, the output of the decoder 10 is
вл етс сигнал, закрывающий элемент 6 запрета. Поэтому содержимое регистра 3 на выходе 17 не поступает . Этим же сигналом генератор 7 устанавливаетс в запертое состо-is a signal closing the prohibition element 6. Therefore, the contents of the register 3 at the output 17 is not received. By the same signal, the generator 7 is set in the locked state
ние.the
Следую1Чий цикл работы устройства начинаетс после обновлени содержимого счетчика 1 и регистра 12 импульсом со входа 16. The next 1 cycle of operation of the device begins after updating the contents of counter 1 and register 12 with a pulse from input 16.
Устройство позвол ет реализовать режим только чтени , если в регистр строки записать строку с ключом, который заведомо не имеет ни одна строка таблицы. В этом случае замен ема строка не будет найдена , а следовательно, замен юща строка не будет внесена в таблицу.The device allows to implement a read-only mode, if a string with a key that certainly does not have one row of the table, is written into the register of a string. In this case, the replaced row will not be found, and therefore, the replacement row will not be entered in the table.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843779762A SU1211760A1 (en) | 1984-08-09 | 1984-08-09 | Device for editing recorders in tables |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843779762A SU1211760A1 (en) | 1984-08-09 | 1984-08-09 | Device for editing recorders in tables |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1211760A1 true SU1211760A1 (en) | 1986-02-15 |
Family
ID=21134361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843779762A SU1211760A1 (en) | 1984-08-09 | 1984-08-09 | Device for editing recorders in tables |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1211760A1 (en) |
-
1984
- 1984-08-09 SU SU843779762A patent/SU1211760A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 666545, кл. G 06 F 15/38, 1977. Авторское свидетельство. СССР К 780011, кл. G 06 F 15/38, 1978. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1211760A1 (en) | Device for editing recorders in tables | |
SU1479941A1 (en) | Unit for editing data in table | |
SU1208562A1 (en) | Device for editing records in tables | |
SU1642462A1 (en) | Device for data search | |
SU1357978A2 (en) | Device for determining reliability of objects | |
SU1267436A1 (en) | Device for determining complement of set | |
SU1206810A1 (en) | Information retrieval device | |
SU1594548A1 (en) | Device for monitoring of processor addressing the memory | |
SU551702A1 (en) | Buffer storage device | |
SU576609A1 (en) | Associative memory | |
SU1228115A1 (en) | Device for restricting relations among data and concepts | |
GB1469795A (en) | Data detection system | |
SU494745A1 (en) | Device for the synthesis of multi-cycle scheme | |
SU1649531A1 (en) | Number searcher | |
SU1206806A1 (en) | Device for editing list | |
SU1531172A1 (en) | Parallel asynchronous register | |
SU1302262A1 (en) | Device for generating pulse sequences | |
SU1483448A1 (en) | Extremum locator | |
SU1621049A1 (en) | Device for searching for information | |
SU1150737A2 (en) | Pulse sequence generator | |
SU877523A1 (en) | Device for finding maximum number out of a group of numbers | |
SU1649532A1 (en) | Number searcher | |
SU1397936A2 (en) | Device for combination searching | |
SU1201875A1 (en) | Associative storage | |
SU1396145A2 (en) | Checking device |