RU2274893C2 - Information sorting device - Google Patents

Information sorting device Download PDF

Info

Publication number
RU2274893C2
RU2274893C2 RU2004117660/09A RU2004117660A RU2274893C2 RU 2274893 C2 RU2274893 C2 RU 2274893C2 RU 2004117660/09 A RU2004117660/09 A RU 2004117660/09A RU 2004117660 A RU2004117660 A RU 2004117660A RU 2274893 C2 RU2274893 C2 RU 2274893C2
Authority
RU
Russia
Prior art keywords
block
control
gaw
input
information
Prior art date
Application number
RU2004117660/09A
Other languages
Russian (ru)
Other versions
RU2004117660A (en
Inventor
нова Ирина Николаевна Емель (RU)
Ирина Николаевна Емельянова
Владислав Владиславович Ефремов (RU)
Владислав Владиславович Ефремов
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 RU2004117660/09A priority Critical patent/RU2274893C2/en
Publication of RU2004117660A publication Critical patent/RU2004117660A/en
Application granted granted Critical
Publication of RU2274893C2 publication Critical patent/RU2274893C2/en

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

FIELD: engineering of technical means for automatics and computer science, possible use in information processing devices, in particular for composing dictionaries, reference books, creating and updating databases, in information searching systems.
SUBSTANCE: device has stack memory blocks, comparison element, control block, input and output channels, random-access memory block, block for commutation and identification, external controlling inputs, external controlling outputs, controlling outputs of control block.
EFFECT: expanded functional capabilities due to addition of substitution operation without significant increase of device costs.
9 dwg

Description

Изобретение относится к техническим средствам автоматики и вычислительной техники и может быть использовано в устройствах обработки информации, в частности для составления словарей, справочников, создания и ведения баз данных, в информационно-поисковых системах.The invention relates to technical means of automation and computer technology and can be used in information processing devices, in particular for compiling dictionaries, reference books, creating and maintaining databases, in information retrieval systems.

Известно "Устройство сортировки информации" (а.с. №1594521, 1990 г. Бюл. 35), позволяющее упорядочить массивы данных.The "Information Sorting Device" is known (AS No. 1594521, 1990, Bull. 35), which makes it possible to organize data arrays.

Известно также "Устройство сортировки информации" (пат. №2034327, 1995 г. Бюл. 2), позволяющее упорядочить данные.It is also known "Device for sorting information" (US Pat. No. 2034327, 1995 Bull. 2), which allows you to organize the data.

В качестве прототипа выбрано "Устройство сортировки информации" (пат. №2128855, 1999 г. Бюл. 10), позволяющее упорядочить данные и осуществить отбор слов из потока данных на основании сопоставления их с заданными образцами.As a prototype, “Information Sorting Device” (Pat. No. 2128855, 1999 Bull. 10) was selected, which allows one to organize data and select words from a data stream based on their comparison with given samples.

Недостатком известного устройства является ограниченность функциональных возможностей операциями упорядочения данных и отбора слов из потока данных.A disadvantage of the known device is the limited functionality of the operations of ordering data and selecting words from the data stream.

Технической задачей изобретения является расширение функциональных возможностей за счет добавления операции подстановки без значительного удорожания аппаратуры.An object of the invention is to expand the functionality by adding a substitution operation without significantly increasing the cost of the equipment.

Изобретение позволяет организовать помимо режима упорядочения данных и режима отбора слов из потока данных, режим отбора слов и замены их на слова-подстановки без значительного увеличения затрат на аппаратуру.The invention allows to organize, in addition to the mode of data ordering and the mode of selecting words from the data stream, the mode of selecting words and replacing them with substitution words without significantly increasing the cost of the equipment.

Решение задачи достигается тем, что в устройство сортировки информации, содержащее первый и второй стековые блоки памяти, элемент сравнения, блок управления, входной и выходной каналы, блок оперативной памяти, блок коммутации и идентификации, причем с первого по пятый управляющие выходы блока управления соединены соответственно с первого по пятый управляющими входами блока оперативной памяти, информационный вход которого соединен с входным каналом, управляющий выход блока оперативной памяти соединен с четвертым управляющим входом блока управления, информационный выход блока оперативной памяти соединен с первым информационным входом элемента сравнения и вторым информационным входом блока коммутации и идентификации, первый и второй управляющие выходы последнего соединены соответственно с четырнадцатым и семнадцатым управляющими входами блока управления, с первого по четвертый управляющие входы блока коммутации и идентификации соединены соответственно с десятого по двенадцатый и с восемнадцатым управляющими выходами блока управления, третий и четвертый информационные входы блока коммутации и идентификации соединены соответственно с входным каналом и информационным выходом второго стекового блока памяти, третий информационный выход блока коммутации и идентификации соединен с информационным входом первого стекового блока памяти, второй информационный выход блока коммутации и идентификации соединен с выходным каналом, первый информационный выход блока коммутации и идентификации соединен с информационным входом второго стекового блока памяти, первый и второй управляющие входы последнего соединены соответственно с шестым и седьмым управляющими выходами блока управления, первый и второй управляющие выходы второго стекового блока памяти соединены соответственно с десятым и одиннадцатым управляющими входами блока управления, с первого по пятый управляющие входы первого стекового блока памяти соединены соответственно с восьмым, девятым и с пятнадцатого по семнадцатый управляющими выходами блока управления, с первого по третий управляющие выходы первого стекового блока памяти соединены соответственно с двенадцатым, тринадцатым и пятнадцатым управляющими входами блока управления, информационный выход первого стекового блока памяти соединен с первым информационным входом блока коммутации и идентификации и со вторым информационным входом элемента сравнения, с первого по третий управляющие выходы последнего соединены соответственно с пятого по седьмой управляющими входами блока управления, с первого по третий управляющие входы "ЗАГР", "ЧТПР", "ЧТОБ", а также восьмой и девятый управляющие входы "СБРОС" и "ПУСК", а также шестнадцатый управляющий вход "РСЕЛ" блока управления являются внешними входами устройства, тринадцатый и четырнадцатый управляющие выходы "ГТ" и "СИН" блока управления являются внешними выходами устройства, введены восемнадцатый внешний управляющий вход "РПОД" блока управления и с девятнадцатого по двадцать первый управляющие выходы блока управления, соединенные соответственно с шестого по восьмой управляющими входами первого стекового блока памяти.The solution to the problem is achieved by the fact that in the information sorting device containing the first and second stacked memory blocks, a comparison element, a control unit, input and output channels, a random access memory unit, a switching and identification unit, the first to fifth control outputs of the control unit are connected respectively from the first to fifth control inputs of the RAM block, the information input of which is connected to the input channel, the control output of the RAM block is connected to the fourth control input of the unit control, the information output of the random access memory unit is connected to the first information input of the comparison element and the second information input of the switching and identification unit, the first and second control outputs of the latter are connected respectively to the fourteenth and seventeenth control inputs of the control unit, from the first to fourth control inputs of the switching unit and identification are connected, respectively, from the tenth to the twelfth and eighteenth control outputs of the control unit, the third and fourth information The input inputs of the switching and identification unit are connected respectively to the input channel and the information output of the second stack memory unit, the third information output of the switching and identification unit is connected to the information input of the first stack memory unit, the second information output of the switching and identification unit is connected to the output channel, the first information output the switching and identification unit is connected to the information input of the second stacked memory block, the first and second control inputs of the last They are connected respectively to the sixth and seventh control outputs of the control unit, the first and second control outputs of the second stack memory block are connected respectively to the tenth and eleventh control inputs of the control unit, from the first to fifth control inputs of the first stack memory block are connected to the eighth, ninth and fifteenth, respectively according to the seventeenth control outputs of the control unit, from the first to third control outputs of the first stack memory block are connected respectively with the twelfth, three by the eleventh and fifteenth control inputs of the control unit, the information output of the first stack memory block is connected to the first information input of the switching and identification unit and to the second information input of the comparison element, from the first to third control outputs of the latter are connected respectively from the fifth to seventh control inputs of the control unit, with the first to third control inputs are “ZAGR”, “ChTPR”, “WHAT”, as well as the eighth and ninth control inputs are “RESET” and “START”, as well as the sixteenth control input is “RSEL” b The control windows are the external inputs of the device, the thirteenth and fourteenth control outputs "GT" and "SIN" of the control unit are the external outputs of the device, the eighteenth external control input "RPOD" of the control unit and from the nineteenth to twenty-first control outputs of the control unit are connected, respectively connected to sixth through eighth control inputs of the first stack memory block.

ВХК - входной канал служит для приема данных.VHK - the input channel is used to receive data.

БОП - блок оперативной памяти служит для временного хранения принятого слова или числа.BOP - the block of random access memory serves for temporary storage of the accepted word or number.

ЭС - элемент сравнения символов принятого слова и уже упорядоченных слов или образцов.ES - an element for comparing the characters of a received word and already ordered words or patterns.

СБП2 - второй стековый блок памяти служит для хранения части упорядоченного массива и организации упорядочения, а также хранения переработанного фрагмента текста.SBP2 - the second stacked memory block serves to store part of an ordered array and organize ordering, as well as to store a processed fragment of text.

СБП1 - первый стековый блок памяти служит для хранения части упорядоченного массива и организации упорядочения или хранения массива образцов в режиме отбора, или образцов и подстановок в режиме подстановки.SBP1 - the first stacked memory block is used to store part of an ordered array and organize ordering or storage of an array of samples in the selection mode, or samples and substitutions in the substitution mode.

БКиИ - блок коммутации и идентификации служит для коммутации информации с различных источников на информационный вход блоков СБП2, СБП1 и на выходной канал, а также для определения границ слов упорядоченного массива и идентификации маскированных символов образца.БКиИ - switching and identification unit serves for switching information from various sources to the information input of blocks SBP2, SBP1 and to the output channel, as well as to determine the word boundaries of an ordered array and to identify masked symbols of the sample.

ВЫХК - выходной канал служит для выдачи данных.OUT - the output channel is used to output data.

БУ - блок управления служит для управления другими блоками устройства.BU - control unit is used to control other units of the device.

Теория нормальных алгорифмов универсальна по отношению к любым алгоритмическим схемам [1]. Под алгорифмом Маркова понимается конечная последовательность формул видаThe theory of normal algorithms is universal with respect to any algorithmic schemes [1]. A Markov algorithm is a finite sequence of formulas of the form

Figure 00000002
Figure 00000002

где S - образец; Т - подстановка; S и Т - произвольные слова в фиксированном алфавите.where S is the sample; T is a substitution; S and T are arbitrary words in a fixed alphabet.

Работа формулы заключается в обнаружении в слове фрагмента, совпадающего с образцом, и замене обнаруженного фрагмента на слово-подстановку.The formula works by detecting a fragment in the word that matches the pattern and replacing the detected fragment with a substitution word.

Упорядочение слов, например, по признаку алфавитного порядка в теории нормальных алгорифмов занимает особое место, поскольку относится к труднореализуемым задачам, в которых используются формулы (продукции), содержащие образцы с заданными в их структуре операциями. В данном случае речь идет об операции компарации на "больше", "меньше" и "равно". Подстановка в формулах вида (1) также имеет свою специфику и представляет собой вспомогательное служебное слово, указывающее позицию слова среди других слов в заданном правиле упорядочения, а для отбора слов это служебное слово - указатель слова, отвечающего заданным правилам отбора. Для реализации отбора слов с подстановкой используются продукции вида (1).The ordering of words, for example, on the basis of alphabetical order in the theory of normal algorithms, occupies a special place, since it relates to difficult tasks in which formulas (products) are used that contain patterns with operations specified in their structure. In this case, we are talking about the operation of comparing "more", "less" and "equal". Substitution in formulas of the form (1) also has its own specifics and is an auxiliary service word that indicates the position of a word among other words in a given ordering rule, and for word selection this service word is an index of a word that meets specified selection rules. To implement the selection of words with substitution, products of the form (1) are used.

В основу работы предлагаемого устройства положен модифицированный алгоритм, который содержит образец и подстановку с указанными выше особенностями. Устройство сортировки информации реализует формулы вида (2, 3, 4)The proposed device is based on a modified algorithm that contains a sample and a substitution with the above features. The information sorting device implements formulas of the form (2, 3, 4)

Figure 00000003
Figure 00000003

Figure 00000004
Figure 00000004

S1, S2 - компаранды образца; © - символ, обозначающий операцию компарации на "больше", "меньше" и "равно"; ©' - символ, обозначающий операцию компарации на "больше" и "меньше" с "равно" с учетом маски образца при сопоставлении (который показан в качестве компаранда образца в формуле вида (1)), а также сопоставление длины компарандов; Т1 - указатель позиции в частично упорядоченном массиве одного из компарандов в зависимости от результата компарации или сопоставления длин слов; Т2 - указатель следующего (текущего) компаранда или правила построения образца по результатам сравнения слов; → - разделители в форме служебных символов, не входящих в основной алфавит; Т3 - фрагмент подстановки, означающий выдачу на выходной канал принятого слова.S1, S2 - sample comparands; © - a symbol denoting the operation of comparing to "more", "less" and "equal"; © '- a symbol indicating the operation of comparing by “more” and “less” with “equal”, taking into account the mask of the sample when matching (which is shown as the sample compend in the formula of the form (1)), as well as comparing the length of the companions; T1 - position indicator in a partially ordered array of one of the comparands depending on the result of the comparation or comparison of word lengths; T2 - pointer to the next (current) companion or sample construction rule based on the results of word comparison; → - separators in the form of service characters that are not included in the main alphabet; T3 - fragment substitution, which means the issuance of the received word on the output channel.

Figure 00000005
Figure 00000005

n - количество образцов; S3 - множество образцов; Т4 - множество подстановок; i - номер образца и соответствующей ему подстановки.n is the number of samples; S3 - many samples; T4 - many permutations; i is the number of the sample and its corresponding substitution.

В предлагаемом устройстве смысл фрагмента подстановки Т2 заключается в приеме очередного символа с входного канала.In the proposed device, the meaning of the substitution fragment T2 is to receive the next character from the input channel.

Формула вида (2) задает рекурсивную реализацию процесса упорядочения; формула вида (3) - процесса селекции, формула вида (4) задает реализацию процесса селекции с подстановкой, при этом сопоставление текста с образцами происходит последовательно.A formula of the form (2) defines a recursive implementation of the ordering process; a formula of the form (3) is a selection process, a formula of the form (4) defines the implementation of the selection process with substitution, while the text is matched with the patterns in sequence.

На фиг.1 изображена структурная схема устройства сортировки информации;Figure 1 shows a structural diagram of a device for sorting information;

на фиг.2 представлен вариант технической реализации блока оперативной памяти;figure 2 presents a variant of the technical implementation of the block RAM;

на фиг.3 - вариант технической реализации элемента сравнения;figure 3 is a variant of the technical implementation of the comparison element;

на фиг.4 - вариант технической реализации второго стекового блока памяти;figure 4 is a variant of the technical implementation of the second stacked memory block;

на фиг.5 - вариант технической реализации первого стекового блока памяти;figure 5 is a variant of the technical implementation of the first stacked block of memory;

на фиг.6 - вариант технической реализации блока коммутации и идентификации;figure 6 is a variant of the technical implementation of the switching unit and identification;

на фиг.7 А-В - содержательная граф-схема алгоритма (далее по тексту ГСА) работы блока управления.in Fig.7 AB - a meaningful graph diagram of the algorithm (hereinafter referred to as GAW) of the operation of the control unit.

Устройство сортировки информации (фиг.1) содержит входной канал 1, блок 2 оперативной памяти, элемент 3 сравнения, первый стековый блок 4 памяти, второй стековый блок 5 памяти, блок 6 коммутации и идентификации, выходной канал 7, блок 8 управления.The information sorting device (Fig. 1) contains an input channel 1, a random access memory unit 2, a comparison element 3, a first memory stack 4, a second memory stack 5, a switching and identification unit 6, an output channel 7, a control unit 8.

Для описания алгоритма работы блока 8 управления используются следующие идентификаторы.To describe the operation algorithm of control unit 8, the following identifiers are used.

1. ЗАГР - сигнал записи в устройство.1. ZAGR - signal recording to the device.

2. ЧТПР - сигнал выдачи устройством упорядоченного массива в возрастающем порядке.2. ChTPR - the signal of the device issuing an ordered array in increasing order.

3. ЧТОБ - сигнал выдачи устройством упорядоченного массива в убывающем порядке.3. SO - the signal from the device issuing an ordered array in descending order.

4. ОБСЧ - сигнал обнуления, поступающий на вход счетчика блока БОП.4. OBSH - a zeroing signal received at the input of the counter of the BOP unit.

5. ИНСЧ - сигнал инкрементации содержимого счетчика блока БОП.5. INSC - a signal for incrementing the contents of the counter of the BOP unit.

6. ЗПРГ - сигнал записи в регистр РГ блока БОП информации из счетчика СЧ блока БОП.6. ZPRG - a signal of writing to the WG register of the BOP unit of information from the counter of the MF unit of the BOP

7. ЗПОЗУ - сигнал записи/не чтения ОЗУ блока БОП.7. ZPOZU - write / non-read signal of RAM of the BOP unit.

8. ВК1 - сигнал выбора кристалла ОЗУ блока БОП (инверсный).8. VK1 - signal selection chip RAM block BOP (inverse).

9. КС - признак конца слова, находящегося в блоке БОП.9. COP - a sign of the end of a word located in the BOP unit.

10. БОЛЬШЕ - признак того, что символ И2 больше символа ИЗ.10. MORE - a sign that the I2 symbol is larger than the IZ symbol.

11. МЕНЬШЕ - признак того, что символ И2 меньше символа ИЗ.11. LESS - a sign that the I2 symbol is less than the IZ symbol.

12. РАВНО - признак того, что символ И2 равен символу ИЗ.12. EQUAL - a sign that the I2 symbol is equal to the IZ symbol.

13. ЗПС1 - сигнал записи в стек блока СБП1.13. ZPS1 - a signal to write to the stack of the SBP1 block.

14. ЧТС1 - сигнал чтения из стека блока СБП1.14. ЧТС1 - read signal from the stack of SBP1 block.

15. ОБСЧА - сигнал обнуления счетчика адреса СЧА блока СБП1.15. OBSCHA - signal for resetting the counter of the address of the NAV unit SBP1.

16. ИНСЧА - сигнал инкрементации содержимого счетчика адреса СЧА блока СБП1.16. INSCA - a signal for incrementing the contents of the counter of the NAV of the SBP1 block.

17. ЗПРГА - сигнал записи в регистр адреса РГА блока СБП1 информации из счетчика адреса СЧА блока СБП1.17. ZPRGA - signal write to the register RGA block SBP1 information from the counter address SCA block SBP1.

18. ВК2 - сигнал выбора кристалла ОЗУ блока СБП1 (инверсий).18. VK2 - signal selection chip RAM block SBP1 (inversions).

19. С1ПН - признак того, что блок СБП1 полон.19. S1PN - a sign that the SBP1 block is full.

20. С1ПТ - признак того, что блок СБП1 пуст.20. C1PT - a sign that the SBP1 block is empty.

21. KM - признак конца массива, находящегося в блоке СБП1 в режиме селекции.21. KM - sign of the end of the array located in block SBP1 in selection mode.

22. ЗПС2 - сигнал записи в стек блока СБП2.22. ZPS2 - write signal to the stack block SBP2.

23. ЧТС2 - сигнал чтения из стека блока СБП2.23. ЧТС2 - read signal from the stack of SBP2 block.

24. С2ПН - признак того, что стек блока СБП2 полон.24. C2PN - a sign that the stack of the SBP2 block is full.

25. С2ПТ - признак того, что стек блока СБП2 пуст.25. S2PT - a sign that the stack of SBP2 block is empty.

26. РСЕЛ - внешний признак режима селекции.26. RSEL is an external sign of the selection regime.

27. СБРОС - сигнал сброса устройства.27. RESET - device reset signal.

28. ПУСК - сигнал пуска устройства.28. START - start signal of the device.

29. АО - адрес, подаваемый на вход коммутатора КМ2 блока БКиИ.29. AO - the address supplied to the input of the KM2 switch of the BKiI block.

30. А1 - адрес 1, подаваемый на вход коммутатора КМ1 блока БКиИ.30. A1 - address 1, supplied to the input of the switch KM1 block BCI.

31. А2 - адрес 2, подаваемый на вход коммутатора КМ1 блока БКиИ.31. A2 - address 2 supplied to the input of the switch KM1 block BCI.

32. РВ - сигнал разрешения выдачи информации на выходной канал.32. RV - permission signal for the issuance of information to the output channel.

33. ГС - признак границы между словами упорядоченного массива или массива образцов.33. HS - a sign of the boundary between the words of an ordered array or array of samples.

34. МС - признак маскированного символа в режиме селекции.34. MS - a sign of a masked character in the selection mode.

35. РПОД - внешний признак режима подстановки.35. RPOD - an external sign of the substitution mode.

36. НЕРПОД - инверсия признака РПОД.36. NERPOD - inversion of the sign of RPOD.

37. ПОД - сигнал выбора нечетного адреса ОЗУ блока СБП1 в режиме подстановки.37. POD - a signal for selecting the odd RAM address of the SBP1 block in the substitution mode.

38. ГТ - сигнал готовности устройства.38. GT - signal readiness of the device.

39. СИН - внешний выходной синхронизирующий сигнал.39. SYN - external output clock signal.

40. И1 - входные данные ОЗУ блока БОП.40. I1 - input RAM of the BOP unit.

41. И2 - выходные данные ОЗУ блока БОП.41. I2 - the output of the RAM unit BOP.

42. И3 - выходные данные ОЗУ блока СБП1.42. I3 - the output of RAM block SBP1.

43. И4 - выходные данные стека блока СБП2.43. I4 - the output of the stack block SBP2.

44. И5 - выходные данные коммутатора блока БКиИ, поступающие на вход стека СБП2.44. I5 - the output of the switch unit БКиИ received at the input of the stack SBP2.

45. И6 - выходные данные шинного формирователя ШФ блока БКиИ.45. I6 - output data of the bus driver ShF block БКиИ.

46. И7 - выходные данные коммутатора КМ2 блока БКиИ.46. I7 - the output of the switch KM2 block BCI.

Работа алгоритма управления устройством.The operation of the device control algorithm.

Содержательная ГСА управления приведена на фиг.7 и отражает работу блока управления (фиг.1).Content GAW control is shown in Fig.7 and reflects the operation of the control unit (Fig.1).

По сигналу "СБРОС" (узел 2 ГСА) (фиг.1) происходит сброс информации, хранящейся в блоках СБП1 и СБП2 по командам "ОБСЧА" и "ЧТС2" (узел 4 ГСА) до тех пор, пока блок СБП2 не станет пуст и установится признак "С2ПТ" (узел 5 ГСА) (фиг.1).The signal "RESET" (node 2 GAW) (figure 1) is the reset of the information stored in the blocks SBP1 and SBP2 commands "OBSCHA" and "TTS2" (node 4 GAU) until the block SBP2 is empty and the sign will be set "C2PT" (node 5 GAW) (figure 1).

По сигналу "ПУСК" (узел 5 ГСА) осуществляется переход на узел 113 ГСА, иначе на узел 5 ГСА.The signal "START" (node 5 GAW) is the transition to the node 113 GAW, otherwise the node 5 GAW.

В узле 6 ГСА осуществляется анализ сигнала "ЧТОБ", по этому сигналу осуществляется переход на узел 63 ГСА.At the GSA node 6, the “WHAT” signal is analyzed, this signal transfers to the GSA node 63.

В узле 7 ГСА осуществляется анализ сигнала "ЧТПР", по этому сигналу осуществляется переход на узел 58 ГСА.In the node 7 of the GAW, the analysis of the signal "ChTPR" is carried out, this signal is used to go to the node 58 of the GAW.

В узле 8 ГСА анализируется сигнал "ЗАГР", по которому осуществляется загрузка входного слова в БОП (фиг.1), иначе осуществляется переход на блок 6 ГСА.In the node 8 of the GAW, the signal "ZAGR" is analyzed, by which the input word is loaded into the BOP (Fig. 1), otherwise, the transition to block 6 of the GAW is performed.

В блоке 9 ГСА по команде "ОБСЧ:=1" обнуляется счетчик блока БОП (фиг.2). До тех пор, пока не будет снят сигнал "ЗАГР".In block 9 of the GAW, the command "OSCH: = 1" resets the counter of the BOP unit (Fig. 2). Until the signal "LOAD" is removed.

В блоке 10 ГСА по команде "ЗПОЗУ:=1" происходит запись входного символа в ОЗУ по адресу, хранящемуся в счетчике СЧ (фиг.2), и выдача внешнего синхронизирующего сигнала "СИН" (блок 11 ГСА). В блоке 12 ГСА по команде "ИНСЧ:=1" содержимое счетчика СЧ (фиг.2) увеличивается на единицу.In block 10 of the GAW, by the command "RAM: = 1", the input symbol is recorded in RAM at the address stored in the MF counter (Fig. 2), and the external sync signal "SYN" is issued (block 11 GAU). In block 12 GAW by the command "INSC: = 1" the content of the midrange counter (figure 2) is increased by one.

В блоке 13 ГСА по команде "ЗПРГ:=1" происходит запись в регистр РГ состояния счетчика СЧ (фиг.2), в данном случае равное количеству символов в принятом слове.In block 13 of the GAW, by the command "ZPRG: = 1", the state of the MF counter is recorded in the register RG (figure 2), in this case equal to the number of characters in the received word.

В блоке 14 ГСА анализируется признак пустоты блока СБП1 "С1ПТ". По этому признаку осуществляется переход на блок 16 алгоритма.In block 14 GAW analyzes the sign of emptiness block SBP1 "C1PT". On this basis, the transition to block 16 of the algorithm.

В блоке 15 ГСА по команде "ОБСЧ:=1" обнуляется счетчик СЧ (фиг.2), по командам "ЧТС1:=1", "А1:=1", "А2:=1", "ЗПС2:=1" происходит запись символа из блока СБП1 в блок СБП2, осуществляется переход на блок 19 ГСА.In block 15 of the GAW, the command “OSCH: = 1” clears the MF counter (FIG. 2), by the commands “ЧТС1: = 1”, “A1: = 1”, “A2: = 1”, “ЗПС2: = 1” the character is recorded from the SBP1 block to the SBP2 block, the transition to the GAU block 19 is carried out.

В блоке 16 ГСА анализируется признак пустоты блока СБП2 (фиг.1) "С2ПТ", по признаку осуществляется переход на блок 40 ГСА, иначе происходит запись слова из СБП2 в СБП1 (фиг.1).In the block 16 GAW analyzes the sign of the void block SBP2 (figure 1) "C2PT", on the basis of the transition to block 40 GAU, otherwise the word is written from SBP2 in SBP1 (figure 1).

В блоке 17 анализируется признак границы между словами в стековых блоках памяти "ГС", идентифицируемый специальным служебным кодом. По признаку осуществляется переход на блок 15 ГСА.In block 17, the sign of the boundary between words in the stacked blocks of memory "HS", identified by a special service code, is analyzed. On the basis of the transition to block 15 GAW.

В блоке 18 ГСА по командам "ЧТС2:=1", "ЗПС2:=1" происходит запись очередного символа из СБП2 в СБП1 (фиг.1), осуществляется переход на блок 17 ГСА.In the block 18 GAW by the commands "CTS2: = 1", "ZPS2: = 1" is the recording of the next character from SBP2 in SBP1 (figure 1), the transition to block 17 GAU.

В блоке 19 ГСА анализируется признак того, что И2 меньше И3 "МЕНЬШЕ", выдаваемый элементом сравнения (фиг.3). По признаку осуществляется переход на блок 20 ГСА, иначе на блок 35 ГСА.In block 19 of the GAW, a sign is analyzed that I2 is less than I3 “LESS”, issued by the comparison element (FIG. 3). On the basis of the transition to block 20 GAW, otherwise to block 35 GAW.

В блоке 20 ГСА анализируется признак границы между словами в стековых блоках памяти (фиг.1) "ГС", по которому осуществляется переход на блок 22 ГСА.In the block 20 GAW analyzes the sign of the boundary between words in the stacked blocks of memory (figure 1) "GS", which is the transition to block 22 GAW.

В блоке 21 ГСА осуществляется запись символа из СБП2 в СБП1 (фиг.1) по командам "ЧТС2:=1", "ЗПС1:=1", переход на блок 20 ГСА.In block 21 GAW, the character is recorded from SBP2 in SBP1 (Fig. 1) by the commands "CTS2: = 1", "ZPS1: = 1", switching to block 20 GAU.

В блоке 22 ГСА анализируется признак "С2ПТ" пустоты СБП2 (фиг.1), по которому осуществляется переход на блок 40 ГСА.In block 22 GAW analyzes the sign of "C2PT" emptiness SBP2 (figure 1), which is the transition to block 40 GAW.

В блоке 23 ГСА по командам "ЧТС2:=1", "ЗПС1:=1" происходит запись символа из СБП2 в СБП1 (фиг.1).In block 23 of the GAW, the commands “CTS2: = 1”, “ZPS1: = 1” record the character from SBP2 to SBP1 (Fig. 1).

В блоке 24 ГСА анализируется признак границы слов в стековых блоках памяти "ГС".In the block 24 GAW analyzes the sign of the word boundary in the stacked blocks of memory "GS".

В блоке 25 ГСА по команде "ОБСЧ:=1" происходит обнуление СЧ блока БОП (фиг.2), по командам "ЧТС1:=1", "ЗПС2:=1", "А1:=1", "А2:=1" происходит запись символа из СБП1 в СБП2 (фиг.1).In block 25 of the GAW, the command “OSCH: = 1” resets the midrange of the BOP unit (FIG. 2), by the commands “ЧТС1: = 1”, “ЗПС2: = 1”, “A1: = 1”, “A2: = 1 "symbol is recorded from SBP1 in SBP2 (figure 1).

В блоке 26 ГСА анализируется признак того, что И2 меньше И3 "МЕНЬШЕ", по которому осуществляется переход на блок 20 ГСА.In block 26 of the GAW, a sign is analyzed that I2 is less than I3 “LESS”, by which the transition to block 20 of the GAW is carried out.

В блоке 27 ГСА анализируется признак того, что И2 равно И3 "РАВНО", по признаку осуществляется переход на блок 31 ГСА.In the block 27 GAW analyzes the sign that I2 is equal to I3 "EQUAL", on the basis of the transition to block 31 GAW.

В блоке 28 ГСА анализируется признак "БОЛЬШЕ" того, что И2 больше И3, по которому осуществляется переход на блок 29 ГСА, иначе на блок 26 ГСА и признаки проверяются заново.In the GAU block 28, the “MORE” sign is analyzed that I2 is greater than I3, by which the transition to the GAU block 29 is performed, otherwise the GAU block 26 and the signs are checked again.

В блоке 29 ГСА анализируется признак "ГС", по которому осуществляется переход на блок 40 ГСА.In the block 29 GAW analyzes the sign of "GS", by which the transition to block 40 GAW.

В блоке 30 ГСА по командам "ЧТС1:=1", "А1:=1", "А2:=1", "ЗПС2:=1" символ из СБП1 записывается в СБП2 (фиг.1), осуществляется переход на блок 29 ГСА.In block 30 GAU for the commands "CTS1: = 1", "A1: = 1", "A2: = 1", "ZPS2: = 1" the symbol from SBP1 is recorded in SBP2 (figure 1), the transition to block 29 GAW.

В блоке 31 ГСА по команде "ИНСЧ:=1" увеличивается на единицу содержимое СЧ (фиг.2), по командам "ЧТС1:=1", "А1:=1", "А2:=1", "ЗПС2:=1" символ из СБП1 записывается в СБП2 (фиг.1).In block 31 of the GAW, the command “INSC: = 1” increases the content of the midrange by 1 (FIG. 2), by the commands “CCTS1: = 1”, “A1: = 1”, “A2: = 1”, “ZPS2: = 1 "the symbol from SBP1 is recorded in SBP2 (figure 1).

В блоке 32 ГСА анализируется признак "ГС" или пустоты СБП2 "С2ПТ" (фиг.1), по которому осуществляется переход на блок 34 ГСА.In the block 32 GAW analyzes the sign of "GS" or the void SBP2 "C2PT" (figure 1), which is the transition to block 34 GAW.

В блоке 33 анализируется признак конца слова в БОП "КС" (фиг.1), выдаваемый при равенстве состояний СЧ и РГ (фиг.2). По признаку осуществляется переход на блок 20 ГСА, иначе на блок 26 ГСА.In block 33, the sign of the end of the word is analyzed in the BOP "KS" (Fig. 1), issued when the MF and WG are equal (Fig. 2). On the basis of the transition to block 20 GAW, otherwise to block 26 GAW.

В блоке 34 ГСА анализируется признак "КС", по которому осуществляется переход на блок 40 ГСА, иначе на блок 29 ГСА.In the block 34 GAW analyzes the sign of "CS", by which the transition to block 40 GAW, otherwise block 29 GAW.

В блоке 35 ГСА анализируется признак "РАВНО", если "РАВНО=0", осуществляется переход на блок 44 ГСА.In the block 35 GAW analyzes the sign "EQUAL", if "EQUAL = 0", the transition to block 44 GAW.

В блоке 36 ГСА по команде "ИНСЧ:=1" содержимое СЧ (фиг.2) увеличивается на единицу. По команде "ЧТС1:=1", "А1:=1", "А2:=1", "ЗПС2:=1" символ из СБП1 записывается в СБП2 (фиг.1).In block 36 GAW by the command "INSC: = 1" the content of the midrange (figure 2) is increased by one. By the command "CTS1: = 1", "A1: = 1", "A2: = 1", "ZPS2: = 1" the character from SBP1 is recorded in SBP2 (figure 1).

В блоке 37 ГСА анализируется признак границы слов в СБП1, СБП2 или пустоты блока СБП2 (фиг.1) "ГС" и "С2ПТ", по которому осуществляется переход на блок 39 ГСА.In block 37 GAW analyzes the sign of the word boundary in SBP1, SBP2 or the void block SBP2 (figure 1) "GS" and "S2PT", which is the transition to block 39 GAU.

В блоке 38 ГСА анализируется признак "КС" (фиг.1), по которому осуществляется переход на блок 20 ГСА, иначе на блок 19 ГСА.In the block 38 GAW analyzes the sign of "KS" (figure 1), by which the transition to block 20 GAW, otherwise block 19 GAW.

В блоке 39 ГСА анализируется признак "КС", если "КС=0", осуществляется переход на блок 45 ГСА.In the block 39 GAW analyzes the sign of "KS", if "KS = 0", the transition to block 45 GAW.

В блоке 40 ГСА по команде "ОБСЧ" обнуляется СЧ (фиг.2), по командам "ЗПС2:=1", "А2:=1" в СБП2 (фиг.1) записывается служебный код границы слов, при этом сигнал "А2" адресует выход формирователя кодов ФК с помощью коммутатора КМ1 (фиг.6).In the block 40 GAW by the command "OSCH" the MF is canceled (figure 2), by the commands "ZPS2: = 1", "A2: = 1" in SBP2 (figure 1) the service code of the word boundary is recorded, while the signal "A2 "addresses the output of the FC code generator using the KM1 switch (Fig.6).

В блоке 41 ГСА анализируется признак "КС" (фиг.1), по которому осуществляется переход на блок 71 ГСА.In the block 41 GAW analyzes the sign of "KS" (figure 1), which is the transition to block 71 GAW.

В блоке 42 ГСА происходит запись символа из ОЗУ, адресуемым СЧ (фиг.2) по командам "ЗПС2:=1", "А1:=1", при этом сигнал "А1" коммутирует И2 на выход КМ (фиг.6).In block 42 of the GAW, a symbol is written from RAM addressed to the midrange (Fig. 2) by the commands "ZPS2: = 1", "A1: = 1", while the signal "A1" commutes I2 to the output of the CM (Fig. 6).

В блоке 43 ГСА по команде "ИНСЧ:=1" происходит увеличение на единицу содержимого счетчика СЧ (фиг.2), переход на блок 41 ГСА.In block 43 GAW by the command "INSC: = 1" there is an increase per unit content of the midrange counter (figure 2), the transition to block 41 GAW.

В блоке 44 ГСА анализируется признак "БОЛЬШЕ" (фиг.1). Если "БОЛЬШЕ=0", осуществляется переход на блок 19 ГСА.In block 44 of the GAW, the sign “MORE” is analyzed (FIG. 1). If "MORE = 0", the transition to block 19 GAW.

В блоке 45 ГСА анализируется признак "ГС" или "С2ПТ" (фиг.1), по этому признаку осуществляется переход на блок 47 ГСА.In the block 45 GAW analyzed the sign of "GS" or "C2PT" (figure 1), this sign is the transition to block 47 GAW.

В блоке 46 ГСА по командам "ЧТС1:=1", "ЗПС2:=1", "А1:=1", "А2:=1" происходит запись в СБП2 символа из СБП1 (фиг.1), осуществляется переход на блок 45 ГСА.In block 46 GAU for the commands "CTS1: = 1", "ZPS2: = 1", "A1: = 1", "A2: = 1", the character from SBP1 is recorded in SBP2 (Fig. 1), the block is transferred 45 GAW.

В блоке 47 ГСА анализируется признак пустоты СБП1 "С1ПТ" (фиг.1), по признаку осуществляется переход на блок 40 ГСА.In block 47 GAW, the sign of emptiness SBP1 "S1PT" (Fig. 1) is analyzed, according to the sign, the transition to block 40 GAW is performed.

В блоке 48 ГСА по команде "ОБСЧ:=1" обнуляется счетчик СЧ (фиг.2), по командам "ЧТС1:=1", "ЗПС2:=1", "A1:=1", "A2:=1" происходит запись в СБП2 символа из СБП1 (фиг.1).In block 48 of the GAW, the command “OSCH: = 1” resets the MF counter (FIG. 2), by the commands “ЧТС1: = 1”, “ЗПС2: = 1”, “A1: = 1”, “A2: = 1” there is a record in SBP2 character from SBP1 (figure 1).

В блоке 49 ГСА анализируется признак того, что И2 меньше И3 "МЕНЬШЕ" (фиг.1), по признаку осуществляется переход на блок 56 ГСА.In the block 49 of the GAW, the sign that I2 is less than the I3 “LESS” (FIG. 1) is analyzed, according to the sign, the transition to the block 56 of the GAW is performed.

В блоке 50 ГСА анализируется признак "РАВНО", по признаку осуществляется переход на блок 52 ГСА.In the block 50 GAW analyzes the sign "EQUAL", on the basis of the transition to block 52 GAW.

В блоке 51 ГСА анализируется признак "БОЛЬШЕ" (фиг.1), по признаку осуществляется переход на блок 45 ГСА, иначе на блок 49 ГСА.In the block 51 GAW analyzed the sign "MORE" (figure 1), on the basis of the transition to block 45 GAW, otherwise block 49 GAW.

В блоке 52 ГСА по команде "ИНСЧ:=1" происходит увеличение содержимого СЧ (фиг.2) на единицу, по командам "ЧТС1:=1", "ЗПС2:=1", "А1:=1", "А2:=1" символ из СБП1 записывается в СБП2 (фиг.1).In block 52 GAW by the command "INSC: = 1" there is an increase in the content of the midrange (figure 2) by one, by the commands "CTS1: = 1", "ZPS2: = 1", "A1: = 1", "A2: = 1 "the symbol from SBP1 is recorded in SBP2 (figure 1).

В блоке 53 ГСА анализируется признак "ГС" или "С2ПТ". Если признак равен нулю, осуществляется переход на блок 55 ГСА.In block 53 of the GAW, the sign of “GS” or “C2PT” is analyzed. If the sign is equal to zero, the transition to block 55 GAW.

В блоке 54 ГСА анализируется признак конца слова в БОП "КС" (фиг.1), по признаку осуществляется переход на блок 40 ГСА, иначе на блок 45 ГСА.In block 54 GAW analyzes the sign of the end of the word in the BOP "KS" (figure 1), on the basis of the transition to block 40 GAW, otherwise block 45 GAW.

В блоке 55 ГСА анализируется признак "КС". Если "КС=0", осуществляется переход на блок 49 ГСА.In block 55 GAW analyzed the sign of "COP". If "KS = 0", the transition to block 49 GAW.

В блоке 56 ГСА анализируется признак границы между словами в СБП1, СБП2 "ГС" (фиг.1), по которому осуществляется переход на блок 40 ГСА.In the block 56 GAW analyzes the sign of the boundary between words in SBP1, SBP2 "GS" (figure 1), which is the transition to block 40 GAW.

В блоке 57 ГСА по командам "ЧТС2:=1", "ЗПС1:=1" переписывается символ из СБП2 в СБП1 (фиг.1), осуществляется переход на блок 56 ГСА.In the block 57 GAW by the commands "CTS2: = 1", "ZPS1: = 1" the character is rewritten from SBP2 to SBP1 (figure 1), the transition to block 56 GAU.

В блоке 58 ГСА анализируется признак пустоты СБП2 "С2ПТ", по которому осуществляется переход на блок 60 ГСА.In block 58 GAW, the sign of emptiness SBP2 "C2PT" is analyzed, according to which the transition to block 60 GAW is carried out.

В блоке 59 ГСА по командам "ЧТС2:=1", "ЗПС1:=1" переписывается символ из СБП2 в СБП1 (фиг.1), осуществляется переход на блок 58 ГСА.In the block 59 GAW by the commands "CTS2: = 1", "ZPS1: = 1" the character is rewritten from SBP2 to SBP1 (figure 1), the transition to block 58 GAU.

В блоке 60 ГСА анализируется признак "ЧТПР" (фиг.1), по которому осуществляется переход на блок 61 ГСА, иначе на блок 60 ГСА.In the block 60 GAW analyzed the sign of "ChTPR" (figure 1), which is the transition to block 61 GAW, otherwise block 60 GAW.

В блоке 61 ГСА анализируется признак пустоты СБП1 "С1ПТ" (фиг.1), по признаку осуществляется переход на блок 115 ГСА.In the block 61 GAW analyzes the sign of emptiness SBP1 "S1PT" (figure 1), on the basis of the transition to block 115 GAW.

В блоке 62 ГСА выдача символа из СБП1 на ВЫХК по командам "ЧТС1:=1", "РВ:=1" и одновременно выдача сигнала "СИН:=1".In block 62 GAW, the issuance of a symbol from SBP1 to VHKH by the commands "CTS1: = 1", "PB: = 1" and at the same time the signal "SYN: = 1".

В блоке 63 ГСА анализируется признак "С1ПТ" (фиг.1), по признаку осуществляется переход на блок 65 ГСА.In block 63 GAW analyzes the sign of "C1PT" (figure 1), on the basis of the transition to block 65 GAW.

В блоке 64 ГСА по командам "ЧТС1:=1", "ЗПС2:=1", "А1:=1", "А2:=1" происходит запись символа из СБП1 в СБП2 (фиг.1), осуществляется переход на блок 63 ГСА.In block 64 of the GAW, the commands “ЧТС1: = 1”, “ЗПС2: = 1”, “А1: = 1”, “А2: = 1” record the character from SBP1 to SBP2 (Fig. 1), the block is transferred 63 GAW.

В блоке 65 ГСА анализируется наличие сигнала "ЧТОБ", по сигналу осуществляется переход на блок 66 ГСА, иначе на блок 65 ГСА.In the block 65 GAW analyzes the presence of the signal "WHAT", the signal goes to block 66 GAW, otherwise block 65 GAW.

В блоке 66 ГСА анализируется признак "С2ПТ", по признаку осуществляется переход на блок 115 ГСА.In block 66 GAW, the sign “C2PT” is analyzed, according to the sign, a transition to block 115 GAW is performed.

В блоке 67 анализируется признак "ГС", по которому осуществляется переход на блок 69 ГСА.In block 67, the sign of "GS" is analyzed, according to which the transition to block 69 of the GAW is carried out.

В блоке 68 ГСА по командам "ЧТС2:=1", "ЗПС1:=1" переписывается символ из СБП2 в СБП1 (фиг.1), осуществляется переход на блок 67 ГСА.In the block 68 GAW by the commands "CTS2: = 1", "ZPS1: = 1" the character is rewritten from SBP2 to SBP1 (figure 1), the transition to block 67 GAU.

В блоке 69 ГСА анализируется признак пустоты СБП1 "С1ПТ" (фиг.1), по нему осуществляется переход на блок 65 ГСА.In the block 69 GAW analyzed the sign of emptiness SBP1 "C1PT" (figure 1), it is the transition to block 65 GAW.

В блоке 70 ГСА происходит выдача символа из СБП1 на ВЫХК (фиг.1) по командам "РВ:=1", "ЧТС1:=1" и выдача сигнала "СИН", осуществляется переход на блок 69 ГСА.In block 70 GAW, the symbol is issued from SBP1 to OUT (Fig. 1) by the commands "PB: = 1", "TST1: = 1" and the signal "SYN" is issued, the transition to block 69 GAU.

В блоке 71 ГСА анализируется наличие сигнала "ЗАГР". Если "ЗАГР=0", осуществляется переход на блок 71 ГСА.In block 71 of the GAW, the presence of the “ZAGR” signal is analyzed. If "ZAGR = 0", the transition to block 71 GAW.

В блоке 72 ГСА по команде "ОБСЧА:=1" обнуляется содержимое счетчика СЧА (фиг.5).In block 72 of the GAW, the command “OBSCHA: = 1” resets the contents of the counter NAV (Fig.5).

В блоке 73 ГСА по командам "ЗПС1:=1", "А0:=1" в СБП1 загружается символ с ВХК, что стробируется сигналом "СИН" (фиг.1).In the block 73 GAW by the commands "ZPS1: = 1", "A0: = 1" in SBP1 is loaded the symbol from the IHC, which is gated by the signal "SYN" (figure 1).

В блоке 74 ГСА по команде "ИНСЧА" увеличивается на единицу содержимое СЧА (фиг.5).In block 74 GAW by the command "INSCA" increases by one the contents of the NAV (figure 5).

В блоке 75 ГСА анализируется наличие сигнала "ЗАГР", по которому осуществляется переход на блок 77 ГСА.In the block 75 GAW analyzes the presence of the signal "ZAGR", by which the transition to block 77 GAW.

В блоке 76 ГСА по команде "ЗПРГА:=1" содержимое СЧА записывается в регистр РГА (фиг.5).In block 76 GAW by the command "ZPGA: = 1" the contents of the NAV is recorded in the register of the RSA (figure 5).

В блоке 77 ГСА анализируется наличие сигнала "ЧТОБ". Если "ЧТОБ=0", осуществляется переход на блок 79 ГСА.In the block 77 GAW analyzes the presence of the signal "WHAT". If "WHAT = 0", the transition to block 79 GAW.

В блоке 78 ГСА по команде "ОБСЧА:=1" обнуляется содержимое СЧА (фиг.5), осуществляется переход на блок 63 ГСА.In the block 78 of the GAW, the command “OBSCHA: = 1” nullifies the contents of the NAV (Fig. 5), the transition to the block 63 GAW.

В блоке 79 ГСА анализируется наличие сигнала "ЧТПР", если "ЧТПР=0", осуществляется переход на блок 81 ГСА.In the block 79 GAW analyzes the presence of the signal "CHTPR", if "CHTPR = 0", the transition to block 81 GAW.

В блоке 80 ГСА по команде "ОБСЧА:=1" обнуляется содержимое СЧА (фиг.5), осуществляется переход на блок 58 ГСА.In block 80 of the GAW, the command “SHOP: = 1” resets the contents of the NAV (Fig. 5), and the transition to block 58 of the GAW is performed.

В блоке 81 ГСА анализируется наличие сигнала "ЗАГР". Если "ЗАГР=0", осуществляется переход на блок 81 ГСА.In block 81 of the GAW, the presence of the “ZAGR” signal is analyzed. If "ZAGR = 0", the transition to block 81 GAW.

В блоке 82 ГСА по команде "ОБСЧ:=1" обнуляется содержимое СЧ (фиг. 2).In block 82 of the GAW by the command "OSCH: = 1" the contents of the midrange are reset (Fig. 2).

В блоке 83 ГСА анализируется наличие сигнала "ЗАГР". Если "ЗАГР=0", осуществляется переход на блок 86 ГСА.In block 83 GAW analyzes the presence of the signal "ZAGR". If "ZAGR = 0", the transition to block 86 GAW.

В блоке 84 ГСА по команде "ЗПОЗУ:=1" в БОП записывается символ с входного канала (фиг.1), что стробируется сигналом "СИН".In block 84 of the GAW, by the command "RAM: = 1", a symbol from the input channel is recorded in the BOP (Fig. 1), which is gated by the "SYN" signal.

В блоке 85 ГСА по команде "ИНСЧ:=1" содержимое СЧ (фиг.2) увеличивается на единицу, осуществляется переход на блок 83 ГСА.In block 85 GAW by the command "INSC: = 1" the content of the midrange (figure 2) is increased by one, the transition to block 83 GAW.

В блоке 86 ГСА по команде "ЗПРГ:=1" содержимое СЧ записывается в РГ, равное количеству символов в принятом слове (фиг.1).In block 86 GAW by the command "ZPRG: = 1" the contents of the midrange is recorded in the WG equal to the number of characters in the received word (figure 1).

В блоке 87 ГСА по командам "ОБСЧ:=1", "ОБСЧА:=1" обнуляется содержимое СЧ (фиг.2), СЧА (фиг.5).In the block 87 GAW on the commands "OSSH: = 1", "OSSHCHA: = 1" the contents of the midrange (figure 2), NAV (figure 5) are reset.

В блоке 88 ГСА анализируется признак "БОЛЬШЕ", по которому осуществляется переход на блок 117 ГСА.In the block 88 GAW analyzes the sign "MORE", by which the transition to block 117 GAW.

В блоке 89 ГСА анализируется признак "МЕНЬШЕ", по которому осуществляется переход на блок 114 ГСА.In the block 89 GAW analyzes the sign "LESS", which is the transition to block 114 GAW.

В блоке 90 ГСА анализируется признак конца слова в БОП "КС" (фиг.1), по признаку осуществляется переход на блок 114 ГСА.In block 90 GAW analyzes the sign of the end of the word in the BOP "KS" (figure 1), on the basis of the transition to block 114 GAW.

В блоке 91 ГСА анализируется признак границы между словами в СБП1 "ГС" (фиг.1), по которому осуществляется переход на блок 117 ГСА.In the block 91 GAW analyzes the sign of the boundary between the words in SBP1 "GS" (figure 1), which is the transition to block 117 GAW.

В блоке 92 ГСА по командам "ИНСЧ:=1", "ИНСЧА:=1" содержимое СЧ и СЧА (фиг.2, 5) увеличивается на единицу, переход на блок 88 ГСА.In the block 92 GAW by the commands "INSC: = 1", "INSCA: = 1" the content of the midrange and midrange (figure 2, 5) is increased by one, the transition to block 88 GAW.

В блоке 93 ГСА по командам "ОБСЧ:=1", "ИНСЧА:=1" обнуляется содержимое СЧ (фиг.2) и увеличивается на единицу содержимое СЧА (фиг.5).In block 93 of the GAW, the commands “OSCH: = 1”, “INSCA: = 1” reset the contents of the midrange (FIG. 2) and increase the content of the SCA by one (FIG. 5).

В блоке 94 ГСА анализируется признак "МЕНЬШЕ", по которому осуществляется переход на блок 118 ГСА.In the block 94 GAW analyzes the sign "LESS", which is the transition to block 118 GAW.

В блоке 95 анализируется признак "БОЛЬШЕ", по которому осуществляется переход на блок 114 ГСА.In block 95 the sign “MORE” is analyzed, according to which the transition to block 114 GAW is carried out.

В блоке 96 ГСА анализируется признак "ГС", по которому осуществляется переход на блок 114 ГСА.In the block 96 GAW analyzes the sign of "GS", by which the transition to block 114 GAW.

В блоке 97 ГСА анализируется признак "КС", по которому осуществляется переход на блок 118 ГСА.In the block 97 GAW analyzes the sign of "COP", which is the transition to block 118 GAW.

В блоке 98 ГСА по командам "ИНСЧ:=1", "ИНСЧА:=1" увеличивается на единицу содержимое СЧ (фиг.2) и СЧА (фиг.5).In block 98 GAW for the commands "INSC: = 1", "INSCA: = 1" increases by one the contents of the midrange (figure 2) and the midrange (figure 5).

В блоке 99 ГСА по командам "ОБСЧ:=1", "ИНСЧА:=1" обнуляется содержимое СЧ (фиг.2), увеличивается на единицу содержимое СЧА (фиг.5).In block 99 of the GAW, the commands “OSCH: = 1”, “INSCA: = 1” nullify the contents of the midrange (figure 2), increases by one the contents of the midrange (figure 5).

В блоке 100 ГСА анализируется признак конца массива образцов в СБП1 "КМ" (фиг.5), по признаку осуществляется переход на блок 114.In the block 100 GAW analyzes the sign of the end of the array of samples in SBP1 "KM" (figure 5), on the basis of the transition to block 114.

В блоке 101 ГСА анализируется признак "РАВНО" или маскированный символ "МС". Если признак равен нулю, осуществляется переход на блок 118 ГСА.In block 101 GAW analyzes the sign "EQUAL" or the masked symbol "MS". If the sign is equal to zero, the transition to block 118 GAW.

В блоке 102 по командам "ИНСЧ:=1", "ИНСЧА:=1" увеличивается на единицу содержимое СЧ (фиг.2) и содержимое СЧА (фиг.5).In block 102, the commands "INSC: = 1", "INSCA: = 1" increases by one the contents of the midrange (figure 2) and the contents of the midrange (figure 5).

В блоке 103 ГСА анализируется признак "ГС" или "КМ", по признаку осуществляется переход на блок 105 ГСА.In the block 103 GAW analyzes the sign of "GS" or "KM", on the basis of the transition to block 105 GAW.

В блоке 104 ГСА анализируется признак "КС", по признаку осуществляется переход на блок 118 ГСА, иначе на блок 101 ГСА.In the block 104 GAW analyzes the sign of "KS", on the basis of the transition to block 118 GAW, otherwise block 101 GAW.

В блоке 105 ГСА анализируется признак "КС". Если "КС=1", осуществляется переход на блок 118 ГСА.In the block 105 GAW analyzed the sign of "COP". If "KS = 1", the transition to block 118 GAW.

В блоке 106 ГСА по команде "ОБСЧ:=1" содержимое СЧ обнуляется (фиг.1).In block 106 GAW command "OSSH: = 1" the contents of the midrange is reset (figure 1).

В блоке 107 ГСА по командам "А1:=1", "ЗПС2:=1" в СБП2 производится запись символа из БОП (фиг.1).In the block 107 GAW by the commands "A1: = 1", "ZPS2: = 1" in SBP2 is recorded character from the BOP (Fig.1).

В блоке 108 ГСА по команде "ИНСЧ:=1" содержимое СЧ увеличивается на единицу (фиг.1).In block 108 GAW by the command "INSC: = 1" the content of the midrange is increased by one (figure 1).

В блоке 109 ГСА анализируется признак "КС". Если "КС=0", осуществляется переход на блок 107 ГСА.In block 109 of the GAW, the symptom “KS” is analyzed. If "KS = 0", the transition to block 107 GAW.

В блоке 110 ГСА по командам "А2:=1", "ЗПС2:=1" производится запись кода границы между словами в стек СБП2 (фиг.1, 4).In the block 110 GAW by the commands "A2: = 1", "ZPS2: = 1" is written the code of the border between words on the stack SBP2 (Fig.1, 4).

В блоке 111 анализируется признак "С1ПН" или "С2ПН". Если признак равен нулю, осуществляется переход на блок 114 ГСА.In block 111, the sign “C1PN” or “C2PN” is analyzed. If the sign is zero, the transition to block 114 GAW.

В блоке 112 ГСА по команде "ОБСЧА:=1" обнуляется содержимое СЧА (фиг.5), выдается внешний сигнал "ГТ", осуществляется переход на блок 58 ГСА.In the block 112 GAW by the command "OTHER: = 1" the contents of the NAV are cleared (figure 5), an external signal "GT" is issued, the transition to the block 58 GAW.

В блоке И3 ГСА анализируется наличие сигнала "РСЕЛ", по которому осуществляется переход на блок 71 ГСА, иначе на блок 6 ГСА.In the I3 block of the GAW, the presence of the "RSEL" signal is analyzed, which transfers to the block 71 of the GAW, otherwise to block 6 of the GAW.

В блоке 114 ГСА выдается сигнал "СИН", переход на блок 77 ГСА.In the block 114 GAW signal is issued "SIN", the transition to block 77 GAW.

В блоке 115 ГСА анализируется признак СБП1 или СБП2 полон "С1ПН или С2ПН" (фиг.1). Если признак равен нулю, переход на блок 6.In the block 115 GAW analyzes the sign of SBP1 or SBP2 is full of "S1PN or S2PN" (figure 1). If the sign is zero, go to block 6.

В блоке 116 ГСА выдается сигнал "ГТ" (фиг.1).In block 116 GAW signal is issued "GT" (figure 1).

В блоке 117 ГСА анализируется признак "ГС или КМ", по которому осуществляется переход на блок 94 ГСА, иначе на блок 93 ГСА, из которого осуществляется переход на блок 117 ГСА.In the block 117 GAW analyzes the sign of "GS or KM", which transfers to block 94 GAW, otherwise to block 93 GAW, from which the transition to block 117 GAW.

В блоке 118 ГСА анализируется признак "ГС или КМ", по которому осуществляется переход на блок 100 ГСА, иначе на блок 99 ГСА, из которого осуществляется переход на блок 118 ГСА.In the block 118 GAW analyzes the sign of "GS or KM", by which the transition to block 100 GAW, otherwise the block 99 GAW, from which the transition to block 118 GAW.

В блоке 119 ГСА анализируется признак "РПОД", если признак равен нулю, осуществляется переход на блок 88 ГСА.In the block 119 GAW analyzes the sign "RPOD", if the sign is zero, the transition to block 88 GAW.

В блоке 120 ГСА анализируется признак "РАВНО", если признак равен нулю, осуществляется переход на блок 125 ГСА.In the block 120 GAW analyzes the sign "EQUAL", if the symptom is zero, the transition to block 125 GAW.

В блоке 121 ГСА анализируется признак "КМ", если признак равен нулю, осуществляется переход на блок 129 ГСА.In block 121 GAW analyzes the sign "KM", if the sign is zero, the transition to block 129 GAW.

В блоке 122 ГСА по командам "ЗПС2:=1", "А1:=1" в СБП2 производится запись символа из БОП (фиг.1).In block 122 GAW by the commands "ZPS2: = 1", "A1: = 1" in SBP2 is recorded character from the BOP (Fig.1).

В блоке 123 ГСА анализируется признак "С2ПН", по которому осуществляется переход на блок 131 ГСА.In the block 123 GAW analyzes the sign of "C2PN", by which the transition to block 131 GAW.

В блоке 124 ГСА по командам "ИНСЧ:=1", "ОБСЧА:=1" содержимое СЧ увеличивается на единицу, содержимое СЧА обнуляется (фиг.1), переход на блок 120 ГСА.In block 124 of the GAW by the commands "INSC: = 1", "COST: = 1" the content of the midrange is increased by one, the content of the midrange is reset (Fig. 1), the transition to block 120 GAU.

В блоке 125 ГСА по командам "ЗПС2:=1", "А1:=1", "А2:=1", "ПОД:=1" в СБП2 производится запись символа - подстановки из СБП1 (фиг.1).In the block 125 GAW on the commands "ZPS2: = 1", "A1: = 1", "A2: = 1", "SUB: = 1" in SBP2 is recorded character - substitution from SBP1 (figure 1).

В блоке 126 ГСА анализируется признак "С2ПН", по которому осуществляется переход на блок 131 ГСА.In block 126 GAW, the sign “C2PN” is analyzed, according to which the transition to block 131 GAW is carried out.

В блоке 127 ГСА анализируется признак "КС", по которому осуществляется переход на блок 77 ГСА.In the block 127 GAW analyzes the sign of "COP", which is the transition to block 77 GAW.

В блоке 128 ГСА по командам "ИНСЧ:=1", "ОБСЧА:=1" содержимое СЧ увеличивается на единицу, содержимое СЧА обнуляется (фиг.1), переход на блок 120 ГСА.In the block 128 GAW by the commands "INSC: = 1", "COST: = 1" the content of the midrange is increased by one, the content of the midrange is reset (Fig. 1), the transition to block 120 GAU.

В блоке 129 ГСА по команде "ИНСЧА:=1" содержимое СЧА увеличивается на единицу.In block 129 GAW by the command "INSCA: = 1" the content of the NAV increases by one.

В блоке 130 ГСА по команде "ИНСЧА:=1" содержимое СЧА увеличивается на единицу, переход на блок 120 ГСА.In the block 130 GAW on the command "INSCA: = 1" the content of the NAV increases by one, the transition to block 120 GAW.

В блоке 131 ГСА по команде "ОБСЧА:=1" обнуляется содержимое СЧА (фиг.5), выдается внешний сигнал "ГТ", осуществляется переход на блок 58 ГСА.In block 131 of the GAW, the command “SHOP: = 1” clears the contents of the NAV (Fig. 5), an external signal “GT” is issued, and the transition to block 58 of the GAW is performed.

Работа устройства сортировки информации заключается в следующем.The operation of the device for sorting information is as follows.

Внешние управляющие сигналы "ЗАГР", "ЧТПР", "ЧТОБ", "ПУСК", "РСЕЛ", "СБРОС", "РПОД" поступают на блок 8 управления, "ГТ", "СИН" из блока 8 управления. Входной канал представляет собой интерфейс, по которому посимвольно поступают слова. Выходной канал - интерфейс выдачи слов.External control signals "ZAGR", "CHTPR", "WHAT", "START", "RSEL", "RESET", "RPOD" are fed to control unit 8, "GT", "SIN" from control unit 8. The input channel is an interface through which words arrive character by character. The output channel is an interface for issuing words.

В режиме упорядочения основная идея работы заключается в следующем. Упорядочение данных происходит по мере их поступления. На вход устройства сортировки посимвольно поступает и записывается в БОП текущее слово, где символом является составляющая слова, имеющая фиксированную длину. Началом отсортированного массива считается первый символ наименьшего слова (числа), концом - последний символ наибольшего, при этом массив хранится в блоках СБП1, СБП2. Указанные блоки организованы в виде очередей типа LIFO (последним пришел - первым ушел), причем начало упорядоченного массива является первым пришедшим в блок СБП2, а конец первым пришедшим в блок СБП1. Осуществляется поиск весового места текущего слова в массиве уже упорядоченных данных посредством посимвольных сравнений элементом сравнения ЭС текущего слова со словами массива упорядоченных данных. Весовое слово - такая позиция текущего слова в упорядоченном массиве, когда ближайшее к нему стоящее на позицию раньше слово меньше, либо равно ему, а стоящее на позицию позже слово больше, либо равно ему. Поиск весового места текущего слова осуществляется следующим образом. Первый символ текущего слова сравнивается элементом сравнения ЭС с первым символом первого слова из СБП1 (фиг.1). Если результатом сравнения является равенство, сравниваются вторые символы и т.д. до тех пор, пока результатом сравнения не станет "БОЛЬШЕ" или "МЕНЬШЕ", или одно из слов не кончилось. Причем сравненные символы переписываются из СБП1 в СБП2. Результат сравнения двух слов: если слова кончились, одновременно - они равны, если элементом сравнения был выдан сигнал "БОЛЬШЕ=1" т.е. символ слова из БОП больше символа слова из СБП1, либо слово блока СБП1 кончилось, а слово БОП нет - текущее слово, находящееся в БОП больше исследованного из упорядоченного массива. Если элементом сравнения выдан сигнал "МЕНЬШЕ=1", т.е. символ слова из БОП меньше символа из СБП1, либо текущее слово кончилось, а исследуемое из СБП1 нет - текущее слово больше исследованного. Далее если текущее слово равно исследованному, оно записывается за ним в СБП2, если текущее слово больше, оно сравнивается с ближайшим большим исследованному слову, пока текущее слово не станет равно очередному слову из СБП1, СБП2, тогда оно записывается за очередным исследованным словом, либо не станет меньше очередного, тогда текущее слово из БОП записывается перед ним, либо не будет достигнут конец массива, тогда слово из БОП записывается в конец. Если текущее слово меньше исследованного, то оно сравнивается с очередным, ближайшим меньшим исследованного, пока не станет равно очередному, либо больше его, тогда слово из БОП записывается в массив за исследованным словом, т.е. на позицию ближе у концу массива, либо не будет достигнуто начало массива, при достижении начала слово из БОП записывается в массив первым.In sequencing mode, the main idea of the work is as follows. Data is streamlined as it becomes available. At the input of the sorting device, the current word is entered and written into the BOP character by character, where the symbol is a component of the word having a fixed length. The beginning of the sorted array is the first character of the smallest word (number), the end is the last character of the largest, and the array is stored in blocks SBP1, SBP2. The indicated blocks are organized in the form of queues of the LIFO type (last to come - first to go), with the beginning of the ordered array being the first to come in SBP2 and the end to the first to come in SBP1. A search is made for the weight place of the current word in the array of already ordered data by character-by-character comparisons by the ES comparison element of the current word with the words in the array of ordered data. A weighted word is such a position of the current word in an ordered array when the word closest to it, which is one position earlier, is less than or equal to it, and the word that is one position later than the word is greater than or equal to it. Search for the weight of the current word is as follows. The first character of the current word is compared by the ES comparison element with the first character of the first word from SBP1 (Fig. 1). If the result of the comparison is equality, the second characters are compared, etc. until the result of the comparison is “MORE” or “LESS,” or one of the words does not end. Moreover, the compared characters are overwritten from SBP1 to SBP2. The result of the comparison of two words: if the words ended, at the same time - they are equal if the signal "MORE = 1" was issued by the comparison element ie the word symbol from BOP is larger than the word symbol from SBP1, or the word of block SBP1 has ended, but the word BOP is not - the current word located in the BOP is larger than the one examined from the ordered array. If the signal "LESS = 1" is issued by the comparison element, i.e. the word character from BOP is less than the character from SBP1, or the current word has ended, but the word being studied from SBP1 is not - the current word is larger than the word studied. Further, if the current word is equal to the word studied, it is written behind it in SBP2, if the current word is larger, it is compared with the next largest word studied, until the current word is equal to the next word from SBP1, SBP2, then it is written down after the next word studied, or not becomes smaller than the next one, then the current word from the BOP is written in front of it, or the end of the array is not reached, then the word from the BOP is written to the end. If the current word is less than the studied one, then it is compared with the next, closest smaller one of the studied, until it becomes equal to the next, or more than it, then the word from the BOP is written to the array behind the studied word, i.e. a position closer to the end of the array, or the beginning of the array will not be reached, when the beginning is reached, the word from the BOP is written to the array first.

Вышеописанные записи в БОП, поиск весового места и запись в стековые блоки памяти, хранящие упорядоченный массив, происходят посимвольно, повторяются n раз, где n - количество слов, подлежащих упорядочению. После этого упорядоченная информация выдается на выходной канал в возрастающем, либо в убывающем порядке. В режиме селекции работа заключается в следующем.The above-described entries in the BOP, search for a weight place, and write to the stacked memory blocks storing an ordered array occur character by character, are repeated n times, where n is the number of words to be ordered. After that, the ordered information is issued to the output channel in increasing or decreasing order. In selection mode, the work is as follows.

Селекция данных происходит из входного потока слов на основе результатов их сопоставления с образцами. На вход устройства посимвольно поступают и записываются образцы, разграниченные символами с кодами 11...1, в СБП1, причем сначала подаются образцы - нижняя и верхняя границы, а затем образцы для сопоставления на равно, в которых отдельные позиции символов образца могут быть маскированы путем записи в них символов с кодами 00...0.Data selection occurs from the input word stream based on the results of their comparison with the samples. At the input of the device, samples demarcated by symbols with codes 11 ... 1 are entered and written into SBP1, and first, samples are sent - the lower and upper boundaries, and then the samples for matching are equal, in which some positions of the symbols of the sample can be masked by writing characters with codes 00 ... 0 into them.

Далее на вход устройства посимвольно поступает и записывается в БОП текущее слово, подлежащее обработке. Осуществляется сопоставление принятого слова с образцами. С первым образцом осуществляется сопоставление на больше, при этом первый символ текущего слова сравнивается ЭС с первым символом образца и т.д., пока результатом сравнения не станет больше или образец не кончится первым, и тогда слово считается больше образца, или результатом сравнения не станет меньше или слово в БОП не закончится, тогда слово считается меньшим или равным образцу и неудовлетворяющим условию выбора (т.к. первый образец должен являться нижней границей). Если слово больше образца, оно сопоставляется со вторым образцом на меньше, при этом первый символ текущего слова сравнивается ЭС с первым символом образца и т.д., пока результатом сравнения не станет меньше или слово не кончится первым, и тогда считается, что слово меньше образца, или результатом сравнения не станет больше или образец не кончится, тогда слово считается большим или равным образцу и неудовлетворяющим условию.Next, the current word to be processed is entered and written into the BOP character-by-character at the input of the device. The adopted word is compared with the patterns. The comparison with the first sample is performed by more, while the first character of the current word is compared with the first character of the sample, etc., until the comparison result is larger or the sample ends first, and then the word is considered larger than the sample, or the comparison result less or the word in the BOP does not end, then the word is considered less than or equal to the sample and does not satisfy the selection condition (since the first sample should be the lower boundary). If the word is larger than the pattern, it is compared with the second pattern by less, while the first character of the current word is compared with the first character of the pattern, etc., until the result of the comparison becomes smaller or the word ends first, and then it is considered that the word is less sample, or the result of the comparison does not become larger or the sample does not end, then the word is considered greater or equal to the sample and unsatisfying condition.

Если слово меньше образца, оно сопоставляется с третьим и т.д. образцами, пока не станет равно образцу. Сопоставление на равно заключается в следующем. Начиная с первых символов, сравниваются слово и образец, пока результатом их сопоставления является "равно" и они не закончились одновременно, в противном случае слово и образец считаются не равными. При этом символы считаются равными и в том случае, если символ образца равен специальному служебному коду - маске.If the word is smaller than the pattern, it is compared with the third, etc. samples until it becomes equal to the sample. The equalization on is as follows. Starting with the first characters, the word and the pattern are compared, until the result of their comparison is "equal" and they do not end simultaneously, otherwise the word and the pattern are considered not equal. In this case, the symbols are considered equal even if the symbol of the sample is equal to the special service code - the mask.

Если слово равно образцу, оно отбирается, т.е. записывается в СБП2, если оно не равно ни одному образцу, слово считается неудовлетворяющим условию.If the word is equal to the pattern, it is selected, i.e. is recorded in SBP2, if it is not equal to any sample, the word is considered unsatisfying.

Далее и в случае, если слово не удовлетворяет условию, снова осуществляется загрузка очередного слова в БОП и сопоставление и т.д.Further, in case the word does not satisfy the condition, the next word is again loaded into the BOP and matching, etc.

По окончании работы осуществляется выдача выбранных слов в хронологическом или противоположном ему порядке.At the end of the work, the selected words are issued in chronological or opposite order.

В режиме подстановки работа заключается в следующем. На вход устройства поступают и записываются в СБП1 образцы и подстановки, причем сначала подается первый символьный образец, затем соответствующая ему подстановка, второй и т.д., таким образом, образцы размещаются в ОЗУ СБП1 по четным адресам, а подстановки по нечетным. Далее на вход устройства посимвольно поступает и записывается в БОП фрагмент текста, подлежащий обработке. Осуществляется сопоставление первого принятого символа фрагмента текста на равно ЭС с первым, вторым и т.д. образцами до тех пор, пока символ не окажется равным образцу и тогда в СБП2 записывается соответствующая подстановка. Либо пока символ не будет сопоставлен со всеми образцами и окажется не равным ни одному, и тогда в СБП2 записывается текущий символ сопоставляемого фрагмента текста. То же самое выполняется и для других принятых символов фрагмента текста. Далее в БОП записывается следующий фрагмент текста и также осуществляется его обработка и так далее до окончания текста. По мере переполнения СБП2, в котором хранится обработанный фрагмент текста, а также по окончанию работы осуществляется выдача информации из СБП2 на выходной канал.In the substitution mode, the work is as follows. At the input of the device, samples and substitutions are received and recorded in SBP1, and first the first symbolic sample is supplied, then the corresponding substitution, the second, etc., thus, the samples are placed in RAM SBP1 at even addresses, and substitutions at odd ones. Further, a fragment of the text to be processed is entered and written into the BOP symbolically at the input of the device. A comparison is made of the first received symbol of a fragment of text equal to ES with the first, second, etc. patterns until the symbol is equal to the pattern and then the corresponding substitution is written in SBP2. Or until the character is matched with all the patterns and is not equal to any, and then in SBP2 the current character of the text fragment being compared is written. The same is true for the other accepted characters of the text fragment. Next, the next fragment of the text is recorded in the BOP and it is also processed and so on until the end of the text. As the SBP2 overflows, in which the processed fragment of the text is stored, and also at the end of work, information is transferred from SBP2 to the output channel.

Блок 2 оперативной памяти содержит счетчик СЧ, регистр РГ, оперативное запоминающее устройство ОЗУ и компаратор КП (фиг.2). На инверсный вход ОЗУ выбор кристалла подается константа "О" (не ВК). Входная информация И1 поступает на вход данных ОЗУ. По сигналу "ОБСЧ=1" происходит обнуление счетчика. По сигналу "ЗПОЗУ=1" записывается входной символ в ОЗУ по адресу, хранящемуся в счетчике. По сигналу "ИНСЧ=1" содержимое счетчика увеличивается на единицу. По сигналу "ЗПРГ=1", выдаваемому по окончании загрузки слова, содержимое счетчика, в данном случае равное количеству символов слова, записывается в регистр. Если "ЗПОЗУ=0", на выход ОЗУ И2 выдается символ, находящийся по адресу, хранящемуся в счетчике. Компаратор КП, входами которого являются выходы регистра и счетчика, определяет признак конца слова "КС" при равенстве этих кодов.Block 2 RAM contains a midrange counter, register RG, random access memory RAM and a comparator KP (figure 2). To the inverse input of RAM, the choice of the crystal is fed by the constant "O" (not VK). Input information I1 goes to the RAM data input. The signal "OSCH = 1" is the zeroing of the counter. By the signal "RAM = 1" the input symbol is written into RAM at the address stored in the counter. By the signal "INSC = 1" the contents of the counter are increased by one. By the signal "ЗПРГ = 1", issued at the end of the word download, the contents of the counter, in this case equal to the number of characters of the word, are recorded in the register. If "ZPOZU = 0", the symbol located at the address stored in the counter is output to the output of RAM I2. The comparator KP, the inputs of which are the outputs of the register and counter, determines the sign of the end of the word "KS" with the equality of these codes.

Элемент 3 сравнения содержит компаратор КП (фиг.3), который сравнивает поступающие на его вход символы И2 и И3 и выдает сигналы "БОЛЬШЕ=1", если И2 больше И3, "МЕНЬШЕ=1", если И2 меньше И3, и "РАВНО=1", если И2 равно И3.Comparison element 3 contains a comparator KP (figure 3), which compares the symbols I2 and I3 received at its input and generates signals "MORE = 1" if I2 is greater than I3, "LESS = 1", if I2 is less than I3, and "EQUAL = 1 "if I2 is equal to I3.

Второй стековый блок 5 памяти содержит стек (фиг.4) и служит для хранения части упорядоченного массива или селектированных слов. По сигналу "ЗПС2=1" в вершину стека записывается символ И5, по сигналу "ЧТС2=1" из вершины стека считывается символ на выход И4. При этом стеком выдаются сигналы "С2ПН=1", если стек полон, и "С2ПТ=1", если пуст.The second stack memory block 5 contains a stack (Fig. 4) and serves to store part of an ordered array or selected words. By the signal "ZPS2 = 1", the I5 symbol is written to the top of the stack, by the signal "CTS2 = 1", the symbol to the I4 output is read from the top of the stack. In this case, the signals “C2PN = 1” are issued by the stack if the stack is full, and “C2PT = 1” if empty.

Первый стековый блок 4 памяти содержит счетчик адреса СЧА, оперативное запоминающее устройство ОЗУ, регистр адреса РГА, компаратор КП, элементы И, ИЛИ, ИЛИ-НЕ (фиг.3). Информация И7 поступает на вход данных ОЗУ. По сигналу "ЗПС1=1", поступающему на вход СЧА и вход записи в ОЗУ, по переднему фронту символ И7 записывается в ОЗУ по адресу, хранящемуся в СЧА, содержимое которого увеличивается на единицу по заднему фронту. По сигналу "ЧТС1=1" содержимое СЧА уменьшается на единицу по заднему фронту, при этом сигналом "ЗПС1=0" осуществляется чтение по переднему фронту из ОЗУ символа И3, адресуемого содержимым СЧА. По сигналу "ОБСЧА=1" содержимое СЧА обнуляется. По сигналу "ИНСЧА=1" содержимое СЧА увеличивается на единицу. Выход AM счетчика СЧА соответствует его младшему разряду. На вход младшего разряда адреса ОЗУ с элемента ИЛИ подается сигнал АМ&НЕРПОД∨ПОД&РПОД. По сигналу "ЗПРГА=1", выдаваемому по окончании записи массива образцов в режиме селекции, содержимое СЧА записывается в РГА. На инверсный вход ОЗУ выбор кристалла "не ВК" подается константа "0". Компаратор КП осуществляет сравнение содержимых СЧА и РГА, выходы которых подаются на его входы и при их равенстве выдает признак конца массива "КМ=1". Элементы И и ИЛИ-НЕ выдают признаки, соответственно, стек полон "С1ПН" и стек пуст "С1ПТ".The first stacked memory unit 4 contains an NAV address counter, RAM random access memory, an RGA address register, a KP comparator, AND, OR, OR-NOT elements (Fig. 3). Information I7 is fed to the input of RAM data. According to the signal "ZPS1 = 1", which is input to the NAV and the write input to RAM, the I7 character is written to the RAM at the address stored in the NAV along the rising edge, the contents of which increase by one on the falling edge. According to the signal "ЧТС1 = 1", the content of the NAV decreases by one on the trailing edge, while the signal "ЗПС1 = 0" reads on the leading edge from RAM the symbol I3 addressed by the contents of the NAV. By the signal "CALCULATION = 1" the contents of the ACH are reset. By the signal "INSCA = 1" the content of the NAV increases by one. The output of the AM counter of the NAV corresponds to its lowest order. To the input of the least significant bit of the RAM address from the OR element, the signal AM & NORPOD∨POD & RPOD is sent. By the signal "ZPRGA = 1", issued at the end of recording the array of samples in the selection mode, the contents of the NAV is recorded in the RGA. To the inverse input of RAM, the choice of the crystal "not VK" is fed with the constant "0". The comparator KP compares the contents of the SCA and the DGA, the outputs of which are fed to its inputs and, if they are equal, gives the sign of the end of the array "KM = 1". Elements AND and OR DO NOT give out signs, respectively, the stack is full of C1PN and the stack is empty of C1PT.

Блок 6 коммутации и идентификации содержит шинный формирователь ШФ с тремя состояниями на выходе, коммутаторы КМ1, КМ2, формирователь кодов ФК, элементы И, ИЛИ-НЕ (фиг.6). Служит для выдачи отсортированного массива на выходной канал ВЫХК (фиг.1) и коммутации информации с различных источников на входы СБП1, СБП2, а также для определения границы слов "ГС" и маскированного символа "МС" в СБП1. По сигналу "РВ=1" информация со входа ШФ И3 подается на его выход И6. Когда "РВ=0", его выход находится в высокоимпедансном состоянии. Сигналы А1 и А2 поступают на адресные входы КМ1, И5 является его выходом, на который передается входная информация И3 по "A1=1", "А2=1", передается И2 по "А1=1", "А2=0", либо передается служебный код границы между словами, генерируемый формирователем кодов ФК, указанное подключение осуществляется по "А1=0", "А2=1". Сигнал А0 поступает на адресный вход КМ2, И7 является его выходом, на который передается входная информация И4, если "А0=0", или И1, если "A0=1". Элементы И и ИЛИ-НЕ выдают сигналы, соответственно, границы между словами "ГС" при равенстве символа И3 коду 11...1 и маскированного символа при равенстве И3 коду 00...0.Block 6 switching and identification contains a bus driver ShF with three states at the output, switches KM1, KM2, code generator FC, elements AND, OR-NOT (Fig.6). Serves for issuing a sorted array to the output channel OUT (figure 1) and switching information from various sources to the inputs SBP1, SBP2, as well as to determine the word boundary "GS" and the masked symbol "MS" in SBP1. At the signal "PB = 1" information from the input of the IF I3 is fed to its output I6. When "PB = 0", its output is in a high impedance state. Signals A1 and A2 are fed to the address inputs KM1, I5 is its output, to which input information I3 is transmitted via "A1 = 1", "A2 = 1", A2 is transmitted through "A1 = 1", "A2 = 0", or the service code of the boundary between the words generated by the FC code generator is transmitted, the specified connection is made by "A1 = 0", "A2 = 1". The signal A0 arrives at the address input KM2, I7 is its output, to which the input information is transmitted And4, if "A0 = 0", or And1, if "A0 = 1". The AND and OR elements do not emit signals, respectively, the boundaries between the words "HS" when the I3 symbol is equal to the code 11 ... 1 and the masked symbol when the I3 is equal to the code 00 ... 0.

Блок 8 управления синтезируется на основе ГСА управления (фиг.7) известным способом [2].The control unit 8 is synthesized based on the GAW control (Fig.7) in a known manner [2].

Источники информации:Information sources:

1. Марков А.А., Нагорный Н.М. Теория алгорифмов. - Москва: Наука, - 318 с. Главная редакция физико-математической литературы, 1984 г.1. Markov A.A., Nagorny N.M. Theory of Algorithms - Moscow: Science, - 318 p. The main edition of the physical and mathematical literature, 1984

2. Баранов С.И. Синтез микропрограммных автоматов. - Энергия. Ленинградское отделение. 1974 г. - 184 с.2. Baranov S.I. Synthesis of firmware - Energy. Leningrad branch. 1974 - 184 s.

3. Лебедев О.Н. Микросхемы памяти и их применение. - Москва: Радио и связь, 1990 г. - 184 с.3. Lebedev O.N. Memory chips and their application. - Moscow: Radio and communications, 1990 - 184 p.

4. Пат. №2128855, 1999 г. Бюл. 10 (прототип).4. Pat. No. 2188855, 1999 Bull. 10 (prototype).

5. Пат. №2034327, 1995 г. Бюл. 2 (аналог).5. Pat. No. 2034327, 1995. Bull. 2 (analogue).

6. А.С. №1594521, 1990 г. Бюл. 355 (аналог).6. A.S. No. 1594521, 1990 Bull. 355 (analog).

Claims (1)

Устройство сортировки информации, содержащее первый и второй стековые блоки памяти, элемент сравнения, блок управления, входной и выходной каналы, блок оперативной памяти, блок коммутации и идентификации, причем с первого по пятый управляющие выходы блока управления соединены соответственно с первого по пятый управляющими входами блока оперативной памяти, информационный вход которого соединен с входным каналом, управляющий выход блока оперативной памяти соединен с четвертым управляющим входом блока управления, информационный выход блока оперативной памяти соединен с первым информационным входом элемента сравнения и вторым информационным входом блока коммутации и идентификации, первый и второй управляющие выходы последнего соединены соответственно с четырнадцатым и семнадцатым управляющими входами блока управления, с первого по четвертый управляющие входы блока коммутации и идентификации соединены соответственно с десятого по двенадцатый и с восемнадцатым управляющими выходами блока управления, третий и четвертый информационные входы блока коммутации и идентификации соединены соответственно с входным каналом и информационным выходом второго стекового блока памяти, третий информационный выход блока коммутации и идентификации соединен с информационным входом первого стекового блока памяти, второй информационный выход блока коммутации и идентификации соединен с выходным каналом, первый информационный выход блока коммутации и идентификации соединен с информационным входом второго стекового блока памяти, первый и второй управляющие входы последнего соединены соответственно с шестым и седьмым управляющими выходами блока управления, первый и второй управляющие выходы второго стекового блока памяти соединены соответственно с десятым и одиннадцатым управляющими входами блока управления, с первого по пятый управляющие входы первого стекового блока памяти соединены соответственно с восьмым, девятым и с пятнадцатого по семнадцатый управляющими выходами блока управления, с первого по третий управляющие выходы первого стекового блока памяти соединены соответственно с двенадцатым, тринадцатым и пятнадцатым управляющими входами блока управления, информационный выход первого стекового блока памяти соединен с первым информационным входом блока коммутации и идентификации и со вторым информационным входом элемента сравнения, с первого по третий управляющие выходы последнего соединены соответственно с пятого по седьмой управляющими входами блока управления, с первого по третий управляющие входы "ЗАГР", "ЧТПР", "ЧТОБ", а также восьмой и девятый управляющие входы "СБРОС" и "ПУСК", а также шестнадцатый управляющий вход "РСЕЛ" блока управления являются внешними входами устройства, тринадцатый и четырнадцатый управляющие выходы "ГТ" и "СИН" блока управления являются внешними выходами устройства, отличающееся тем, что в него введены восемнадцатый внешний управляющий вход "РПОД", на который поступает внешний признак режима подстановки, и с девятнадцатого по двадцать первый управляющие выходы блока управления, соединенные соответственно с шестого по восьмой управляющими входами первого стекового блока памяти, при этом девятнадцатый управляющий выход блока управления предназначен для выдачи сигнала инкрементации содержимого первого стекового блока памяти, двадцатый управляющий выход предназначен для выдачи инверсного сигнала признака режима подстановки, двадцать первый выход предназначен для выдачи сигнала нечетного адреса в первом стековом блоке памяти.An information sorting device comprising first and second stacked memory blocks, a comparison element, a control unit, input and output channels, a random access memory unit, a switching and identification unit, wherein the first to fifth control outputs of the control unit are connected respectively from the first to fifth control inputs of the block RAM, the information input of which is connected to the input channel, the control output of the RAM block is connected to the fourth control input of the control unit, the information output b RAM lock is connected to the first information input of the comparison element and the second information input of the switching and identification unit, the first and second control outputs of the latter are connected respectively to the fourteenth and seventeenth control inputs of the control unit, from the first to fourth control inputs of the switching and identification unit are connected, respectively, from the tenth on the twelfth and eighteenth control outputs of the control unit, the third and fourth information inputs of the switching unit and ID The specifications are connected respectively to the input channel and the information output of the second stack memory block, the third information output of the switching and identification block is connected to the information input of the first stack memory block, the second information output of the switching and identification block is connected to the output channel, the first information output of the switching and identification block is connected with the information input of the second stacked memory block, the first and second control inputs of the latter are connected respectively to the sixth and the seventh control outputs of the control unit, the first and second control outputs of the second stack memory block are connected respectively to the tenth and eleventh control inputs of the control unit, the first to fifth control inputs of the first stack memory block are connected to the eighth, ninth and fifteenth to seventeenth control outputs of the block control, the first to third control outputs of the first stack of memory blocks are connected respectively with the twelfth, thirteenth and fifteenth control in moves of the control unit, the information output of the first stacked memory unit is connected to the first information input of the switching and identification unit and to the second information input of the comparison element, the first to third control outputs of the latter are connected respectively from the fifth to seventh control inputs of the control unit, from the first to third control inputs "ZAGR", "ChTPR", "WHAT", as well as the eighth and ninth control inputs "RESET" and "START", as well as the sixteenth control input "RSEL" of the control unit are external inputs device, the thirteenth and fourteenth control outputs "GT" and "SIN" of the control unit are the external outputs of the device, characterized in that the eighteenth external control input "RPOD" is input to it, to which the external indication of the substitution mode is received, and from the nineteenth to twenty the first control outputs of the control unit, respectively connected with the sixth through eighth control inputs of the first stack of memory blocks, while the nineteenth control output of the control unit is designed to provide a signal incrementing the contents of the first stacked memory block, the twentieth control output is intended to provide an inverse signal of a sign of the substitution mode, the twenty-first output is designed to provide an odd address signal in the first stacked memory block.
RU2004117660/09A 2004-06-09 2004-06-09 Information sorting device RU2274893C2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2004117660/09A RU2274893C2 (en) 2004-06-09 2004-06-09 Information sorting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2004117660/09A RU2274893C2 (en) 2004-06-09 2004-06-09 Information sorting device

Publications (2)

Publication Number Publication Date
RU2004117660A RU2004117660A (en) 2006-01-10
RU2274893C2 true RU2274893C2 (en) 2006-04-20

Family

ID=35871435

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2004117660/09A RU2274893C2 (en) 2004-06-09 2004-06-09 Information sorting device

Country Status (1)

Country Link
RU (1) RU2274893C2 (en)

Also Published As

Publication number Publication date
RU2004117660A (en) 2006-01-10

Similar Documents

Publication Publication Date Title
US4341929A (en) Memory accessing system
US5319762A (en) Associative memory capable of matching a variable indicator in one string of characters with a portion of another string
US8891272B2 (en) Content addressable memory system
US5357431A (en) Character string retrieval system using index and unit for making the index
KR940003700B1 (en) Method and apparatus for search
US3422401A (en) Electric data handling apparatus
US20120163062A1 (en) Memory device and memory access method
EP0054588A1 (en) Interactive data retrieval apparatus
CN106326397A (en) Method and device for generating index file
GB1533326A (en) Storage arrangements
RU2274893C2 (en) Information sorting device
GB1198008A (en) Fast Access-Content Organized Readout Memory
EP0097818A2 (en) Spelling verification method and typewriter embodying said method
RU2128855C1 (en) Device for information sorting
RU2039376C1 (en) Device for information search
RU2034327C1 (en) Device for sorting data
US6742073B1 (en) Bus controller technique to control N buses
RU96119820A (en) INFORMATION PROCESSING DEVICE FOR INFORMATION SEARCH
US4125879A (en) Double ended stack computer store
US20020052903A1 (en) Text input method
US5953454A (en) Minimum distance storage device
JP2564942B2 (en) Selective associative memory device and control method thereof
SU624296A1 (en) Associative storage
SU1262572A1 (en) Push-down associative memory
RU2223538C2 (en) Words sorting-out device

Legal Events

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

Effective date: 20060610