SU1499358A1 - User to communication channel interface - Google Patents
User to communication channel interface Download PDFInfo
- Publication number
- SU1499358A1 SU1499358A1 SU874345166A SU4345166A SU1499358A1 SU 1499358 A1 SU1499358 A1 SU 1499358A1 SU 874345166 A SU874345166 A SU 874345166A SU 4345166 A SU4345166 A SU 4345166A SU 1499358 A1 SU1499358 A1 SU 1499358A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- register
- inputs
- counter
- Prior art date
Links
Landscapes
- Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано при построении систем обмена данными между локальными и удаленными абонентами и ЦВМ. Целью изобретени вл етс повышение быстродействи и достоверности обмена данными. Устройства содержит регистр приема, регистр передачи, регистр контрол , регистр контрольной суммы, регистр состо ни , регистр данных, счетчик битов, счетчик байтов, два счетчика времени, два триггера, триггер приема, два мультиплексора, три дешифратора управлени , блок сравнени , сумматор, счетчик паузы, дешифратор конца массива, распределитель импульсов, элемент задержки, одновибратор, тринадцать элементов И, дев ть элементов ИЛИ. 6 ил.The invention relates to computing and can be used in the construction of data exchange systems between local and remote subscribers and digital computers. The aim of the invention is to increase the speed and reliability of data exchange. The devices contain a receive register, a transmit register, a control register, a checksum register, a status register, a data register, a bit counter, a byte counter, two time counters, two triggers, a receive trigger, two multiplexers, three control decoders, a comparison unit, an adder, pause counter, array end decoder, pulse distributor, delay element, one-shot, thirteen AND elements, nine OR elements. 6 Il.
Description
Изобретение относитс к вычислительной технике и можеТ быть использовано при построении систем обмена данными между локальными и удаленными абонентами и ЦВМ.The invention relates to computing and can be used in the construction of data exchange systems between local and remote subscribers and digital computers.
Целью изобретени вл етс повышение быстродействи и достоверности обмена данными. .The aim of the invention is to increase the speed and reliability of data exchange. .
Передача данных между абонентами, в качестве которых могут выступать вычислительные машины или абонентские пункты, осуществл етс по физической цепи, либо по каналам,-вьще- л емым аппаратурой уплотнени , последовательными кодами. Единицей обмена вл етс массив данных, который состоит из маркерныхj информационных и служебных кодограмм. Маркерные кодограммы определ ют начало и завершение передачи массиваData transfer between subscribers, which may be computers or subscriber stations, is carried out via a physical circuit, or through multiplexing equipment, with sequential codes. The unit of exchange is a data array, which consists of marker information and service data patterns. Marker codograms determine the beginning and end of the array transfer.
данных, служебные кодограммы - количество информационных кодограмм в массиве и контрольную сумму информационных кодограмм массива данных.data, service codograms - the number of information codograms in the array and the checksum of information codograms of the data array.
Устройство дл сопр жени в процессе функционировани реализует два режима работы: прием массива данных и передача массива данных.The device for interfacing during the operation implements two modes of operation: reception of a data array and transmission of a data array.
В начале работы устройство нахо- ; дитс в состо нии готовности к приему данных. При поступлении из канала св зи первого бита кодограммы устройство переводитс в режим приема массива данных. В этом режиме осуществл етс прием первой и второй маркерных кодогрс1мм, идентифицирующих начало обмена данными. В процессе приема этих кодограмм осуществл етс контроль их правильности, и в случае обнаружени ошибки в кодограммеAt the beginning of operation, the device is; It is in readiness to receive data. When the first bit of the codogram arrives from the communication channel, the device is switched to the mode of receiving an array of data. In this mode, the first and second marker codes that identify the beginning of the data exchange are received. In the process of receiving these codograms, their correctness is monitored, and if an error is detected in the codogram
СО Од CO od
СПSP
0000
31493149
канал св зи бракуетс и осуществл етс формирование слова состо ни , которое в дальнейшем может быть использовано абонентом дл оценки ситуации , а устройство переводитс в исходное состо ние режима приема,the communication channel is rejected and the formation of the state word is carried out, which can then be used by the subscriber to assess the situation, and the device is transferred to the initial state of the reception mode,
В том случае, если маркерные кодограммы прин ты верно, осуществл етс прием служебной кодограммы, определ ющей длину информационной части массива данных с учетом кодограммы контрольной суммы.In the event that the marker codograms are received correctly, a service codogram is received that determines the length of the information part of the data set, taking into account the checksum codogram.
В дальнейшем устройством принимаютс информационные кодограммы. Взаимодействие абонента с устройством сопр жени соуществл етс в соответствии с механизмом опроса. В процессе приема информационных кодограмм в устройстве осуществл етс подсчет контрольной суммы.In the following, information codograms are received by the device. The interaction of the subscriber with the interface device is realized in accordance with the polling mechanism. In the process of receiving information codograms in the device, a checksum is calculated.
По заверщении приема информационных кодограмм устройство принимает кодограмму контрольной суммы, провер ет прин тую и накопленную контроль- ные суммы и формирует соответствующее слово состо ни . Последней при- .нимаетс маркерна кодограмма, после чего устройство переводитс в исходное состо ние режима приема. Маркерна кодограмма контролируетс аналогично рассмотренному вьтае.When the reception of information codograms is completed, the device receives a codogram of the checksum, checks the received and accumulated checksums and generates the corresponding status word. The last coding pattern is received, after which the device is transferred to the initial state of the reception mode. Marker codogram is monitored as described above.
В процессе обмена данными каждую прин тую кодограмму устройство передает в канал св зи, а передающее устройство контролирует качество обмена даннь1Ми. Кроме того, в устройстве реализованы два уровн контрол состо ни канала св зи по времени задержки обмена данными. На первом уровне контрол осуществл етс подсчет времени приема кодограммы, а на втором уровне - подсчет времени в паузах между кодограммами.In the course of data exchange, each received codogram is transmitted by the device to the communication channel, and the transmitting device controls the quality of the data exchange. In addition, the device implements two levels of monitoring the state of the communication channel in terms of the communication delay time. At the first level of control, the time of reception of the codogram is calculated, and at the second level, the time in the pauses between the codograms is counted.
В случае нарушени условий контрол устройством формируетс слово состо ни , сооветствующее происшедшей ситуации. При необходимости между устройством сопр жени и абонентом может быть использовано устройство циклического контрол и кодировани информационных кодограммIn case of violation of the control conditions by the device, a word of state is formed, corresponding to the situation that has occurred. If necessary, a device for cyclic control and coding of information codograms can be used between the interface device and the subscriber.
Синхронизирующие последовательности при приеме кодограмм формируютс линейными блоками, которые включаютс на канальном входе устройства и в описание рассматриваемого устройства не вход т.The synchronization sequences when receiving codograms are formed by linear blocks that are included at the channel input of the device and are not included in the description of the device in question.
В случае необходимости передачи данных абонент переводит устройство в режим передачи массива данных. В этом режиме устройство под воздействием поступающих от абонентов сигналов управлени формирует и передает в канал св зи две маркерные кодограммы, а затем осуществл етIf it is necessary to transfer data, the subscriber switches the device to the data transfer mode. In this mode, the device, under the influence of control signals received from subscribers, forms and transmits two marker codograms to the communication channel, and then performs
передачу последовательно вводимой в устройство абонентом информации. Контроль передаваемых данных осуществл етс аналогично режиму приема . - по эхоответу устройства сопр жени абонента св зи. По завершении передачи информационной части массива данных устройство формирует маркерную кодограмму и переводитс в режим приема после получени подтверждени на нее.the transfer of information entered into the device by the subscriber. The control of the transmitted data is carried out similarly to the reception mode. - echoing of the interface of the subscriber of the communication subscriber. Upon completion of the transmission of the information part of the data array, the device generates a marker codogram and is switched to receive mode after receiving confirmation of it.
Устройство обеспечивает возможность обмена данными как по некоммутируемым , так и по коммутируемым каналам св зич Этот эффект обеспечивает расширение области применени устройства. Повышение достоверности обмена данными достигаетс обеспечением возможности контрол канала св зи перед каждым его использованием дл обмена данными с помощью маркерных кодограмм, а также возможностью контрол зависаний канала св зи и сбоев в канале св зи в процессе обмена данными.The device provides the ability to exchange data over non-switched and dial-up communication channels. This effect expands the field of application of the device. Improving the reliability of data exchange is achieved by ensuring that the communication channel is monitored before each use for data exchange using marker codograms, as well as the ability to control link hangs and communication channel failures in the data exchange process.
На фиг.1 и 2 приведена функциональна схема устройства; на фиг.З - функциональные скемы счетчиков времени и распределител импульсов; на фиг.4 - 7 схемы алгоритмов функционировани устройства в основных режимах.Figure 1 and 2 shows the functional diagram of the device; on fig.Z - functional skemy time counters and pulse distributor; Figures 4-7 of the algorithm for operating the device in the main modes.
Устройство содержит (фиг.1 и 2) регистр 1 приема, регистр 2 передачи , регистр 3 контрол , регистр 4 контрольной суммы, регистр 5 состо ни , регистр 6 данных, счетчик 7 битов, счетчик 8 байтов, первый 9 и второй 10 счетчики времени, первый 11 и второй 12 триггеры, триггер 13 приема, третий 14,.первый 15, второй 16,.дев тый 17, п тый 18, дес тый 19, тринадцатый 20, двенадцатый 21, одиннадцатый 22, четвертый 23, шестой 24, седьмой 25 и восьмой 26 элементы И, п тый 27, восьмой 28, второй 29, седьмой 30, первый 31, третий 32, дев тый 33, четвертый 34 и шестой 35 элементы ИЛИ, первый 36 и второй 37 мультиплексоры , второй 38 и первый 39 дешифраторы управлени , блок 40 сравнени , сумматор 41, счетчик 42 паузы, элемент 43 задержки, дешифра- тор 44 конца массива, третий дешифратор 45 управлени , одновибратор 46, распределитель 47 импульсов, информационный вход 48.1 и группу информационных входов 48.2 устрой- ства, первый 49.1 и второй 49,2 входы синхронизации устройства, группу управл ющих входов 50 устройства, второй 51.1 и первый 51.2 входы обращени устройства, синхровыход 52,1 и информационный выход 52.2 устройства , группу информационных выходов 53 устройства, выход 54 сигналов прерьшани устройства, установочный вход 55 и выход 56 первого счетчика 9 времени, второй 57 и первый 58 входы запуска, установочный вход 59 и выход 60 второго счетчика 10 времени , первый 61 и второй 62 входы запуска, разрешающий Ьход 63, второй синхровыход 64, разрешаю1ций выход 65, третий синхровыход 66 распределител 47, выход 67 блока 40 сравнени The device contains (FIGS. 1 and 2) reception register 1, transmission register 2, control register 3, checksum register 4, status register 5, data register 6, 7 bits counter, 8 bytes counter, first 9 and second 10 time counters , the first 11 and second 12 triggers, the trigger 13 reception, the third 14,. The first 15, the second 16,. The ninth 17, Fifth 18, The tenth 19, The thirteenth 20, The twelfth 21, The eleventh 22, Fourth 23, Sixth 24, seventh 25 and eighth 26 elements And, fifth 27, eighth 28, second 29, seventh 30, first 31, third 32, ninth 33, fourth 34 and sixth 35 elements OR, first 36 and second 3 7 multiplexers, second 38 and first 39 control decoders, comparison unit 40, adder 41, pause counter 42, delay element 43, array end decoder 44, third control decoder 45, one-shot 46, pulse distributor 47, information input 48.1 and group information inputs 48.2 of the device, first 49.1 and second 49.2 device sync inputs, group of device control inputs 50, second 51.1 and first 51.2 device reversal inputs, sync output 52.1 and device information output 52.2, group of information outputs 53 , the output 54 of the device interruption signals, the setup input 55 and the output 56 of the first time counter 9, the second 57 and the first 58 start inputs, the setup input 59 and the output 60 of the second time counter 10, the first 61 and the second 62 start inputs, allowing the output 63, the second sync output 64, permitting output 65, third synchronizing output 66 of distributor 47, output 67 of comparison unit 40
Первьгй счетчик 9 времени содержит триггер 68 пуска и счетчик 69.The first time counter 9 contains a trigger 68 and a counter 69.
Второй счетчик 10 времени содержит триггер 70 пуска и счетчик 71,The second counter 10 time contains the trigger 70 start and the counter 71,
Распределитель 47 импульсов содер47 pulse distributor
жит триггер 72 пуска, счетчик 73, счетчик 74 сдвигов, дешифратор 75, одновибратор 76, элемент 77 -задержки и элемент И 78.there is a trigger 72 trigger, a counter 73, a shift counter 74, a decoder 75, a one-shot 76, a 77-delay element and an And 78 element.
Регистр 1 приема предназначен дл записи и хранени данных, поступающих из канала св зи в последовательном коде и представл ет собой сдвиговый регистр. Запись бита данны стробируетс импульсом, поступающим на синхровход регистра. После записи очередного бита данных содержимое регистра сдвигаетс на один разр д.Receive register 1 is intended for recording and storing data from a communication channel in a sequential code and is a shift register. The data record is gated with a pulse arriving at the synchronous input of the register. After writing the next data bit, the contents of the register are shifted by one bit.
Регистр 2 передачи предназначен дл записи и хранени данных, преднзначенных дл передачи в канал св зи в последовательном коде. При выполнении передачи данных в канал св зи на входе Е регистра устанавливаетс единичный потенциал, разрешающий сдвиг содержимого под управлением тактовых импульсов, поступающих на вход СЕ регистра 2.Transmission register 2 is for recording and storing data intended for transmission to a communication channel in a sequential code. When data is transmitted to the communication channel, a single potential is established at the input E of the register, allowing the content to be shifted under the control of the clock pulses supplied to the input CE of the register 2.
Регистр 3 контрол предназначен дл хранени значени текущей конт1499358Register 3 control is designed to store the value of the current contact 1499358
д 5 0 5 d 5 0 5
0 0
5five
00
5five
00
5five
рольной суммы массива данных, формируемой в процессе приема данных из канала св зи.the total amount of the data array generated in the process of receiving data from the communication channel.
Регистр 4 контрольной суммы предназначен дл записи и хранени слова, определ ющего значение контрольной суммы массива данных,, передаваемого по каналу св зи.Checksum register 4 is designed to record and store a word that determines the value of the checksum of the data array transmitted over the communication channel.
Регистр 5 состо ни предназначен дл записи и хранени сигналов ошибки в работе устройства, а также сигналов состо ни устройства и данных . Единич ное (нулевое) состо ние нулев ого разр да регистра 5 состо ни соответствует признаку: новые (старые) данные на регистре 6 данных. Единичное (нулевое) состо ние шестого разр да регистра 5 вл етс признаком наличи (отсутстви ) служебной информации о длине или контрольной сумме массива на регистре 6 данных . Елиничное (нулевое) состо ние седьмого разр да-регистра 5 соответствует работе устройства в режиме передачи (приема). Единичное (нулевое ) состо ние первого - п того разр дов регистра 5 соответствует наличию (отсутствию) и одного из п ти видов возможных ошибок в работе устройства:The status register 5 is for recording and storing error signals in the operation of the device, as well as device status signals and data. The single (zero) zero-state state of the 5 state register corresponds to the feature: new (old) data on the data 6 register. A single (zero) state of the sixth bit of register 5 is a sign of the presence (absence) of service information about the length or checksum of the array on register 6 of data. The linear (zero) state of the seventh bit of the register 5 corresponds to the operation of the device in the transmission (reception) mode. The single (zero) state of the first to fifth bits of register 5 corresponds to the presence (absence) and one of the five types of possible errors in the operation of the device:
ошибка контрольной суммы (разр д 1); ошибка конечного маркера (разр д 2); ошибка маркера начала (разр д 3); ошибка времени приема слова (разр д 4); ошибка времени ожидани приема слова (разр д 5).checksum error (bit 1); end marker error (bit size 2); start marker error (bit 3); word reception time error (bit 4); error of waiting time for receiving a word (bit 5).
Регистр 6 данных предназначен дл промежуточного хранени данных, поступающих из канал св зи абоненту- получателю.The data register 6 is intended for intermediate storage of data received from the communication channel to the recipient.
Счетчик 7 битов предназначен дл подсчета числа импульсов, поступаю- щих по входу 49.1 устройства. Сигнал переполнени счетчика формируетс на его выходе по достижению состо ни , равного восьми, что соответствует числу бит в слове данных.The 7-bit counter is designed to count the number of pulses arriving at input 49.1 of the device. A counter overflow signal is generated at its output upon reaching a state equal to eight, which corresponds to the number of bits in the data word.
Счетчик 8 байтов предназначен дл записи и хранени текущего значени длины массива данных. После обработки очередного байта данных , содержимое счетчика 8 уменьшаетс на единицу. Нулевое состо ние счетчика 8 соответствует приему маркерных слов массива данных.The 8 byte counter is designed to record and store the current value of the length of the data array. After processing the next byte of data, the contents of counter 8 are decremented by one. The zero state of the counter 8 corresponds to the reception of the marker words of the data array.
Счетчик 9 времени предназначен дл контрол зависани канала св зи при приеме слова массива данных.The time counter 9 is designed to monitor the hangup of the communication channel when receiving a data array word.
71499357149935
Счетчик 10 времени предназначен дл контрол зависани канала св зи в паузах при приеме слов, массива ; данных.The time counter 10 is designed to monitor the hangup of the communication channel in pauses when receiving words, an array; data.
Триггеры П и 2 предназначены дл регистрации приема маркерных слов массива данных.Triggers P and 2 are designed to register the reception of the marker words of the data array.
Триггер 13 приема предназначен , дл регистрации начала приема инфор- - ю мационной части массива данных.The trigger trigger 13 is intended to register the start of receiving the information part of the data array.
На схемах алгоритмов (фиг.3-6) прин ты следующие условньге обозна че- ни и сокращени : RG - 1 егистр; Р - разр д регистра; РИ - pacпpe з;eлитeль 15 импульсов; max г предельное значение счетчика времени;,Т --триггер; СТ - счетчик; ЧТН - чтение; КС - контрольна сумма; ТКС - текуща контрольна On the schemes of the algorithms (Figures 3-6), the following conditions are stated and abbreviated: RG - 1 register; P is the register bit; RI - spacer; elitel 15 pulses; max g is the limit value of the time counter;, T is the trigger; ST - counter; CTN - reading; CS - control amount; TCS - current control
сумма; L - длина массива данных.amount; L is the length of the data array.
Устройство функционирует в двух основных режимах: прием данных из канала св зи и передача данных в канал св зи.The device operates in two main modes: receiving data from a communication channel and transmitting data to a communication channel.
В исходном состо нии регистры 1-6, ступающего на вход 49.1 устройства.In the initial state, the registers 1-6 go to the input 49.1 of the device.
счетчики 7 и 8, счетчики 9 и 10 времени , триггеры I1-13.наход тс в нулевом состо нии (цепи начальной установки на фиг.1 не показаны).counters 7 and 8, counters 9 and 10 of time, triggers I1-13. are in the zero state (the initial installation circuit is not shown in Fig. 1).
Исходное состо ние устройства 30 соответствз т режиму приема данных из канала св зи.The initial state of the device 30 corresponds to the mode of receiving data from the communication channel.
Нулевой и первый байты массива данных представл ют собой маркерные кодограммы (ЗЦр), которые исполь- 35 зуютс дл оперативной проверки шлейфа канала св зи. Устройство-источник посьтает последовательно в канал св зи маркерные кодограммы. На каждую- прин тую маркерную кодо- 40 грамму устройство-приемник посылает в канал св зи маркерную кодограмму подтверждени приема.The zero and first bytes of the data array are the marker codograms (SSCR), which are used to quickly check the loop of the communication channel. The source device sends successively to the communication channel marker codograms. For each received marker codogram, the receiving device sends a acknowledgment codogram to the communication channel.
Устройство-источник контролирует получение маркерных кодограмм под- 45 тверждени приема. При успешном обмене маркерными кодограммами устройство-источник последовательно передает в устройство-приемник инфорзаписьшаетс в регистр 1. Регистр 1 построен по схеме сдвигового регистра , причем операци сдвига выпо н етс после записи очередного информационного бита под управлением импульса синхронизации.The source device controls the receipt of confirmation confirmation markers. Upon successful exchange of marker codograms, the source device sequentially transmits information to the receiver device in register 1. Register 1 is constructed according to a shift register scheme, with the shift operation being performed after writing the next information bit under the control of a synchronization pulse.
По приему первого бита данных импульсом синхронизации осуществл етс запуск счетчика 9 времени, оброс счетчика 10 времени, инкремен тируетс состо ние счетчика 7. По каждому принимаемому информацион ному биту в устройстве ловтор ютс описанные процессы до свершени одного из двух событий; переполнени счетчика 7; переполнение счетчика 9 времени. Upon receiving the first data bit, the synchronization pulse triggers the time counter 9, overwrites the time counter 10, increments the counter 7 state. For each received information bit, the described processes in the device flush until one of the two events occurs; counter overflow 7; overflow counter 9 time.
Переполнение счетчика 7 свидетел ствует о том, что прием байта данны из канала св зи завершен. По сигнал переполнени счетчика 7 осуществл етс запуск счетчика 10 времени, ос ществл ющего контроль времени задержки подтверждение, и разрешаетс счет счетчика 42 паузы. На второй вход 49.2 синхронизации устройства посто нно поступают синхроимпульсы, формируемые в канале св зи и обеспе чиваюпще работу первого 9 и второго 10 счетчиков времени, распределител 48 импульсов и счетчика 42 паузы. Частота следовани указанных синхроимпульсов в К раз превосходит час тоту импульсов синхронизаици, постуOverflow of counter 7 indicates that the reception of the byte of data from the communication channel has been completed. By the overflow signal of the counter 7, the counter 10 is started up, which monitors the delay time of the confirmation, and the count of the pause counter 42 is enabled. At the second synchronization input 49.2 of the device, the clock pulses are continuously generated in the communication channel and ensure the operation of the first 9 and second 10 time counters, the distributor 48 pulses and the pause counter 42. The frequency of the indicated sync pulses is K times the frequency of the synchronization, fasting
мационную часть массива данных. Причем на каждый переданный байт массива данных устройство-приемник формирует байт подтверждени , в качестве которого используетс прин тый от устройства-источника байт массива данньк. У с тройство-источник по окончании передачи каждого байта данных, а устройство-приемник по окончании приема каждого байта дан8the math part of the data array. Moreover, for each transmitted byte of the data array, the receiving device forms a confirmation byte, which uses the received byte from the source device byte of the danc array. The source is at the end of the transmission of each byte of data, and the receiving device at the end of the reception of each byte is given8
5 five
00
ных, кроме начальных маркеров, формируют сигналы готовности, вызывающие прерывание в работе своих абонентов.besides the initial markers, they form readiness signals causing interruptions in the work of their subscribers.
Устройство-источник осуществл ет временной контроль приема байтов подтверждени . Кроме того, в устройстве-источнике и в устройстве- приемнике осзга1ествл етс вычисление контрольной суммы массива даннь1х, котора J используетс дл контрол ; качества проведенного обмена.The source device provides time control for the receipt of acknowledgment bytes. In addition, the source device and the receiver device are responsible for calculating the checksum of the data array, which J is used to monitor; the quality of the exchange.
Рассмотрим реализацию режима при1е- ма данных из канал св зи на примере маркерных кодограмм (фиг. 1 и 3). Let us consider the implementation of the data reception mode from the communication channel by the example of marker codograms (Figs. 1 and 3).
Данные по каналу св зи передаютс последовательными кодами, причем линейные устройства каналов св зи обеспечивают восстановление информационного бита и импульса синхронизации . Информационный бит поступает на вход 48.1 устройства и под управлением импульса синхронизации, потThe data on the communication channel is transmitted by successive codes, and the linear devices of the communication channels ensure the recovery of the information bit and the synchronization pulse. The information bit is fed to the input 48.1 of the device and under the control of the synchronization pulse, sweat
ступающего на вход 49.1 устройства. stepping on input 49.1 devices.
00
5 0 50
5 five
00
5five
записьшаетс в регистр 1. Регистр 1 построен по схеме сдвигового регистра , причем операци сдвига выполн етс после записи очередного информационного бита под управлением импульса синхронизации.is written to register 1. Register 1 is constructed according to a shift register circuit, whereby the shift operation is performed after writing the next information bit under the control of a synchronization pulse.
По приему первого бита данных импульсом синхронизации осуществл етс запуск счетчика 9 времени, оброс счетчика 10 времени, инкремен- тируетс состо ние счетчика 7. По каждому принимаемому информационному биту в устройстве ловтор ютс описанные процессы до свершени одного из двух событий; переполнение счетчика 7; переполнение счетчика 9 времени. Upon receipt of the first data bit, the synchronization pulse triggers the time counter 9, overloads the time counter 10, increments the state of the counter 7. For each received information bit, the described processes are flashing in the device until one of the two events occurs; counter overflow 7; overflow counter 9 time.
Переполнение счетчика 7 свидетельствует о том, что прием байта данных из канала св зи завершен. По сигналу переполнени счетчика 7 осуществл етс запуск счетчика 10 времени, осуществл ющего контроль времени задержки подтверждение, и разрешаетс счет счетчика 42 паузы. На второй вход 49.2 синхронизации устройства посто нно поступают синхроимпульсы, формируемые в канале св зи и обеспе- чиваюпще работу первого 9 и второго 10 счетчиков времени, распределител 48 импульсов и счетчика 42 паузы. Частота следовани указанных синхроимпульсов в К раз превосходит частоту импульсов синхронизаици, поступающих во врем приема кодограмм на вход 49.1 устройства (коэффициент К удобно выбрать равным 16),The overflow of the counter 7 indicates that the reception of the data byte from the communication channel has been completed. On the overflow signal of the counter 7, the time counter 10 is started up, which monitors the delay time of confirmation, and the counter of the pause counter 42 is enabled. At the second synchronization input 49.2 of the device, the clock pulses generated in the communication channel constantly operate and ensure the operation of the first 9 and second 10 time counters, the pulse distributor 48 and the pause counter 42. The frequency of the indicated clock pulses is K times the frequency of the synchronization pulses received during the reception of the codograms at the input 49.1 of the device (the coefficient K is conveniently chosen equal to 16)
Счетчик 42 под воздействием синхроимпульсов измен ет свое состо ние от нул до трех. Состо нием счетчика 42, кроме нулевого, соответствует последовательность из трех управл ющих сигналов, формируемых на выходах первого дешифратора 45 управлени и обеспечивающих жесткую временную диаграмму работы устройства в паузах между принимаемыми кодограммами. Под воздействием управл ющих сугна- лов с выхода дешифратора 45 запускаетс распределитель 47, из регистра 1 через мультиплексор 36 в .регистр 2 переписываетс прин тый байт. Затем производитс установка в нулевое (исходное) состо ние ре- регистра 1 и счетчика 7, сигнал переполнени на выходе которого снимаетс ,, устанавлива з нулевое состо ние счетчик 42, при этом бло- кируетс его счет.The counter 42 under the influence of clock pulses changes its state from zero to three. The state of the counter 42, in addition to zero, corresponds to a sequence of three control signals generated at the outputs of the first control decoder 45 and providing a hard timing diagram of the device operation in the pauses between the received codograms. Under the influence of the control signals from the output of the decoder 45, the distributor 47 is started, and the received byte is rewritten from register 1 through multiplexer 36 into register 2. Then, the zero (initial) state of the register 1 and the counter 7 is set, the overflow signal at the output of which is removed, the counter 42 is set to the zero state, and its account is blocked.
Если на регистр 1 прин та перва маркерна кодограмма, то на выходе элемента И-14 формируетс единична информаци i котора записываетс в триггер Н, Если на регистр 1 прин та- втора маркерна кодограмма, ;то в единичное: состо ние устанавливаетс триггер 12,If the first marker codogram is received on register 1, then at the output of element I-14, a single information i is formed which is written to the trigger H, if the marker codogram to the register 1 is received, then to one: the state is set to trigger 12,
После запуска распределител 47 на его выходах формируетс сигнал разрешени сдвига и сери импульсов синхронизации сдвига, поступающие на соотьетствуюпще входы регистра 2, а также сери импульсов сопровожде- ки передаваемой в канал св зи информации , поступающа на выход 52,1 устройства во врем передачи последовательным кодом кодограммы из регистра 2 на выход 52,2 устройства. After launching the distributor 47, a shift resolution signal and a series of shift synchronization pulses are input to its outputs, arriving at the corresponding inputs of register 2, as well as a series of pulses accompanying information transmitted to the communication channel, arriving at the output 52.1 of the device during transmission by a serial code codograms from register 2 to output 52.2 of the device.
В случае переполнени счетчика 9 времени в устройстве формируетс сигнал ошибки приема, который фиксируетс в 4-м разр де регистра 5. В этом случае, как и при фиксации любой другой ошибки, через элемент ИЛИ 32 запускаетс одновибратор 46. Импульсом одновибратора 46 осуществл етс обнуление регистров 1 и 3, счетчиков 7 и 8, счетчиков 9 и 10 времени, триггеров 11 - 13, и через элемент ИЛИ 29 на выход 54 устройства передаетс сигнал прерывани In the event that the time counter 9 overflows, a reception error signal is generated in the device, which is recorded in the 4th digit of register 5. In this case, as in the case of any other error, a one-shot 46 is started via the OR 32 element. The one-shot 46 is reset by zeroing registers 1 and 3, counters 7 and 8, time counters 9 and 10, triggers 11-13, and through the OR 29 element, the output 54 of the device transmits an interrupt signal
Обработка сигнала прерывани выпо н етс абонентом,Причем вначале абонентом считьшаетс слово состо ни и регистра 5 через мультиплексор 37 а затем выполн ютс подпрограммы анализа слова состо ни и формирование требуемой последовательности операций взаимодействи абонента и устройства сопр жени .The interrupt signal is processed by the subscriber, whereby the subscriber first reads the status word and register 5 through multiplexer 37, and then the state word analysis subroutines and the required sequence of interaction between the subscriber and the interface device are executed.
В случае, если перва или втора кодограммы, прин тые устройством, не вл ютс маркерными (не содержат код -ЗЦо ) в устройстве на выходе элемента И 21 формируетс сигнал ошибки начального маркера, устанавливающий в единичное состо ние разр д 3 регистра 5,In the case that the first or second patterns received by the device are not marker (do not contain the -OCC code) in the device, an initial marker error signal is generated at the output of the AND 21 element, setting bit 3 of the register 5 to one,
После приема двух маркерных кодограмм устройство готово к приему информационных слов массива данных.After receiving two marker codograms, the device is ready to receive the information words of the data array.
Алгоритм функционировани устройства при приеме информационного слова, определ ющего длину массива данных (фиг,4), имеет следующие отличительные особенности. По сигналу переполнени счетчика 7 запускаетс счетчик 42 и на выходах дешифратора 45 формируютс единичные сигналы, по которым прин та информаци переписываетс из регистра 1 в счетчик 8 и в регистр б, разр ды Q и 6 регистра 5 устанавливаютс в единичное состо ние, на выход 54 устройства через элемент ИПИ 29 выдаетс сигнал прерывани , а триггер 13 устанавливаетс в единичное состо ние . Затем триггеры 11 и 12 сбрасываютс в нулевое состо ние. Как и при приеме маркерных кодограмм, через мультиплексор 36 из регистра 1 в регистр 2 переписываетс прин ты байт, осуществл етс запуск распределител 47, через элемент ИЛИ 28 производитс установка элементов устройства в состо ние готовности к приему очередного байта данных из канала св зи, в канал св зи с выхода 52,2 устройства передаетс кодограмма подтверждени .The device operation algorithm when receiving an information word defining the length of the data array (Fig. 4) has the following distinctive features. The overflow signal of the counter 7 triggers the counter 42, and at the outputs of the decoder 45 single signals are generated, according to which the received information is copied from register 1 to counter 8 and into register b, bits Q and 6 of register 5 are set to one, on output 54 device through the element of the IPA 29 is issued an interrupt signal, and the trigger 13 is set to one state. Then, the triggers 11 and 12 are reset to the zero state. As with the reception of marker codograms, through multiplexer 36 from register 1 to register 2, the received bytes are copied, the distributor 47 is launched, the OR 28 element is used to set the device elements in readiness for receiving the next byte of data from the communication channel a communication channel from output 52.2 of the device transmits an acknowledgment codogram.
После приема каждого последовательного байта данных единичный сигнал формируетс на выходе элемента И 17, По этому сигналу производитс запись прин того байта из регистра 1 в регистры 2 и 6, запись текущей контрольной суммы данных с выхода сумматора 41 в регистр 3, установка в единичное состо ние разр да О регистра 5, вычитание единицы из содержимого счетчика 8 и вьщача сигнала прерывани абоненту. Кроме того, как и ранее, запускаетс распределитель 47, через элемент ИЛИ 28 устройство подготавливаетс к приему очередного байта, а в канал св зи из регистра 2 в последовательс в единичное состо ние седьмой разр д регистра 5, запускаетс счетчик 10 времени, все разр ды регистра 2 устанавливаютс в единичное состо ние (код маркера) и запускаетс распределитель 47, организующий передачу кодограммы с выхода регистра 2 в канал св зи. Таким образом, произAfter receiving each consecutive data byte, a single signal is formed at the output of the element And 17. This signal records the byte received from register 1 to registers 2 and 6, writes the current checksum of data from the output of adder 41 to register 3, sets it to one bit About register 5, subtract a unit from the contents of counter 8 and send an interrupt signal to the subscriber. In addition, as before, the distributor 47 is started, through the OR element 28 the device is prepared to receive the next byte, and the communication channel from register 2 to sequence is in the one state of the seventh bit of register 5, the time counter 10 is started, all bits the register 2 is set to one (marker code) and the distributor 47 is started, organizing the transmission of the codogram from the output of the register 2 to the communication channel. Thus,
ном коде передаетс байт подтвержде- ю водитс передача маркерных кодограмм.The code is transmitted and the byte is transmitted. The transmission of marker codograms is given.
ки . По сигналу прерывани абонент считывает слово состо ни из регистра 5, определ ет признак новой информации , считывает данные из регистра 6 и обнул ет нулевой разр д регистра 5. Процесс приема слов данных продолжаетс до достижени счетчиком 8 состо ни , равного единице, что определ ет прием контрольной суммы массива данных. При этом на первом вькоде дешифратора 44 конца массива формируетс единичный сигнал , блокирующий запись текущей контрольной суммы данных.с выхода сумматерй. 41 в регистр 3, разрешаетс запись контрольной суммы массива из регистра 1 в регистр 4 и устанавливаетс в единичное состо ние разр д 6 регистра 5. Байт контрольной суммы, как.и предьодущие байты массива данных, пересылаетс из регистра 1 в регистр бив регистр 2. Дл передачи байта подтверждени запускаетс распределитель 47, форм руетс сигнал прерывани абоненту и производитс декремент счетчика 8ki On the interrupt signal, the subscriber reads the status word from register 5, determines the sign of the new information, reads the data from register 6, and zeroes the zero register register 5. The process of receiving data words continues until the counter 8 reaches a state equal to one, which determines receiving checksum data array. In this case, in the first code of the end-of-array decoder 44, a single signal is generated that blocks the recording of the current checksum of data from the adder's output. 41 into register 3, the recording of the checksum of the array from register 1 to register 4 is permitted and bit 6 of register 5 is set to one. The checksum byte, as well as the previous bytes of the data array, is transferred from register 1 to register 2. To transmit the confirmation byte, the distributor 47 is started, the interrupt signal is generated to the subscriber, and the decrement of the counter 8 is performed.
При HyjieBOM состо нии счетчика 8 осуществл етс прием конечной маркерной кодограммы. На втором выходе депгафратора 44 устанавливаетс единичный уровень сигнала, разрешающий ., сравнение состо ни регистров 3 и 4, формирование единичного уровн сигнала на. выходе элемента И 14 иIn the case of the HyjieBOM state of counter 8, the final marker coding is received. At the second output of the depragforator 44, a single signal level is established allowing., The comparison of the state of registers 3 and 4, the formation of a single signal level by. element output and 14 and
сигналов общего сброса устройства на 45 выходе 65 распределител с задержэлементах И 19 и 20, ИЛИ 27-31 по окончании приема маркера. Устройстве приводитс в исходное состо ние.signals of a general reset of the device at 45 outlet 65 of the distributor with delay elements And 19 and 20, OR 27-31 at the end of the reception of the marker. The device is reset.
Особенности функционировани уст- ройства в режиме передачи свод тс к следующему. Перевод устройства в режим передачи (фиг.6) и управление передачей данных осуществл ютс от абонента-источника. Дл этого на вход 50 устройства подаетс адрес обращени , который дешифрируетс дешифратором 39, и сигнал обращени , поступающий на вход 51.2. При первом обращении к устройству устанавливаеткои относительно сигнала запуска, . необходимой дл записи информации в регистр 2 передачи, формируетс сигнал разрешени сдвига содержимогоThe features of the device in the transfer mode are as follows. The transfer of the device to the transmission mode (Fig. 6) and the data transmission control are carried out from the source subscriber. To do this, the address of the device is fed to the input 50, which is decoded by the decoder 39, and the signal to the input 51.2. When you first access the device, the settings are relative to the trigger signal,. necessary to record information in the transfer register 2, the content shift enable signal is generated
QQ регистра 2. На выходах дешифратора 75 формируютс импульсы, соответствующие состо ни м К/2 и К (К - максимальное состо ние) счетчика 73. Эти импульсы поступают на выходыQQ register 2. At the outputs of the decoder 75 pulses are formed, corresponding to the states K / 2 and K (K is the maximum state) of the counter 73. These pulses arrive at the outputs
5g 52.1 и 64 распределител 47 соответственно . По сигналам переполнени счетчика 73 производитс икремент счетчика 74, По сигналу переполнени счетчика 74, соответствующему оконДанные дл передачи поступают в регистр 2 с входа 48.2 через мультиплексор 36 и передаютс побитно в канал св зи под управлением распреде5 лител 47. По окончании передачи любого слова, включа маркерные, по сигналу с выхода 66 распределитель 47 через элемент ИЛИ 28 на выход 54 устройства выдаетс сигнал прерыва0 ни . В процессе передачи данных5g 52.1 and 64 distributors 47, respectively. The overflow signals of counter 73 produce the increment of counter 74, the overflow signal of counter 74, the corresponding window. The data for transmission goes to register 2 from input 48.2 through multiplexer 36 and is transmitted bit by bit to the communication channel under the control of distributor 47. After the transfer of any word, including markers, at the signal from the output 66, the distributor 47 through the element OR 28 to the output 54 of the device is given an interrupt signal. During data transfer
устройство в соответствии с прин той дисциплиной обмена производит прием байтов подтверждени , осуществл ет временной контроль своевременного ихthe device, in accordance with the accepted exchange discipline, receives acknowledgment bytes, performs time control of their timely
5 поступлени и все другие, предусмотренные виды контрол .5 receipts and all other types of controls.
Работа устройства в режиме передачи заканчиваетс по окончании приема подтверждений на все переданныеThe operation of the device in the transfer mode ends upon receipt of acknowledgments to all transmitted
0 байты, включа конечный маркер, или при фиксации любой из п ти ошибок. В обоих случа х производитс установка в нулевое состо ние седьмого разр да регистра 5, формируютс сигналы общего сброса устройства и прерывани .0 bytes, including the final marker, or when any of the five errors are fixed. In both cases, the zero state of the seventh bit of register 5 is set, the device general reset and interrupt signals are generated.
Еабота распределител 47 (фиг.2) начинаетс с момента поступлени на один из его входов запуска (61 илиThe operation of the distributor 47 (FIG. 2) starts from the moment it arrives at one of its start inputs (61 or
0 62) единичного сигнала. При этом0 62) single signal. Wherein
устанавливаетс в единичное состо ние триггер 72, разрешающий работу счетчиков 73 и 74 от синхроимпульсов, поступающих с входа 49.2 устройства.A trigger 72 is set to one, permitting the operation of counters 73 and 74 from sync pulses coming from the input 49.2 of the device.
5five
кои относительно сигнала запуска, . необходимой дл записи информации в регистр 2 передачи, формируетс сигнал разрешени сдвига содержимогоkoi regarding the trigger signal,. necessary to record information in the transfer register 2, the content shift enable signal is generated
регистра 2. На выходах дешифратора 75 формируютс импульсы, соответствующие состо ни м К/2 и К (К - максимальное состо ние) счетчика 73. Эти импульсы поступают на выходыregister 2. At the outputs of the decoder 75, pulses are formed, corresponding to the states K / 2 and K (K is the maximum state) of the counter 73. These pulses arrive at the outputs
52.1 и 64 распределител 47 соответственно . По сигналам переполнени счетчика 73 производитс икремент счетчика 74, По сигналу переполнени счетчика 74, соответствующему окон131452.1 and 64 distributors 47, respectively. According to the overflow signals of the counter 73, the increment of the counter 74 is produced. According to the overflow signal of the counter 74, the corresponding window 1314
чанию передачи в канал св зи последнего бита кодограммы, на выходе одновибратора 76 формируетс импульс, по которому производитс установка в нулевое состо ние триггера 72 и счетчиков 73 и 74. Если на входе 63 распределител и, соответственно, на входе элемента И 78 присутствует единичный сигнал., разрешающий прерывание абонента, то импульс одновибратора 76 постзшает через элемент И 78 на выход 66 распределител 47.In order to transfer the last bit of the codogram to the communication channel, a single pulse is generated at the output of the one-shot 76, which triggers 72 and counters 73 and 74 are set to the zero state. If there is a single signal at the input 63 of the distributor and, accordingly, . Allowing the subscriber to interrupt, the one-shot 76 impulse is post-passed through AND 78 to output 66 of the distributor 47.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874345166A SU1499358A1 (en) | 1987-12-16 | 1987-12-16 | User to communication channel interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874345166A SU1499358A1 (en) | 1987-12-16 | 1987-12-16 | User to communication channel interface |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1499358A1 true SU1499358A1 (en) | 1989-08-07 |
Family
ID=21342952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874345166A SU1499358A1 (en) | 1987-12-16 | 1987-12-16 | User to communication channel interface |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1499358A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU207031U1 (en) * | 2021-04-27 | 2021-10-07 | Федеральное государственное бюджетное учреждение "4 Центральный научно-исследовательский институт" Министерства обороны Российской Федерации | DEVICE FOR SELECTION OF FEATURES OF STRUCTURED OBJECTS WITH CHECK SUM |
-
1987
- 1987-12-16 SU SU874345166A patent/SU1499358A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР. 924691, кд. С 06 F 13/00, 1982. Авторское свидетельство СССР 943694, кл. G 06 F 13/00, 1982. * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU207031U1 (en) * | 2021-04-27 | 2021-10-07 | Федеральное государственное бюджетное учреждение "4 Центральный научно-исследовательский институт" Министерства обороны Российской Федерации | DEVICE FOR SELECTION OF FEATURES OF STRUCTURED OBJECTS WITH CHECK SUM |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU595437B2 (en) | Universal protocol data receiver | |
US4701913A (en) | Circuit and method for extracting signalling information embedded in channelized serial data streams | |
GB1565562A (en) | Data communication system | |
US4396995A (en) | Adapter for interfacing between two buses | |
US4509164A (en) | Microprocessor based digital to digital converting dataset | |
SU1499358A1 (en) | User to communication channel interface | |
EP0669738A2 (en) | System and method for automatically detecting speed, parity, and character length | |
US3719930A (en) | One-bit data transmission system | |
JP2523874B2 (en) | Asynchronous serial data transmission device | |
SU1043717A1 (en) | Device for transmitting telemetric information | |
EP0417918B1 (en) | Data receiver interface circuit | |
SU1298930A1 (en) | Device for checking discrete channel | |
SU1698894A1 (en) | Data channel simulator | |
SU1667084A1 (en) | Microprogrammable computer input/output | |
SU1442997A1 (en) | Device for interfacing computer with subscriber via serial communication channel | |
WO2002056514A1 (en) | Synchronous protocol encoding and decoding method | |
SU1211740A1 (en) | Interface for linking using equipment with communication channel | |
SU1078421A2 (en) | Data exchange device | |
SU1149255A1 (en) | Device for control of multichannel measuring system | |
SU1334154A1 (en) | Device for interfacing computer with user | |
SU1113792A1 (en) | Interface for linking computer with alphanumeric video display units | |
SU1474664A2 (en) | Computer/communication channel interface | |
SU1193655A1 (en) | Serial code-to-parallel code converter | |
SU535585A1 (en) | Data transmission equipment | |
SU987828A1 (en) | Device for remote monitoring of intermediate communication system stations |