Claims (1)
Способ работы локальной сети, содержащей в рабочем состоянии одну переключающуюся ведущую станцию локальной сети (СЛС), множество переключающихся и непереключающихся ведомых СЛС и одну линию передачи информации или несколько дублированных с общим доступом и централизованным детерминированным управлением обменом сообщениями между допустимыми абонентами всех СЛС на основе разбиения сообщений на пакеты данных (ПД) и передачи ПД в информационных кадрах при реализации в сети информационного процесса с помощью составления, отправления в сеть и получения из сети и разборки управляющих, ответных и информационных кадров под управлением и контролем управляющей СЛС при отправлении каждого кадра информационного процесса после обнаружения паузы так, что в сеть отправляют или один из управляющих кадров от ведущей СЛС, или один из ответных кадров от соответствующей ведомой СЛС либо отправляют информационный кадр с разрешаемым словом контрольной суммы (СКС) от ведущей или соответствующей ведомой СЛС, при этом кадры составляют с помощью двух стартовых комбинаций, двухразрядного поля определителя, поля индивидуального адреса СЛС, поля команды управления, поля ПД, поля длины ПД для определения количества слов данных в поле ПД, контрольного бита, содержащегося в любом управляющем или ответном кадре и определяемом как дополнение числа всех предшествующих информационных единичных бит кадра до нечетного числа, и 16-разрядных слов данных, СКС и служебных слов, отличающийся тем, что способ осуществляют с помощью составления, отправления в сеть, получения из сети и разборки трех типов управляющих кадров, информационных кадров одного типа и трех типов ответных кадров, при этом в информационном процессе отправителей типов кадров и порядок их следования определяют с учетом состояния сети (рабочего или первого аномального состояния, возникающего при одновременном появлении в сети более одной переключающейся ведущей СЛС при переключении из-за сбоя хотя бы одной ведомой переключающейся СЛС в состояние ведущей, либо второго аномального состояния, определяемого отсутствием в сети ведущей СЛС при переключении из-за сбоя ведущей СЛС в состояние ведомой) и составлением кадров так, что первый управляющий кадр содержит первую стартовую комбинацию, поле определителя, поле индивидуального адреса СЛС, модификатор адресации, поле команды управления и бит контроля, второй управляющий кадр содержит первую стартовую комбинацию, поле определителя, поле индивидуального адреса СЛС, модификатор адресации, поле команды управления, отличающееся содержимым от содержимого поля команды управления первого управляющего кадра, служебное слово и бит контроля, третий управляющий кадр содержит первую стартовую комбинацию, поле определителя, поле индивидуального адреса получателя, определяющего индивидуальный адрес СЛС и адрес ее абонента получателя ПД, поле индивидуального адреса отправителя, определяющего индивидуальный адрес СЛС и адрес ее абонента отправителя ПД, поле длины ПД, определяющее в дополнительном коде без учета знакового разряда количество слов данных в ПД, модификатор адресации, единичное значение которого адресует получение ПД группой СЛС с одинаковыми адресами абонентов получателей ПД, адресованных частью поля индивидуального адреса получателя, и модификатор метода обмена, информационный кадр содержит вторую стартовую комбинацию, поле ПД и разрешаемое СКС, первый ответный кадр содержит первую стартовую комбинацию, поле определителя, слово состояния СЛС и бит контроля, второй ответный кадр содержит первую стартовую комбинацию, поле определителя, слово состояния СЛС, служебное слово и бит контроля, третий ответный кадр представляет собой первый, или второй, или третий управляющий кадр с инверсными значениями бит в поле определителя, код которого в первом или втором управляющем кадре равен «10», в третьем управляющем кадре равен «11», в первом или втором ответном кадре равен «01, а слово состояния СЛС, содержащееся в первом или втором ответном кадре, составляют в каждой СЛС так, что оно содержит поле адреса абонента отправителя для организации отправления в сеть ПД при готовности содержимого соответствующей части памяти СЛС для чтения, и признаки «Готовность памяти СЛС для чтения» при отправлении ПД от абонента, адрес которого содержится в поле адреса абонента отправителя, «Готовность СЛС», являющийся одновременно и признаком прямого доступа к памяти СЛС для записи при получении ПД из сети для абонентов получателей, адрес каждого из которых определяют в ведущей СЛС при составлении соответствующего третьего управляющего кадра, «Готовность буферизированной памяти СЛС для записи» при получении из сети ПД для абонентов получателей, адрес каждого из которых определяют в ведущей СЛС при составлении соответствующего третьего управляющего кадра, «Неисправность СЛС», «Ошибка в кадре» и «Тип станции», определяющий нулевым или единичным значением соответственно ведомую или ведущую СЛС, причем каждый третий управляющий кадр отправляют в сеть для инициализации отправления в сеть информационного кадра так, что в третьем управляющем кадре, для последующего отправления информационного кадра, полностью определены длина ПД - содержимым поля длины ПД, отправитель - содержимым поля индивидуального адреса отправителя, индивидуальный получатель - содержимым поля индивидуального адреса получателя, групповой получатель - содержимым абонентской части поля индивидуального адреса получателя при установленном модификаторе адресации, и разрешение отправления СКС при установленном модификаторе метода обмена, единичным значением которого далее разрешают отправление в сеть первого ответного кадра от индивидуально адресованной ведущей СЛС, получившей информационный кадр, кроме того, первый ответный кадр отправляют в сеть от индивидуально адресованной ведомой СЛС также в ответ на полученный первый управляющий кадр с соответствующим кодом команды управления или второй управляющий кадр, второй ответный кадр отправляют в сеть от индивидуально адресованной ведомой СЛС в ответ на полученный первый управляющий кадр с содержимым поля команды управления, определяющим передачу в сеть от индивидуально адресуемой ведомой СЛС второго ответного кадра с соответствующим служебным словом, третий ответный кадр отправляют в сеть от индивидуально адресованной ведомой СЛС в ответ на первый управляющий кадр с содержимым поля команды управления, определяющим команду «Передать последний управляющий кадр», при любом значении модификатора адресации первый или второй управляющий кадр отправляют в сеть к индивидуально адресованной ведомой СЛС для исполнения любой допустимой команды управления, при единичном значении модификатора адресации первый или второй управляющий кадр отправляют в сеть при групповой адресации для исполнения всеми СЛС только тех из команд управления, которые пригодны для группового исполнения, информационная длина первого управляющего или первого ответного кадра равна 16 бит, информационная длина второго управляющего или второго ответного кадра равна 32 бита, в каждом кадре поток информационных бит отправляют в сеть после стартовой комбинации младшим разрядом вперед, первую и вторую стартовые комбинации кодируют соответствующим образом без искажения, в информационном кадре СКС вычисляют сначала по потоку информационных бит третьего управляющего кадра, а затем и по потоку бит поля ПД самого информационного кадра, ведущую СЛС снабжают способностью обнаруживать первое аномальное состояние сети (одновременное появление в сети нескольких ведущих СЛС при сбое сети) путем обнаружения искажения отправляемых ею управляющих кадров или появления в сети управляющих кадров другой ведущей СЛС, а каждую переключающуюся ведомую СЛС снабжают способностью обнаруживать второе аномальное состояние сети (исчезновение из сети ведущей СЛС при сбое сети) за счет обнаружения длительности паузы, превышающей пороговую, при обнаружении первого или второго аномального состояния сети от ведущей или переключающейся ведомой СЛС методом случайного доступа отправляют в сеть первый управляющий кадр с командой «Установить сеть в исходное состояние», при достоверном получении этого кадра любую СЛС, кроме отправившей данный кадр, безусловно устанавливают в исходное состояние ведомой СЛС, а от любой индивидуально адресованной СЛС отправляют в сеть первый ответный кадр, в первом случае получение достоверного первого ответного кадра интерпретируют в ведущей СЛС как сообщение о переходе сети в рабочее состояние, а во втором случае состояние в переключающейся ведомой СЛС, от которой достоверно отправили в сеть первый управляющий кадр с командой «Установить сеть в исходное состояние», при получении достоверного первого ответного кадра устанавливают признак «Тип станции» и оставляют ее в сети в качестве единственной ведущей СЛС.The method of operation of a local network, which in working condition contains one switching master station of the local network (SLS), many switching and non-switching slave SLS and one data line or several duplicated ones with shared access and centralized deterministic control of the exchange of messages between valid subscribers of all SLS based on the partition messages to data packets (PD) and transmission of PD in information frames during the implementation of the information process in the network by compiling, sending to network and receiving and disassembling control, response and information frames under the control and control of the controlling SLS when sending each frame of the information process after detecting a pause so that either one of the control frames is sent from the leading SLS or one of the response frames from the corresponding slave SLS or send an information frame with a resolved checksum word (SCS) from the master or the corresponding slave SLS, while the frames are made using two starting combinations, two-bit Determinant field, SLS individual address fields, control command fields, PD fields, PD length fields for determining the number of data words in the PD field, the control bit contained in any control or response frame and defined as the addition of the number of all previous information unit bits of the frame to odd numbers, and 16-bit data words, SCS and service words, characterized in that the method is carried out by compiling, sending to the network, receiving from the network and disassembling three types of control frames, information a ditch of one type and three types of response frames, while in the information process senders of frame types and the order of their sequence are determined taking into account the state of the network (operating or first anomalous state that occurs when more than one switching master SLS appears at the same time during switching due to a failure at least one slave switching SLS to the master state, or a second abnormal state, determined by the absence of the master SLS in the network when switching due to a failure of the master SLS to the slave state) and the composition frames so that the first control frame contains the first start combination, the determinant field, the field of the individual address of the SLS, addressing modifier, the field of the control command and the control bit, the second control frame contains the first start combination, the field of the identifier, the field of the individual address of the SLS, addressing modifier, a control command field that differs from the contents of the control command field of the first control frame, a service word and a control bit, the third control frame contains a first start comb information, identifier field, field of the individual address of the receiver identifying the individual address of the SLS and the address of its subscriber of the recipient of the PD, field of individual address of the sender defining the individual address of the SLS and address of the subscriber of the sender of the PD, field of length of the PD, which determines the number in the additional code data words in the AP, an addressing modifier whose single value addresses the receipt of the AP by the SLS group with the same addresses of the subscribers of the recipients of the AP addressed to part of the individual field the recipient’s address, and the exchange method modifier, the information frame contains the second starting combination, the PD field and the allowed SCS, the first response frame contains the first starting combination, the determinant field, the SLS status word and the control bit, the second response frame contains the first starting combination, the determinant field, SLS status word, service word and control bit, the third response frame is the first, or second, or third control frame with inverse bit values in the determinant field, whose code is in the first or Tue The second control frame is “10”, in the third control frame is “11”, in the first or second response frame is “01, and the SLS status word contained in the first or second response frame is made up in each SLS so that it contains a field the sender’s subscriber’s address for organizing the dispatch to the PD network when the contents of the corresponding part of the SLS memory are ready for reading, and the signs “Readiness of the SLS memory for reading” when sending the PD from the subscriber whose address is in the sender’s subscriber address field, “SLS Readiness”, which are At the same time, there is a sign of direct access to the SLS memory for recording when receiving PD from the network for recipient subscribers, the address of each of which is determined in the leading SLS when compiling the corresponding third control frame, “Readiness of the buffered SLS memory for recording” when receiving PD for the subscribers recipients, the address of each of which is determined in the leading SLS when compiling the corresponding third control frame, “SLS failure”, “Error in the frame” and “Station type”, determining zero or single by the beginning, respectively, a slave or master SLS, and every third control frame is sent to the network to initiate sending an information frame to the network so that in the third control frame, for the subsequent sending of the information frame, the PD length is completely determined by the contents of the PD length field, the sender by the contents of the field individual address of the sender, individual recipient - by the contents of the field of the individual address of the recipient, group recipient - by the contents of the subscriber part of the field of the individual address of the receiver when the addressing modifier is installed, and allowing SCS sending with the installed modifier of the exchange method, the unit value of which is then allowed to send the first response frame to the network from the individually addressed master SLS that received the information frame, in addition, the first response frame is sent to the network from an individually addressed slave SLS is also in response to the received first control frame with the corresponding control command code or a second control frame, sending a second response frame They are sent to the network from an individually addressed slave SLS in response to the received first control frame with the contents of the control command field that determines the transmission of a second response frame with a corresponding service word to the network from an individually addressed slave SLS, the third response frame is sent to the network from an individually addressed slave SLS to response to the first control frame with the contents of the control command field defining the command "Send last control frame", for any value of the addressing modifier first or second the control frame is sent to the network to an individually addressed slave SLS for the execution of any valid control command, with a single value of the addressing modifier, the first or second control frame is sent to the network at multicast for execution by all SLS only of those control commands that are suitable for group execution, information the length of the first control or first response frame is 16 bits, the information length of the second control or second response frame is 32 bits, in each frame the current of information bits is sent to the network after the start combination with the least significant bit forward, the first and second start combinations are encoded accordingly without distortion, in the information frame of the SCS, it is calculated first by the stream of information bits of the third control frame, and then by the stream of bits of the PD field of the information frame itself, the leading SLS is equipped with the ability to detect the first abnormal state of the network (the simultaneous appearance of several leading SLS in the network when the network fails) by detecting distortion sent by it from ruling frames or the appearance of another leading SLS in the network of control frames, and each switching slave SLS is equipped with the ability to detect the second abnormal state of the network (disappearance from the network of the leading SLS when the network fails) by detecting a pause duration exceeding the threshold when the first or second abnormal state is detected Networks from the master or switching slave SLS using random access send the first control frame to the network with the command "Set the network to its original state", with reliable Upon receipt of this frame, any SLS other than the one sending the frame is unconditionally reset to the slave SLS, and the first response frame is sent to the network from any individually addressed SLS; in the first case, the receipt of a reliable first response frame is interpreted in the master SLS as a message about network transition to operating state, and in the second case, the state in the switching slave SLS, from which the first control frame with the command "Set the network to initial state" was reliably sent to the network when receiving The black first response frame sets the sign “Station Type” and leaves it on the network as the only leading SLS.