SU1509890A1 - Arrangement for forming structured files - Google Patents
Arrangement for forming structured files Download PDFInfo
- Publication number
- SU1509890A1 SU1509890A1 SU874314264A SU4314264A SU1509890A1 SU 1509890 A1 SU1509890 A1 SU 1509890A1 SU 874314264 A SU874314264 A SU 874314264A SU 4314264 A SU4314264 A SU 4314264A SU 1509890 A1 SU1509890 A1 SU 1509890A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- group
- input
- output
- elements
- groups
- Prior art date
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано в многопроцессорных вычислительных системах дл св зи процессоров с внешними или запоминающими устройствами при параллельной обработке данных, а также в информационно-поисковых системах. Устройство содержит две группы элементов И, элемент ИЛИ, два элемента И, два элемента задержки, триггер и генератор тактовых импульсов, элемент ИЛИ-НЕ, дешифратор, счетчик, группу узлов входного файла, каждый из которых включает в себ две группы регистров, группу элементов И, элемент ИЛИ, группу блоков элементов И, группу схем сравнени . Цель изобретени - расширение области применени устройства за счет формировани наборов файлов, упор доченных в соответствии с заданным алгоритмом. Устройство обеспечивает формирование файлов заданной структуры из исходного массива операндов с различными признаками. Пор док размещени записей файла дл каждого потребител определ етс упор доченным списком признаков этих записей. Расстановка записей производитс путем последовательного сравнени признаков операндов исходного массива с требуемыми упор дочнными списками признаков записей файлов одновременно дл каждого потребител с последующей передачей входных операндов в соответствующие регистры узлов выходного файла. По завершении расстановки записей устройство формирует сигнал, по которому разрешаетс считывание файлов потребител ми. 1 з.п. ф-лы, 1 ил.The invention relates to computing and can be used in multiprocessor computing systems for communicating processors with external or storage devices in parallel data processing, as well as information retrieval systems. The device contains two groups of elements AND, element OR, two elements AND, two delay elements, a trigger and a clock pulse generator, an element OR NOT, a decoder, a counter, a group of nodes of the input file, each of which includes two groups of registers, a group of elements And, an element OR, a group of blocks of elements And, a group of comparison circuits. The purpose of the invention is to expand the field of application of the device due to the formation of sets of files ordered according to a given algorithm. The device provides the formation of files of a given structure from the initial array of operands with various features. The order in which file entries are placed for each user is determined by an ordered list of the attributes of these records. The placement of records is performed by successively comparing the features of the operands of the original array with the required ordered lists of signs of the file records for each user simultaneously with the subsequent transfer of the input operands to the corresponding registers of the output file's nodes. Upon completion of the arrangement of records, the device generates a signal that allows users to read files. 1 hp f-ly, 1 ill.
Description
Изобретение относитс к вычислительной технике и может быть ис- .пользовано в многопроцессорных вычислительных системах дл св зи.процессоров с внешними или запоминающими устройствами при параллельной обработке данных, а также в инфор- мационно-поисковых системах.The invention relates to computing and can be used in multiprocessor computing systems for communicating processors with external or storage devices in parallel data processing, as well as in information retrieval systems.
Целью изобретени вл етс расширение области применени за счет фор мировани наборов файлов, упор доченных в соответствии с заданным алгоритмом.The aim of the invention is to expand the scope by forming file sets arranged according to a predetermined algorithm.
На чертеже показана структурна схема устройства.The drawing shows a block diagram of the device.
Устройство содержит регистры 1 группы, блоки элементов И 2, блоки элементов ИЗ, узлы 4 анализа выходного файла, каждый из которых содержит регистры 5, группу элементов И 6,The device contains registers of 1 group, blocks of elements And 2, blocks of elements of IZ, nodes 4 analysis of the output file, each of which contains registers 5, a group of elements And 6,
группу схем 7 сравнени , выходы которы подключены к входам элемента ИЛИ 8, группу блоков элементов И 9, регистры 10, дешифратор 11, счетчик 12, элемент И 13, генератор 14 импульсов , триггер 15, элементы 16 и 17 задержки, элемент И 18, элемент ИЛИ 19 и элемент ИЛИ-НЕ 20. Устройство имеет входы 21 операндов, сигнальный выход 22, вход 23 запуска, входы 24 номера операнда и выходы 25. Рассмотрим принцип построени и работу устройства.a group of comparison circuits 7, the outputs of which are connected to the inputs of the element OR 8, the group of blocks of elements AND 9, registers 10, decoder 11, counter 12, element AND 13, generator of 14 pulses, trigger 15, elements 16 and 17 of delay, element 18, the OR 19 element and the OR-NOT element 20. The device has 21 operand inputs, signal output 22, start input 23, operand number 24 inputs and outputs 25. Consider the principle of construction and operation of the device.
Исходное состо ние устройства характеризуетс тем, что счетчик . 12, триггер 15, регистры 5 и 10 установлены в.состо ние О (не показано ) ,The initial state of the device is characterized by the fact that the counter. 12, trigger 15, registers 5 and 10 are set in the state O (not shown),
По входам 21 в соответствующие рег-истры 1 принимаютс операнды с признаковыми част ми, по входам 24 в регистры 5 поступают упор доченны списки номеров требуемых типов операндов дл каждого потребител . The inputs 21 to the corresponding registers 1 receive operands with indicative parts, and the inputs 24 into registers 5 receive ordered lists of numbers of the required types of operands for each consumer.
С помощью, узлов 4 в соответствии с требуемым пор дком размещени записей Нормируетс файл в выходных регистрах 10 так, что пор док расстновки этих записей отражает йоследо вательность прин тых признаков операндов (записей) в регистре 5. Расстановка записей производитс на основе поочередного сравнени типов операндов регистров 1 с признаками требуемых записей, размещенных в регистрах 5,With the help of, nodes 4 in accordance with the required order of placement of records. The file in output registers 10 is normalized so that the order of arrangement of these records reflects the sequence of accepted signs of operands (records) in register 5. Arrangement of records is made on the basis of alternate comparison of types of operands registers 1 with signs of the required entries placed in registers 5,
Пусть в регистры 1 прин т исходный массив операндов, признаки которых представл ют собой числа натурального р да. По этим признакам операнды в регистрах 1 размещены в следующем пор дке: 1, 3, 4, 2.Let the initial array of operands, whose attributes are the numbers of the natural number, be received in registers 1. According to these signs, the operands in registers 1 are placed in the following order: 1, 3, 4, 2.
Допустим, дл первого потребител требуетс сформировать файл, записи в котором размещены в следующем пор дке: 1, 2, 3, 4, дл второго потребител - 4, 3, 2, 1, а дл третьего необходима только одна запись с признаком 4.Suppose that for the first consumer it is required to form a file, the records in which are placed in the following order: 1, 2, 3, 4, for the second consumer - 4, 3, 2, 1, and for the third one only one record with sign 4 is necessary.
Дл данного примера в регистр 5 узла 4 принимаетс упор доченный список признаков записей: 1, 2, 3, For this example, in the register 5 of node 4 is taken an ordered list of signs of records: 1, 2, 3,
узла 4,node 4,
узла 4,node 4,
-4, 3, 2, 1,-4, 3, 2, 1,
-4, О, О, 0.-4, Oh, Oh, 0.
в регистрto register
в регистр j.. jto register j .. j
Работа устройства после размещени необходимой информации в регистрах 1 и 5 узлов 4 начинаетс по сигналу запуска, поступающему по входуThe operation of the device after placing the necessary information in registers 1 and 5 of nodes 4 begins on a trigger signal received at the input
10ten
2020
х, е 25x, e 25
23 и устанавливающему триггер 15 в единичное состо ние. Единичным сигналом с пр мого входа триггера 15 открываетс элемент И 13 и импульсом генератора 14 в счетчике 12 формируетс двоичный код единицы. По завершении переходных процессов в счетчике 12 на первом выходе дешифратора 11 устанавливаетс единичный сигнал, которым открываютс эл ементы И 2f и И 3,. При этом двоичный код 1 из регистра 1. через элементы И 3 передаетс на вторые входы схем 7 .с сравнени всех узлов 4. Одновременно информаци по первой записи из регистра 1 через элементы 2 поступает на информационные входы всех блоков элементов И 9 узлов 4.23 and setting the trigger 15 to a single state. A single signal from the direct input of the trigger 15 opens element I 13 and a generator unit binary code is generated by a generator pulse 14 in counter 12. Upon completion of the transients, the counter 12 at the first output of the decoder 11 sets a single signal that opens the AND 2f and And 3 elements. At the same time, binary code 1 from register 1. Through elements 3 is transmitted to the second inputs of circuits 7. With a comparison of all nodes 4. At the same time, the information on the first record from register 1 through elements 2 enters the information inputs of all blocks of elements 9 of nodes 4.
В узле 4 единичный сигнал формируетс схемой 7 4. - схемой 7, все схемы 7In node 4, a single signal is generated by circuit 7 4. - circuit 7, all circuits 7
сравнени , в узле 4 сравнени . В узле 4j сравнени формируют нулевые сигналы. comparison, in node 4 comparison. At node 4j, comparisons form zero signals.
Через некоторое врем , определ емое элементом 16 задержки и равное времени переходных процессов в счетчике 12, дешифраторе 11 и элементах И 2 (из), задержанным импульсом ге- н ератора 14 запись из регистра 1 принимаетс в узле 4 в регистр 10, через открытый блок элементов И 9, единичным сигналом с выхода схемыAfter some time, determined by the delay element 16 and equal to the transient time in the counter 12, the decoder 11 and the AND 2 elements (from) by the delayed generator pulse 14, the record from the register 1 is received at the node 4 into the register 10, through the open block elements And 9, a single signal from the output circuit
7, спавнени , в узле7, spawn, in the node
104 через блок элементов И 9, в регистр104 through block of elements And 9, in the register
4 four
Крытый единичным сигналом с выхода схемы 7 сравнени . Одновременно через открытые сигналы аналогичным образом элементы И 6., в узле 4 и эле- менты И 64 в узле 4 устанавливают в нулевые состо ни соответственно регистры 5 и 5.Indoor single signal from the output of the comparison circuit 7. At the same time, through the open signals in a similar way, elements AND 6., in node 4 and elements AND 64 in node 4 are set to zero state, respectively, registers 5 and 5.
Задержанньй дополнительно элементом 17 задержки импульс генератора 14 не оказывает вли ни на состо ние триггера 15, так как на выходе элемента iinil 19 удерживаетс нулевой сигнал, которым закрыт элемент И 18.The delayed additionally by the delay element 17 of the generator pulse 14 does not affect the state of the trigger 15, since at the output of the iinil element 19 a zero signal is held which closes the element 18.
По второму импульсу генератора 14 в счетчике 12 формируетс двоичный код числа 2и аналогично рассмотренному информаци из регистра Ij воздействует на элементы схемы так, что в узле 4 в регистр 10 прини- маетс запись, признак которой равен 2, а регистр 5 устанавливаете в нулевое состо ние. В узле 4. в ре- гистр Юг принимаетс эта запись, аThe second generator pulse 14 in the counter 12 generates the binary code of the number 2 and, similarly to the information considered, from the register Ij affects the circuit elements so that in node 4 a record is taken in register 10, the sign of which is 2, and register 5 is set to zero . In node 4. in the South register this entry is accepted, and
регистр 5у устанавливаетс в нулевое состо ние.register 5y is set to zero.
Аналогичным образом по третьему импульсу генератора операнд (запись из регистра 1 передаетс в узле А, в регистр 10, в узле -s регистр 10, а в узле 4, - в регистр 10,. Кроме того, в узле 4 гаситс регистр 5, в узле 4, - регистр 5 , в узле 4 - регистр 5|.Similarly, the third pulse generator generator operand (recording from register 1 is transmitted in node A, in register 10, in node -s register 10, and in node 4, in register 10, in addition, in node 4 the register 5 is suppressed, node 4, - register 5, in node 4 - register 5 |.
По четвертому импульсу таким же образом обеспечиваетс передача операнда (записи) из регистра Ц в узле 4 в регистр 10, в узле 4, - в регистр 10,, с одновременным гашением регистра 5 в узле 4 и регистра 5 в узле 4.On the fourth pulse, the transmission of the operand (record) from the register C in node 4 to register 10, in node 4, to register 10, with simultaneous damping of register 5 in node 4 and register 5 in node 4, is also ensured in the same way.
По окончании записи информации по четвертому импульсу генератора 1 на четвертом выходе дешифратора 11 присутствует единичный сигнал, а на выходе элемента ИЛИ-НЕ 20, так как все регистры 5 узлов 4 установлены в нулевые состо ни , формируетс единичный сигнал. При этом единичным сигналом с выхода элемента |ИЛИ 19 открываетс элемент И 18 и задержанным импульсом генератора 14 элементом 17 задержки устанавливаетс в нулевое состо ние триггер 15 На выходе 22 устанавливаетс единичный сигнал, по которому с выходов 25 разрешаетс передача информации, организованна в файлы, соответственно потребител м. При этом из регистров 10 узла 4 записи в файле размещены в установленном пор дке признаков: 1, 2, -3, 4, из регистров 10 узла 4, 3, 2, 1, из 1зегистров 10 узла 4, - 4, О, О, 0.At the end of the recording of information on the fourth pulse of the generator 1, a single signal is present at the fourth output of the decoder 11, and at the output of the OR-NOT element 20, since all the registers 5 of the nodes 4 are set to zero, a single signal is generated. In this case, AND 18 is opened by a single signal from the output of the element | OR 19, and by a delayed pulse of the generator 14, the delay element 17 is set to the zero state trigger 15 The output 22 is set to a single signal, which allows the transfer of information organized in files from the outputs 25 user m. In this case, from the registers 10 of the node 4 records in the file are placed in the established order of signs: 1, 2, -3, 4, from the registers 10 of the node 4, 3, 2, 1, from 1 zogr 10 node 4, - 4, Oh, Oh, 0.
При других задани х пор дка размещени записей в файлах работа ус- тройства не отличаетс от описаннойFor other tasks of placing records in files, the operation of the device does not differ from that described.
Завершение работы устройства по формированию файлов заданий структуры производитс по окончании просмотра всех записей регистров 1 либо по окончании расстановки записей в регистрах 10 узлов 4.Completion of the device to form the structure task files is performed after viewing all records of registers 1 or after placing records in registers of 10 nodes 4.
В первом случае гашение триггера 15 обеспечиваетс единичным сигналом выхода дешифратора 11, а во втором - единичным сигналом с выхода элемента ИЛИ-НЕ 20 после установки в нулевое состо ние всех регистров 5 узлов 4. При необходимости использовани устройства в очередном цикле производитс приведение его в исходное состо ние.In the first case, the trigger 15 is extinguished by a single signal from the output of the decoder 11, and in the second, by a single signal from the output of the OR-NOT 20 element after setting 5 registers to the zero state 4. If necessary, use the device in the next cycle condition.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874314264A SU1509890A1 (en) | 1987-10-06 | 1987-10-06 | Arrangement for forming structured files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874314264A SU1509890A1 (en) | 1987-10-06 | 1987-10-06 | Arrangement for forming structured files |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1509890A1 true SU1509890A1 (en) | 1989-09-23 |
Family
ID=21330910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874314264A SU1509890A1 (en) | 1987-10-06 | 1987-10-06 | Arrangement for forming structured files |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1509890A1 (en) |
-
1987
- 1987-10-06 SU SU874314264A patent/SU1509890A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1254484, кл. G 06 F 9/46, 1985. Авторское свидетельство СССР № 1388868, кл. G 06 F 9/46, 1987. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1509890A1 (en) | Arrangement for forming structured files | |
JPH1195864A (en) | Timer device | |
SU1517030A1 (en) | Device for loading files | |
SU1442992A1 (en) | Device for loading and rearranging a file | |
SU1388868A1 (en) | Device for data group loading | |
SU951991A1 (en) | Computer | |
SU1562966A1 (en) | Device for selection of asynchronous signals on basis of criterion "m out of n" | |
SU1667055A1 (en) | Device for modulo m multiplication | |
SU838701A1 (en) | Device for forming shortest path in digital communication system | |
SU1672450A1 (en) | Calls significance analyzer | |
SU1280639A1 (en) | Device for loading data | |
SU1206806A1 (en) | Device for editing list | |
RU2248605C2 (en) | Device for controlling information display in remote education system | |
SU1410056A1 (en) | Device for exhaustive search for permutations | |
SU1410032A1 (en) | Device for group loading of associative data | |
SU1161944A1 (en) | Device for modifying memory area address when debugging programs | |
SU826340A1 (en) | Device for sorting mn-digit numbers | |
SU1732347A1 (en) | Test data generator | |
SU523410A1 (en) | Device for searching operands | |
SU1198526A1 (en) | Device for selecting external memory address | |
SU1529221A1 (en) | Multichannel signature analyzer | |
SU674102A1 (en) | Associative storage | |
SU1553972A1 (en) | Squaring device | |
SU1580396A1 (en) | Device for information search | |
SU1182534A1 (en) | Interface for linking processor with peripheral subscribers |