SU1126949A1 - Device for searching data - Google Patents

Device for searching data Download PDF

Info

Publication number
SU1126949A1
SU1126949A1 SU833619245A SU3619245A SU1126949A1 SU 1126949 A1 SU1126949 A1 SU 1126949A1 SU 833619245 A SU833619245 A SU 833619245A SU 3619245 A SU3619245 A SU 3619245A SU 1126949 A1 SU1126949 A1 SU 1126949A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
block
unit
inputs
data
Prior art date
Application number
SU833619245A
Other languages
Russian (ru)
Inventor
Владимир Андреевич Гладких
Original Assignee
Войсковая часть 45807-Р/П
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 Войсковая часть 45807-Р/П filed Critical Войсковая часть 45807-Р/П
Priority to SU833619245A priority Critical patent/SU1126949A1/en
Application granted granted Critical
Publication of SU1126949A1 publication Critical patent/SU1126949A1/en

Links

Abstract

УСТРОЙСТВО ДЛЯ ПОИСКА ДАННЫХ , содержащее блок приема признаков поискового предписаии , блок данных, блок поразр дного сравнени  данных, исполнительный блок, блок cpaBiieHHH числа совпавших разр дов с заданным, который включает блок записи , элементы И и НЕ, датчик одиночных импульсов, причем выходы блока приема признаков поискового-предписани  и блока данных соединены саответственно с первым и вторым входами блока поразр дного сравнени , вход разрешени  сравнени  которого подключен к выходу датчика одиночных импульсов блока сравнени  числа совпавших разр дов с заданньм, выход элемента И блока сравнеш1Я числа совпавших разр дов с заданным соединен с первым входом исполнительного блока, отличающеес  тем, что, с целью повышени  быстродействи  и упрощени  устройства, блок сравнени  числа совпавпиЕк разр дов с заданным содержит поразр дные элементы ИЛИ, многовходовый элемент И и дешифратор, входы которого соединены с выходами блока записи, стробирующий вход дешифратора подключен к выходу датчика одиночных импульсов, соединенному с первым входом элемента И, второй вход которого 3 подключен через элемент НЕ к выходу СЛ многовходового элемента И и BTopot-fy входу исполнительного блока, вьгходы дешифратора соединены с первьп-ш входами соответствуюш.кх элементов И, вторые входы которых соединены с выteadk ходами соответствующих разр дов блоiaoA Ы) ка поразр дного сравнени  данных, а выходы подключены к входам многовхо05 дового элемента И. СОA device for searching for data, containing a block for receiving search prescriptions, a data block, a bit data comparison block, an execution unit, a cpaBiieHHH block of matched bits with a given one, which includes a recording unit, AND elements and NOT, a single pulse sensor, and the block outputs receiving signs of the search prescription and the data block are connected, respectively, with the first and second inputs of a one-bit comparison block, the comparison resolution input of which is connected to the output of the sensor of single pulses of the block compared the number of matched bits with a given one; the output of the element AND block; the comparison of the number of matched bits with a given one is connected to the first input of the execution unit, characterized in that, in order to improve speed and simplify the device, the block comparing the number of matching bit with the specified bit contains bit elements OR, multi-input element And and the decoder, the inputs of which are connected to the outputs of the recording unit, the gate input of the decoder is connected to the output of the sensor of single pulses connected to the first input of the element And, watts The swarm input of which 3 is connected through the element NOT to the output of the SL of the multi-input element AND and BTopot-fy to the input of the execution unit, the inputs of the decoder are connected to the first inputs of the corresponding AND elements, the second inputs of which are connected to the turns of the corresponding bits of the AO one by one comparison of the data, and the outputs are connected to the inputs of the multi-input element I. CO

Description

Изобретение относитс  к вьтислительной технике и может быть использовано в автоматизированных системах обработки информации. Известно устройство дл  поиска данных, содержащее блок приема признаков данных, преобразователь параллельного кода в последовательный, первый и второй вычитающие счетчики, блок записи, датчик одиночных импуль сов, блок импульсов сдвига, блок импульсов установки нул , линию задержки , исполнительный .блок и блок поразр дного сравнени  С 13« Недостатком известного устройства  вл етс  его относительно низкое быстродействие, так как решение о результате сравнени  вырабатываетс  после анализа всех разр дов признака сообщени . Наиболее близким к предлагаемому  вл етс  устройство дл  поиска данных , содержащее блоки приема данных и признаков поискового предписани , блок поразр дного сравнени  данных, исполнительный блок, блок сравнени  числа совпавших разр дов с заданным, включающий блок импульсов установки нул , блок импульсов сдвига, датчик одиночных импульсов, преобразователь параллельного кода в последовательньЙ5 .блок записи, основной и дополни тельный вычитающие счетчики, элемент Н-Е и элемент И, входы-которого соединены соответственно с выходами блока импульсов сдвига и элемента НЕ а выход подключен к второму дополнительному входу нсполнительнохо бло ка, вход элемента НЕ подключен к выходу преобразовател  параллельного кода в последовательный, выходы бло ков приема признаков поискового пред писани  и данньЕс соединены с первым и вторым входаьш блока поразр дного сраннени , третий вход которого подклточен к выходу датчика одиночньк импульсов, а выход - к первому входу преобразовател  параллельного кода в последовательный и. через линию задержки к входу блока импульсов сдвига , выход которого модключен к второму входу преобразовател  параллел ного кода в последовательньй и к пер вому входу дополнительного вычитающего Счетчика, второй вход которого соединен с выходом блока импульсов установки нул -и первьм .входом осно ного вычитающего счетчика, а выход с входом испол-п-ггйльного блока, вто рои вход основного вьгаита1ощего счетчика .соединен с вьг/:одом блока записи и третьим входом дополнительного вычитающего счетчика, выход основного вычитающего счетчика соединен с дополнительным входом исполнительного блока. Устройство позвол ет производить сравнение Данных с заданным числом совпадений разр дов., что в свою очередь позвол ет производить поиск данHbDt по переменном признаку Г.2. Недостатками данного устройства  вл ютс  его относительна .сложность и относительно низкое быстродействие. Первый недостаток объ сн етс  наличием в составе устройства двух вычитающих счетчиков и преобразовател  параллельного кода в последовательньш , выполненного по схеме сдвигового, регистра, число разр дов которого, равно максимальной разр дности чисел в массиве данных. Второй недостаток вытекает из последовательного принциПЯ . анализа числа совпавимх разр дов и прин ти  решени  в момент гго влени  первого несовпавшего разр да или по окончании.анализа всех разр дов. Цель изобретени  - повышение быстродействи .ч и упрощение устройства, Постакаен а  цель .G.jcTiiraeTCH тем что в устройстве дл  поиска данных , содержашем блок приема признаков .поискового предписани , блок даниьКу блок поразр дного сравнени  данных , исполнительный блок, блок сравнени  числа совпавших разр дов с заданным , который включает блок записи, элементы И и НЕ, датчик оди 1очньгх импульсов., причем выходы блока приема признаков поискового предписани  и блока данных соединены соответственно с перпьэ-1 и вторым входами блока поразр дного сравнени , вход разрешени  сравнени.  которого подключен к выходу датчика одиночных импульсов блока сравнени  числа совпаззших разр дов с заданным, выход элемента И блока сравнени  числа совпаБ1 Г :х разр дов с заданным соединен с первьЕвходом исполнительного блока, б.лок сравнени  числа совпавших разр дов с заданным содержит поразр дные элементы ИЛИ, много.входовый элемент И и дешифратор, входы которого соединены с вьосодами блока записи, стробирую1ций вход деп ифратора подключен к выходу датчика одиночных импульсов, соединенному с первым входом элемв та И, второй вход которого подключен через элемент ИЕ к выходу многовходо вого элемента И и -второму входу исполнительного блока, выходы дешифратора соединены с первыми входами соответствующих элементов И, вторые входы которых соединены с выходами соответствующих разр дов блока поразр дного сравнени  данных, а выход подключены к входам многовходового элемента И. На чертеже представлена блок-схема устройства. Устройство содержит блок 1 приема признаков поискового предписани . блок 2 данных, блок 3 поразр дного сравнени  данных, блок 4 сравнени  числа совпавших разр дов с з.аданным, в состав которого вход т элемент НЕ 5 блок 6 записи, датчик 7 одиночных им пул.ьсов, элемент И 8, многовходовые элемент И 9, элементы ИЛИ 10, дешифратор 11, а также исполнительный блок 12. Устройство работает следующим образом . На блоке 6 записи набираетс  число , представл ющее общее количество подлежащих совпадению разр дов. Данные о поисковых признаках подаютс  н вход блока 1 приема признаков поиско вого предписани . Импульсом пуска осуществл етс  прием чисел в блок 3. На выходах блока 3 по вл ютс  потенциалы 1 в соответствии с информаци ей совпавших разр дов чисел. Одновре менно э.тот же импульс поступает на стробирующий вход дешифратора 11 и на элемент И 8. При этом на выходах дешифратора 11, подключенных к элементам ШШ 10 тех разр дов, по которым не долхшо осуществл тьс  сравнение (в соответствии с данными с блока 6 записи), по вл ютс  потенциалы 1. На остш;ьных выходах дешифратора 11 присутствуют О. При совпадеНИИ признака с блока 1 с даннымрг бло-ка 2 на выходах элементов ИЛИ 10, прдключенных к разр дам, подлежаищм сравнению блоком 3, также по вл ютс сигналы 1, а на выходе многовходового элемента И 9 по вл етс  сигнал по которому срабатывает исполнитель блок 1 2. Если отсутствует совпадение признака с блока 1 с данными блока 2 (хо т  бы по одному разр ду, из числа пoдлeжaщIix сравнению), то на выходах соответствующего элемента ИЛИ 10 и многовходового элемента И по витс  сигнал О. Этот сигнал через элемент НЕ .5 поступит на элемент И в виде сигнала 1, а импульс с датчика 7 поступит в исполнительнь й блок, сигнализиру  о несравнегши. Таким образом, устройство осуществл ет поиск .данных со скоростью, соответствующей периоду следовани  импульсов датчика 7 или возможной скоростью приема признаков и данных в блоки 1 и 2. Технико-экономический эффект изобретени  заключаетс  в увеличении быстродействи  и упрощении устройства . Увеличение быстродействи  предлагаемого устройства можно оценить слеДУЮШ ПУ образом. Если прёппопо ить равноверо тньм по вле ше любого значени  разр да признака и анализируемых данных, то среднее врем  цикла поиска данных известным устройством составит . 2 ° где t - период следовани  импульсов блока сдвиговых импульсов известного устройства; to - длительность импульса датчика од1П1очных импульсов; п - число разр дов признака. Длительность цикла поиска предлагаемым устройством составит Тз , т.е. увеличение быстродействи  составит; В наиболее благопри тном (дл  известного устройства) случае, когда сигнал о несравпеиии поступает после анштиза первого разр да и при условии выигрьш в быстродействии, по сравнению с прототипом,равен двум. С учетом приведенных выше соотношений он будет еще больше. Упрощение устройства достигаетс  сокращением объема оборудовани , величину которого ьюжно оценить следующим образом. Из состава известного устройства исключены два счетчика, регистр сдвига на п разр дов, датчик импульсов сдвига и лини  задержки. Новыми блоками  вл ютс  дешифратор, п двухвхоS11 довых схем ИЛИ и одна .п-входова  схема совпадени . При реализации перечисленных узлов на интеградьшлх микросхемах современньпс cepmi средней степени илтеграцтш, например 133, 134, 164s 564 н т.д.5 объем оборудовани  (в корпусах микросхем) всех элементов ИЛИ 10 и элемента И 9 будет примерно соответствовать объему сдвигового регистра, а объем дешифратора 11 - объему счетчика. В результатаThe invention relates to compression technique and can be used in automated information processing systems. A device for data retrieval is known comprising a data reception unit, a parallel code-to-serial converter, first and second subtraction counters, a recording unit, a single pulse sensor, a shift pulse unit, a zero setting pulse unit, a delay line, an execution unit and a block This comparison of C 13 "A disadvantage of the known device is its relatively low speed, since the decision on the result of the comparison is generated after analyzing all bits of the message feature. The closest to the present invention is a device for searching data, containing data receiving blocks and search prescription indicia, a bit data comparison unit, an execution unit, a unit comparing the number of matched bits with a given one, including a zero setting pulse block, a single shift pulse unit pulses, parallel code converter to sequential 5. block, main and additional subtractive counters, element Н – Е and element И, inputs - of which are connected respectively to the outputs of the block the shift pulses and the HE element, and the output is connected to the second auxiliary input of the control unit, the input of the element is NOT connected to the output of the parallel code-to-serial converter, the outputs of the receiving blocks of the search order and the data are connected to the first and second inputs of one bit match, the third the input of which is connected to the output of the sensor of single pulses, and the output to the first input of the parallel-to-serial code converter and. through the delay line to the input of the shift pulse unit, the output of which is connected to the second input of the parallel code converter into the serial and to the first input of the additional subtractive Counter, the second input of which is connected to the output of the zero setting pulse block, and the first input of the subtracting counter, and the output with the input of the executive-p-ygyl block, the second input of the main counter of the counter. connected to the port /: one recording unit block and the third input of the additional subtractive counter, the output of the main subtractive counter connected to an additional input of the execution unit. The device allows data to be compared with a specified number of bit matches, which in turn allows searching for HbDt data according to the variable characteristic D.2. The disadvantages of this device are its relative complexity and relatively low speed. The first disadvantage is explained by the presence in the device of two subtractive counters and the converter of a parallel code into a sequence, executed according to the scheme of the shift register, the number of bits of which is equal to the maximum digit size of the data array. The second disadvantage stems from the sequential principle. analysis of the number of matching bits and the decision at the time of the occurrence of the first unmatched bit or at the end of the analysis of all bits. The purpose of the invention is to increase the speed .h and simplify the device, Postakaen the purpose of .G.jcTiiraeTCH by the fact that the device for data retrieval, which contains the block for receiving the signs of the search prescription, the unit of data acquisition, the unit of comparison of data, the unit of comparison of the number of matched bits. The sensor with the specified one, which includes the recording unit, the AND and NOT elements, the sensor of one of the first pulses. The outputs of the search instruction reception unit and the data block are connected respectively to Perpe-1 and the second inputs of the search unit. o Comparison, input resolution comparison. which is connected to the output of the sensor of single pulses of the unit comparing the number of coincident bits with a given one, the output of the element I of the unit comparing the number of coincidences G: x bits with the specified one is connected to the first output of the execution unit, the unit comparing the number of matched bits with the specified contains bit elements OR, a multi-input element And and a decoder, the inputs of which are connected to the drives of the recording unit, strobe the depositor input connected to the output of the sensor single pulse, connected to the first input of the element And, the second input which is connected through the element IE to the output of the multi-input element And and to the second input of the execution unit, the outputs of the decoder are connected to the first inputs of the corresponding elements And, the second inputs of which are connected to the outputs of the corresponding bits of the block comparison of data, and the output connected to the inputs of the multi-input element I. The drawing shows the block diagram of the device. The device comprises a search prescription feature receiving unit 1. data block 2, block 3 for comparison of data, block 4 for the comparison of the number of matched bits with the data set, which includes the element NOT 5, the recording unit 6, the sensor 7 of the single them, the element 8, the multi-input element AND 9, the elements OR 10, the decoder 11, as well as the execution unit 12. The device operates as follows. In block 6 of the record, a number representing the total number of bits to be matched is dialed. Information about search indications is given to the input of the search reception feature block 1 of the prescription. A start pulse is used to receive numbers in block 3. At the outputs of block 3, potentials 1 appear in accordance with the information of the matching digit of numbers. At the same time, the same pulse arrives at the gate input of the decoder 11 and at element 8. At the same time, at the outputs of the decoder 11 connected to the elements of the W 10 of those bits for which the comparison is not carried out (according to the data from block 6 records), potentials appear 1. On the remaining outputs of the decoder 11, O. is present. If the sign from block 1 coincides with the data block 2, the outputs of the elements OR 10 connected to the bits to be compared with block 3 are also Signals 1, and at the output of the multi-input element And 9 The signal on which the performer of block 1 2 is triggered. If the feature from block 1 does not coincide with the data of block 2 (at least one bit from the sequence of the comparison), then at the outputs of the corresponding element OR 10 and the multi-input element AND a Wits signal A. This signal through the element NOT .5 will arrive at the element AND in the form of signal 1, and the impulse from sensor 7 will go to the executive unit, signaling the incomparable. Thus, the device searches for data at a rate corresponding to the pulse period of sensor 7 or the possible reception rate of features and data in blocks 1 and 2. The technical and economic effect of the invention is to increase the speed and simplify the device. The increase in the speed of the proposed device can be estimated using the following method. If we equip equally the value of the characteristic bit and the data being analyzed, then the average cycle time for data retrieval by a known device will be. 2 ° where t is the period of the following pulses of the block of shear pulses of the known device; to is the pulse duration of the sensor of single-pulse; n is the number of bits of the feature. The duration of the search cycle by the proposed device will be Tz, i.e. increase in speed will be; In the most favorable (for the known device) case, when the signal of non-operability comes after the anthztiz of the first discharge and with the condition of winning in speed, compared with the prototype, is equal to two. Given the above ratios, it will be even more. The simplification of the device is achieved by reducing the amount of equipment, the value of which can be estimated as follows. Two counters, a shift register for n bits, a shift pulse sensor, and a delay line are excluded from the known device. New blocks are a decoder, n two-input S11 OR circuits, and one n-input matching circuit. When implementing the above nodes on integrated circuits of modern medium-sized Cepmi systems, for example, 133, 134, 164s 564 n ..5, the amount of equipment (in the case of ICs) of all the OR 10 elements and the AND 9 element will approximately correspond to the volume of the shift register, and the volume decoder 11 - the volume of the counter. In the result

пP

.г 9 число корпусов микросхем предлагаемого устройства уменьшитс  на величину нeoбкoди ry o дл  построени  одного счетчика, датчшса импульсов и линии задержки, что составл ет 3-5 корпусов в зависимости от используемой серии. Таким образом, предлагаемое уст- ройство проще известного и обеспечивает более высокое быстродействие при поиске данных по переменному признаку.. 9 the number of microcircuit cases of the proposed device will be reduced by the value of ry o to build one counter, the pulse rate and the delay line, which is 3-5 cases depending on the series used. Thus, the proposed device is simpler than the known one and provides higher speed when searching for data on a variable attribute.

Claims (1)

УСТРОЙСТВО ДЛЯ ПОИСКА ДАННЫХ, содержащее блок приема признаков поискового предписания, блок данных, блок поразрядного сравнения данных, исполнительный блок, блок сравнения числа совпавших разрядов с заданным, который включает блок записи, элементы И и НЕ, датчик одиночных импульсов, причем выходы блока приема признаков поискового-предписания и блока данных соединены соответственно с первым и вторым входами блока поразрядного сравнения, вход разрешения сравнения которого подключен к выходу датчика одиночных импульсов блока сравнения числа сов павших разрядов с заданным, выход элемента и блока сравнения числа совпавших разрядов с заданным соединен с первым входом исполнительного блока, отличающееся тем, что, с целью повышения быстродействия и упрощения устройства, блок сравнения числа совпавших разрядов с заданным содержит поразрядные элементы ИЛИ, многовходовый элемент И и дешифратор, входы которого соединены с выходами блока записи, стробирующий вход дешифратора подключен к выходу датчика одиночных импульсов, соединенному с первым вхоО дом элемента И, второй вход которого -д подключен через элемент НЕ к выходу многовходового элемента И и BTopot-fy входу исполнительного блока, выходы ' дешифратора соединены с первыми входами соответствующих элементов И, вторые входы которых соединены с выходами соответствующих разрядов блока поразрядного сравнения данных, а выходы подключены к входам многовходового элемента И.DEVICE FOR SEARCHING DATA, comprising a unit for receiving features of a search instruction, a data unit, a bitwise data comparison unit, an executive unit, a unit for comparing the number of matched digits with a given one, which includes a recording unit, AND and NOT elements, a single pulse sensor, the outputs of the characteristics receiving unit the search-prescription and the data block are connected respectively to the first and second inputs of the bitwise comparison unit, the comparison resolution input of which is connected to the output of the single pulse sensor of the comparison unit h isl of coincident discharges with a given one, the output of an element and a unit for comparing the number of coincident discharges with a given one is connected to the first input of the executive unit, characterized in that, in order to improve performance and simplify the device, the unit for comparing the number of coincident discharges with a given one contains bit elements OR, multi-input the And element and the decoder, the inputs of which are connected to the outputs of the recording unit, the gate input of the decoder is connected to the output of the single pulse sensor connected to the first input of the And element, the second input - d is connected through the element NOT to the output of the multi-input element And and BTopot-fy to the input of the executive unit, the outputs of the decoder are connected to the first inputs of the corresponding elements And, the second inputs of which are connected to the outputs of the corresponding bits of the bitwise data comparison unit, and the outputs are connected to the inputs of the multi-input element I. бшгп i .11:BSHP i .11:
SU833619245A 1983-07-11 1983-07-11 Device for searching data SU1126949A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833619245A SU1126949A1 (en) 1983-07-11 1983-07-11 Device for searching data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833619245A SU1126949A1 (en) 1983-07-11 1983-07-11 Device for searching data

Publications (1)

Publication Number Publication Date
SU1126949A1 true SU1126949A1 (en) 1984-11-30

Family

ID=21073503

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833619245A SU1126949A1 (en) 1983-07-11 1983-07-11 Device for searching data

Country Status (1)

Country Link
SU (1) SU1126949A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР К 995087, кл. G 06 F 7/10, 1981. 2. Авторское свидетельство СССР № 1061153, кл. G 06 F 7/10, 1982 (прототип)... *

Similar Documents

Publication Publication Date Title
US3947673A (en) Apparatus for comparing two binary signals
SU1126949A1 (en) Device for searching data
SU1615756A1 (en) Device for identifying images
SU955031A1 (en) Maximum number determination device
SU1387016A1 (en) Digital filter
SU1061133A2 (en) Device for information retrieval
SU1388866A1 (en) Device for identifying file records
SU1282118A1 (en) Random binary number generator
SU1443146A2 (en) Device for extracting single n-th pulse
SU1136149A1 (en) Device for determining difference of two numbers
SU1168924A2 (en) Device for ranging extremum values
SU1043666A2 (en) Access code frequency ranging device
SU578670A1 (en) Cyclic synchronization receiver
SU951321A1 (en) Retrieval code frequency ranging device
SU1023321A1 (en) Device for comparing numbers
SU1223222A1 (en) Device for sorting numbers
SU1397936A2 (en) Device for combination searching
SU746182A1 (en) Counting and measuring apparatus
SU1667121A1 (en) Data input device
SU1377843A1 (en) Code ring oscillator
SU1037345A1 (en) Associative memory
SU760088A1 (en) Device for comparing numbers with two thresholds
SU1043633A1 (en) Comparison device
SU1148116A1 (en) Polyinput counting device
SU987616A1 (en) Device for serial discriminating unities from n-digit binary code