KR950001520B1 - Signalling terminal group bus communication protocol of message transfer part using common channel signalling no.7 - Google Patents

Signalling terminal group bus communication protocol of message transfer part using common channel signalling no.7 Download PDF

Info

Publication number
KR950001520B1
KR950001520B1 KR1019910026037A KR910026037A KR950001520B1 KR 950001520 B1 KR950001520 B1 KR 950001520B1 KR 1019910026037 A KR1019910026037 A KR 1019910026037A KR 910026037 A KR910026037 A KR 910026037A KR 950001520 B1 KR950001520 B1 KR 950001520B1
Authority
KR
South Korea
Prior art keywords
frame
data
transmission
procedure
request
Prior art date
Application number
KR1019910026037A
Other languages
Korean (ko)
Other versions
KR930015474A (en
Inventor
최길영
한운영
김원순
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 KR1019910026037A priority Critical patent/KR950001520B1/en
Publication of KR930015474A publication Critical patent/KR930015474A/en
Application granted granted Critical
Publication of KR950001520B1 publication Critical patent/KR950001520B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/0016Arrangements providing connection between exchanges
    • H04Q3/0025Provisions for signalling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/08Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13502Indexing scheme relating to selecting arrangements in general and for multiplex systems primitives - inc. service-independent building blocks [SIBBs]

Abstract

The protocol supports the efficiency and confidentiality of protocol between message processing board and signalling terminal board, and communicates with 16 slaves at the STG-bus. The protocol includes the afformative response (DATA-ACK), the non-acknowledge response (DATA-NAK), the data request (DATA-REQ), the data display (DATA-IND), the receiving state request (SEQ-REQ), the receiving state response (SEQ-REP), the procedure number initialization (RST-CMD), thd procedure number initialization response (SEQ-REP), the slave monitoring (ANS-PKT), and the primitive of the response (NSB-PKT).

Description

공통선 신호방식 메시지전달부의 신호단말 그룹버스 통신 프로토콜Signal line group bus communication protocol of common line signaling system

제1도는 본 발명에 적용되는 STG-버스 구성도.1 is an STG-bus configuration diagram applied to the present invention.

제2도는 본 발명에 적용되는 프로토콜 데이타 프레임 구성도.2 is a block diagram of a protocol data frame applied to the present invention.

제3도는 본 발명에 적용되는 프로토콜 프리미티브 구성도.3 is a schematic diagram of protocol primitives applied to the present invention.

제4도 내지 제14도는 본 발명의 동작을 설명하기 위한 흐름도.4 to 14 are flowcharts for explaining the operation of the present invention.

본 발명은 공통선 신호방식(CCS No.7) 메세지전달부(MTP : Message Transfer Part)의 레벨 3기능중 레벨 2 접속기능을 제공하기 위하여, 메세지처리보드(Message Handing Board : 이하 MHB)와 레벨 2기능을 담담하는 신호단말보드들 사이의 통신버스에 해당하는, 신호단말 그룹버스(STG-버스)에서 적용되는 통신 프로토콜(Protocol)에 관한 것이다.The present invention provides a message handling board (MHB) and a level in order to provide a level 2 connection function among the level 3 functions of a common line signaling method (CCS No. 7) message transfer part (MTP). The present invention relates to a communication protocol applied to a signal terminal group bus (STG bus), which corresponds to a communication bus between two signal terminal boards.

본 발명의 목적은 메세지처리보드와 신호단말보드(STB : Signalling Terminal Board)사이의 통신버스에 효율적이고 신뢰성 있는 고속의 통신을 위한 프로토콜을 제공하는데 있다.An object of the present invention is to provide a protocol for efficient and reliable high speed communication in a communication bus between a message processing board and a signaling terminal board (STB).

본 발명에 적용된 STG-버스 운용방식은 버스 효율을 높이기 위해 하드웨어에 의한 라운드로빈(round robin)방식의 중재(arbitration)을 적용하면 메스터는 슬레이브로의 데이타 전송을 향상할 수 있지만 슬레이브는 자기순서가 되었을 때만 메스터로의 데이타 전송이 가능한 방식을 채택하고 있으므로 메스터와 슬레이브간 전송기회가 불균형을 이루어, 송수신 데이타의 오류제어 및 복구를 위한 프로토콜 적용시 다소 어려움이 있다.In the STG-bus operation scheme applied to the present invention, if a round robin arbitration is applied to improve bus efficiency, the master can improve data transmission to the slave, but the slave has a self-order. In this case, it is possible to transmit data to the master only when the data is transmitted. Therefore, the transmission opportunity between the master and the slave is imbalanced, which makes it difficult to apply a protocol for error control and recovery of the transmitted / received data.

본 발명은 상기 목적을 달성하고 오류제어 및 복구 프로토콜 적용시 나타나는 문제점을 해결하기 위해 다음과 같은 프로토콜을 적용한다.The present invention applies the following protocol to achieve the above object and to solve the problems appearing when applying the error control and recovery protocol.

본 발명에서는 오류제어 및 복구를 위해 송수신순서번호를 적용하고, 송신순서번호는 데이타 프레임의 경우만 적용한다(DATA-REQ, DATE-IND). 메스터에서 슬레이브로의 데이타 송신시 슬레이브에서 데이타가 잘 수신되었는지의 응답이 ACK, NAK없이 계속해서 보낼 수 있는 윈도우 메카니즘을 적용한다. 즉, 윈도우 크기는 메스터의 경우 재전송버퍼수가 되며, 슬레이브는 1이다. 슬레이브에서 메스터로의 송신할 데이타나 수신오류응답인 NAK의 송신도 전혀없이 일정 갯수의 데이타를 메스터로부터 수신되면 슬레이브는 자신의 수신상태인 수신순서번호를 포함한 ACK를 메스터로 보낸다. 메스터는 슬레이브로부터 수신되는 데이타에 대해서는 슬레이브의 윈도우 크기는 1이므로 항상 수신 응답을 보낸다. 그러나 수신 응답의 횟수를 줄이기 위해 슬레이브나 메스터는 전송되는 데이타나 ACK, NAK 프레임에 다음에 수신할 데이타 프레임 번호인 수신순서번호를 항상 포함하여 보낸다. 즉, ACK를 전송할 시점에 송신할 데이타가 있는 경우는 송신 데이타의 수신순서번호에 자국의 수신상태를 알림으로써 ACK 프레임을 대신할 수 있다. 메스터에 적용된 윈도우 크기는 STG-버스의 속도, 슬레이브의 에러검출시간, 현재 이용가능한 슬레이브의 수, 메스터의 재전송버퍼의 수 등을 고려하여 정한다.In the present invention, a transmission / reception sequence number is applied for error control and recovery, and the transmission sequence number is applied only to a data frame (DATA-REQ, DATE-IND). When sending data from the master to the slave, a window mechanism can be used to continuously send a response without acknowledgment or NAK. In other words, the window size is the number of retransmission buffers in the case of the master, and the slave is 1. When a certain number of data is received from the master without transmitting data from the slave to the master or NAK, which is a reception error response, the slave sends an ACK including the receiving sequence number in its reception state to the master. The master always sends a reception response for the data received from the slave since the slave window size is 1. However, in order to reduce the number of reception responses, the slave or the master always includes the reception sequence number, which is the next data frame number, in the transmitted data, ACK or NAK frame. That is, when there is data to be transmitted at the time of transmitting the ACK, the ACK frame can be replaced by notifying the reception status of the own station in the reception sequence number of the transmission data. The window size applied to the master is determined in consideration of the speed of the STG bus, the error detection time of the slave, the number of slaves currently available, and the number of retransmission buffers of the master.

이하, 첨부한 도면을 참조하여 본 발명의 실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention;

우선 제1도를 통하여 본 발명이 적용되는 STG-버스 구조를 살펴보면 다음과 같다.First, the STG bus structure to which the present invention is applied through FIG. 1 will be described.

STG-버스는 1MPbs 전이중 통신을 제공하며, 하드웨어에 의한 라운드로빈 방식의 중재를 적용한다. STG-버스는 최대 16개의 신호단말을 수용할 수 있는 직렬버스로서 5가지 신호 즉, 송신데이타버스(STXD), 수신데이타버스(SRXD), 송수신클럭(SCLK), 버스점유신호(SAST), 송신동기신호(SFRS)의 신호로 구성되며, 버스의 메스터인 메세지처리보드가 클럭과 동기신호를 슬레이브인 신호단말로 공급한다. 데이타버스는 전이중 통신을 위해 송수신이 분리되어 있다. STG-버스에서는 메스터의 송신능력을 높이기 위해 메스터는 중재에 포함시키지 않고, 슬레이브만 중재에 포함시켜 구성된다. 따라서 메스터에서 슬레이브로의 데이타는 항상 전송가능하며 슬레이브에서 메스터로의 전송에서는 자기 순서가 되었을 때 데이타를 전송한다.The STG-Bus provides 1 MPbs full-duplex communication and employs round-robin arbitration by hardware. The STG bus is a serial bus that can accommodate up to 16 signal terminals. It has five signals: transmit data bus (STXD), receive data bus (SRXD), transmit and receive clock (SCLK), bus occupancy signal (SAST) and transmit. It consists of a signal of the synchronization signal SFRS, and a message processing board which is a master of the bus supplies a clock and a synchronization signal to a signal terminal which is a slave. The data bus has separate transmission and reception for full duplex communication. In STG-bus, in order to increase the transmission capacity of the master, the master is configured not to include the master in arbitration, but only to the slave. Therefore, the data from the master to the slave can always be transmitted. In the slave to the master, the data is transferred when it is in its own order.

제2도는 STG-버스 프로토콜에서 사용되는 데이타 프레임(frame) 구성도로서, 도면에서 21과 29는 플랙(flag)으로 프레임의 처음과 마지막을 나타내며 송·수신간의 프레임 동기를 취하기 위한 신호로 사용된다. 수신측은 이 플랙의 검출로 프레임의 개시와 종료를 식별한다.2 is a data frame diagram used in the STG-bus protocol. In the drawing, 21 and 29 are flags indicating the beginning and end of a frame and used as a signal for frame synchronization between a transmitter and a receiver. . The receiving side identifies the start and end of the frame by detecting this flag.

22는 수신어드레스부이며, 프레임 구성시 프레임을 받는 상대측 어드레스를 부여한다.Reference numeral 22 denotes a reception address unit, which assigns an address of a counterpart that receives a frame when the frame is constructed.

버스에 접속된 모든 프로세서는 고유의 자기 어드레스를 가지고 있으며, 어드레스를 이용하여 지점 대 다지점(multipoint) 접속이 가능하다. 어드레스 "11111111"는 공통(global) 어드레스이며 모든국(신호단말)이 동시에 받을 수 있는 프레임 구성시에 사용한다. 수신 어드레스부 다음에 구성된 23은 프레임의 프리미티브(COMTY)로 프레임의 종류를 구별하는데 사용된다. 프리미티브 다음에 구성된 24는 송신 어드레스부로 프레임 송신측을 판단하기 위한 구분자로 사용된다. 송신 어드레스 다음에 구성된 25는 프레임의 송신순서 번호(N.(S))를 나타내며, 송신측에서는 송신할 정보 프레임의 순서번호를 송신순서번호 바이트에 써넣어 보낸다. 26은 프레임의 수신순서번호를 나타내며, N(R)의 송신은 N(R)-1까지의 프레임은 정상적으로 수신되었음을 의미한다. 프레임 포맷내에 순서번호 N(S)와 N(R)은 독립한 별개의 것이다.Every processor connected to the bus has its own unique address, which allows point-to-multipoint connections. The address # 11111111 is a global address and is used for frame construction that all stations (signal terminals) can receive at the same time. 23 constituted after the receiving address section is used to distinguish the type of frame by the frame primitive COMTY. The 24 constructed after the primitive is used as a delimiter for determining the frame transmitting side with the transmission address section. The 25 configured next to the transmission address indicates the transmission sequence number (N. (S)) of the frame, and the transmission side writes the sequence number of the information frame to be transmitted in the transmission sequence number byte. 26 indicates a receiving sequence number of the frame, and transmission of N (R) means that a frame up to N (R) -1 is normally received. The sequence numbers N (S) and N (R) in the frame format are independent of one another.

본 발명에서 적용되는 순서번호는 0부터 255까지의 256개의 순환번호로서 사용하며, 255 다음은 0으로 되돌아간다. 순서번호는 프리미티브가 DATA-REQ, DATA-IND인 데이타 프레임에만 송신순서번호 N(S)가 유효하게 적용된다.The sequence number applied in the present invention is used as 256 cycle numbers from 0 to 255, and after 255, the sequence returns to zero. For the sequence number, the transmission sequence number N (S) is effectively applied only to data frames having primitives DATA-REQ and DATA-IND.

수신순서번호 다음에 구성되는 정보부(Infornation Field)(27)는 송신할 데이타 내용이 들어간다. 데이타의 내용은 어떤 비트 패튼(bit pattern)이라도 관계없으며, 프로토콜 제어만으로 사용되는 프레임 등은 정보부를 갖지 않는다. 정보부 다음에 구성된 프레임 오류검출부(GRC)(28)는 2바이트로 구성되며, 수신국이 수신된 프레임에 대해서 오류를 검출하기 위한 것으로 오류가 검출한 프레임은 폐기한다.An information field 27 formed after the reception sequence number contains the data contents to be transmitted. The content of the data is not related to any bit pattern, and a frame or the like used only by protocol control has no information. The frame error detection unit (GRC) 28 formed after the information unit is composed of two bytes, and the frame for which the error has been detected is discarded because the receiving station detects an error for the received frame.

이상 제2도에서 본 발명에 적용된 프로토콜의 프레임 구조를 설명하였다.In FIG. 2, the frame structure of the protocol applied to the present invention has been described.

다음으로 제3도에서는 제2도에 설명한 프레임 구성요소중 프레임의 종류를 나타내는 각 프리미티브(COMTY) 대한 기능을 설명한다. 본 발명에서 사용되는 프리미티브의 종류는 11개로 구성되며, 수신측은 프리미티브의 값으로 프리미티브의 종류를 구분한다. 송신데이타요구(DATA-REQ)는 메스터에서 슬레이브로의 데이타송신을 나타내는 프리미티브이며, 송신데이타표시(DATA-IND)는 슬레이브에서 메스터로의 데이타송신을 나타내는 프리미티브이다. DATA-REQ 와 DATA-IND 프레임의 송신 및 수신순서번호를 반드시 채워서 보내야 한다.Next, FIG. 3 illustrates the function of each primitive COMTY indicating the type of frame among the frame elements described in FIG. There are 11 types of primitives used in the present invention, and the receiving side distinguishes the types of primitives by the value of the primitive. The transmission data request (DATA-REQ) is a primitive indicating data transmission from the master to the slave, and the transmission data indication (DATA-IND) is a primitive indicating data transmission from the slave to the master. The send and receive sequence numbers of DATA-REQ and DATA-IND frames must be filled in.

수신 데이타 긍정응답(DATA-ACK)은 데이타 수신시 수신 프레임이 올바르고 다음 프레임을 수신할 준비가 되었을때 긍정응답으로 송신측으로 보낼때 사용하는 프리미티브이다. 긍정응답일 경우는 다음에 수신할 프레임 수신번호를 프레임 포맷의 N(R)에 써넣어 보낸다. 그런데 긍정응답의 방법이 메스터와 슬레이브가 약간 다르다, 즉 메스터가 슬레이브로 부터의 데이타(DATA-IND)를 수신하는 경우는 수신 프레임마다 긍정응답을 해야하며, 슬레이브의 송신기회는 자기순서일때만 가능하므로 슬레이브가 메스터로 부터의 데이타(DATA-REQ)를 수신하는 경우는 일정 갯수의 데이타 프레임을 수신하였을 경우만 슬레이브측의 수신상태를 메스터로 알리기 위해 전송한다.Receive data acknowledgment (DATA-ACK) is a primitive that is used to send a positive acknowledgment to the sender when the received frame is correct and ready to receive the next frame. In the case of an acknowledgment, the frame reception number to be received next is written in N (R) of the frame format. However, the method of acknowledgment is slightly different between the master and the slave, i.e., when the master receives the data (DATA-IND) from the slave, the acknowledgment should be acknowledged for each received frame. Since only the slave receives data from the master, it only transmits to the master when the slave receives a certain number of data frames.

수신 데이타 부정응답(DATA-NAK)은 프레임송신시 수신측에서 N(S) 순서오류를 검출하면 보내는 프리미티브로 메스터와 슬레이브가 동일목적으로 사용한다. 부정응답시 NAK 프레임을 송신하며, NAK 프레임의 N(R)로 표시되는 정보 프레임의 재전송을 요구할 수 있다. 이때 송신측은 N(R)에서 지정한 정보 프레임부터 재전송한다.Received data negative response (DATA-NAK) is a primitive sent when the receiver detects an N (S) sequence error during frame transmission and is used by the master and slave for the same purpose. In response to a negative response, a NAK frame is transmitted, and a retransmission of an information frame indicated by N (R) of the NAK frame can be requested. At this time, the transmitting side retransmits the information frame designated by N (R).

시이퀸스 초기화명령(RST-CND)은 메스터나 슬레이브가 송·수신번호의 자체 관리를 위해 송신상태변수(V(S)와 수신상태변수(V(R))를 특정번호로 초기화를 요구하는 프리미티브이며 응답(RST-REP)은 이에 대한 응답을 보내는 프레임이다.The sequence initialization command (RST-CND) requires the master or slave to initialize the transmission status variables (V (S) and reception status variables (V (R)) to a specific number for self-management of the transmission and reception numbers. It is a primitive and the response (RST-REP) is the frame that sends the response.

수신상태 요구(SEQ-REQ)및 응답(SEQ-REP)은 슬레이브로부터 수신순서번호 N(R)을 수신하지 못하여 메스터의 제전송버퍼를 갱신하지 못한 경우 재전송버퍼의 관리를 위해 슬레이브에게 슬레이브측 N(R)를 요구하는 프리미티브(SEQ-REQ)이며, 슬레이브는 SEQ-REP로 응답한다. 만일 응답이 없는 경우는 비정상 슬레이브 그룹으로 처리한다. ANS-PKT은 메스터가 슬레이브에 대하나 주기적인 점검을 위한 프리미티브이며, ANSB-PKT은 그 응답을 나타내는 프리미티브로 3번 이상 무응답인 슬레이브는 비정상 슬레이브 그룹으로 처리한다.The reception status request (SEQ-REQ) and the response (SEQ-REP) fail to receive the receiving sequence number N (R) from the slave, and if the master transmission buffer is not updated, the slave side is sent to the slave for management of the retransmission buffer. It is a primitive (SEQ-REQ) that requires N (R), and the slave responds with SEQ-REP. If there is no response, it is treated as an abnormal slave group. The ANS-PKT is a primitive for periodic checks by the master, but the ANSB-PKT is a primitive indicating the response, and a slave that has not responded more than three times is treated as an abnormal slave group.

루프 패킷(LPBK-PKT)은 STG-버스의 자체 루프 시험에 사용될 프레임을 나타내는 프리미티브이다.The loop packet (LPBK-PKT) is a primitive indicating the frame to be used for the self loop test of the STG-bus.

이상상태의 통지 및 회복을 위해 메스터나 슬레이브가 수신버퍼의 부족등 내부적인 제약에 의해 일시적으로 정보 프레임을 받아들일 수 없게된 상태가 발생하면 프레임 포맷내의 COMTY바이트의 특정 1비트(F비트)를 세트("1")하여 상대측에 수신불능 상태를 알리며, 재송신(수신 가능상태)을 요구하기 위해 COMTY바이트의 F비트를 리세트 ("0")한다. F비트가 1인 프레임 수신측은 가능한 빨리 정보 프레임으로 송신을 정지해야 한다.When one or more bits of the COMTY byte in the frame format occur when there is a situation in which the master or slave cannot temporarily receive the information frame due to internal constraints such as insufficient reception buffer for notification and recovery of an abnormal condition. Set (# 1) to notify the other side of the unacceptable status, and reset the F bit of the COMTY byte (# 0) to request retransmission (receive enabled). The frame receiving side with an F bit of 1 should stop transmitting in the information frame as soon as possible.

이상에서 본 발명에서 사용되는 프레임 구조와 프리미티브들을 설명하였고 다음은 본 발명에 프로토콜 제어절차를 수행하는데 필요한 송신상태변수(V(S))와 수신상태변수(V(R))에 대해서 설명한다. 메스터와 슬레이브는 송수신순서번호의 자체관리를 위해 송신상태변수 V(S)와 수신상태변수 V(R)를 갖는다. V(S)는 메세지의 N(S)의 결정에 사용하는 변수로서, 다음에 송출할 프레임 N(S)를 나타내다. 송신측은 프레임을 송출할 때마다 V(S)에 1를 가산한다. 수신측은 수신데이타 프레임의 N(S)가 순서번호의 자체관리변수인 V(R)에 동등한 프레임을 정상으로 취하면, V(R)에 1을 가산한다. V(R)은 송신순서번호의 오류판단에 사용한다. 정보 프레임을 송신할 때 V(S)와 V(R)의 값을 제어부의 N(S)와 N(R)에 써넣는다. V(S)와 V(R)은 초기 링크 설정시 0으로 초기화한다. 16개의 슬레이브와 연결되어 있는 메스터는 16개의 V(S)와 V(R)을 갖는다.The frame structure and primitives used in the present invention have been described above, and the following describes the transmission state variable V (S) and the reception state variable V (R) required for performing the protocol control procedure. The master and the slave have a transmission state variable V (S) and a reception state variable V (R) for self management of the transmission / reception sequence numbers. V (S) is a variable used to determine the N (S) of the message and indicates the frame N (S) to be sent next. The transmitter adds 1 to V (S) every time a frame is sent. The receiving side adds 1 to V (R) when N (S) of the received data frame normally takes a frame equal to V (R) which is a self-managed variable of the sequence number. V (R) is used for error determination of the transmission sequence number. When transmitting an information frame, the values of V (S) and V (R) are written into N (S) and N (R) of the control unit. V (S) and V (R) are initialized to zero during initial link setup. A master connected to 16 slaves has 16 V (S) and V (R).

다음에 본 발명의 실시예의 동작을 설명한다.Next, the operation of the embodiment of the present invention will be described.

제4도에서 제14도 까지는 프로토콜 제어절차를 설명하기 위한 흐름도를 나타내다. 먼저, 프리미티브가 긍정응답(DATA-ACK)인 프레임을 수신하는 경우를 제4도의 흐름도를 참조하여 설명한다. 먼저 수신 프레임의 수신순서번호 N(R)이 재전송버퍼에 저장되어 있는 순서번호인지를 검사하고(40), 유효여부를 판단하여(41), 검사결과가 유효할 경우만 재전송버퍼 갱신 절차를 수행한 후(42), 절차를 종료한다. 재전송버퍼 갱신절차에서는 N(R)-1까지의 송신데이타가 수신측에서 정상적으로 수신되었다는 의미이므로 재전송버퍼의 프레임 포인터와 수신확인하여야 할 버퍼수를 갱신하는 절차이다. 만일 N(R)이 유효하지 않을 경우는 송신상태변수 및 송신버퍼, 카운터의 초기화를 수행하고(43), 프리미티브중 RST-CMD를 사용하여 현재 송신상태변수를 N(S)로 넣어 상대측으로 송출하기 위한 요구 설정을 하고(44), ACK 수신시의 절차를 종료한다.4 to 14 show a flow chart for explaining the protocol control procedure. First, a case of receiving a frame whose primitive is an acknowledgment (DATA-ACK) will be described with reference to the flowchart of FIG. First, it checks whether the received sequence number N (R) of the received frame is the sequence number stored in the retransmission buffer (40), and determines whether it is valid (41), and performs the retransmission buffer update procedure only when the inspection result is valid. After that (42), the procedure ends. In the retransmission buffer update procedure, the transmission data up to N (R) -1 is normally received at the receiving end. Therefore, the frame pointer of the retransmission buffer and the number of buffers to be acknowledged are updated. If N (R) is not valid, initialize the transmission status variable, transmission buffer and counter (43), and send the current transmission status variable to N (S) using RST-CMD among primitives and send it to the other side. A request is set for the request (44), and the procedure upon receiving the ACK is terminated.

제5도의 흐름도를 참조해서 부정응답(DATA-ACK)인 경우를 설명한다. 부정응답은 상대측의 수신오류로 인한 재전송 요구 신호로서 처리절차는 긍정응답인 경우의 처리절차와 동일하며(40∼44), 차이점은 프레임의 수신순서번호 N(R)이 유효할 경우(51), 재전송버퍼, 송신버퍼 및 송신상태변수를 수신순서번호 N(R)에 따라서 갱신하는 절차만 추가된다(52, 53). 즉 송신버퍼는 N(R)이 가르키는 버퍼 포인터로 송신상태 변수는 N(R)로 갱신된다(53). 즉 다음에 보내는 데이타 프레임(DATA-REQ, DATA-IND)의 송신은 N(R)에 해당하는 데이타 프레임부터 전송되어야 한다.A case of a negative response (DATA-ACK) will be described with reference to the flowchart of FIG. The negative acknowledgment is a retransmission request signal due to the reception error of the other party. The processing procedure is the same as the processing procedure in the case of a positive acknowledgment (40 to 44), and the difference is when the receiving sequence number N (R) of the frame is valid (51). Only the procedures for updating the retransmission buffer, the transmission buffer and the transmission status variable according to the reception sequence number N (R) are added (52, 53). That is, the transmission buffer is a buffer pointer indicated by N (R), and the transmission state variable is updated to N (R) (53). That is, the transmission of the next data frame (DATA-REQ, DATA-IND) should be transmitted from the data frame corresponding to N (R).

제6도의 흐름도를 참조해서 프리미티브가 DATA-REQ나 DATA-IND인 데이타 프렘임을 수신하는 경우를 설명한다. 먼저 수신된 프레임의 송신순서번호 N(S)의 순서오류 검사를 한다(60). N(S)의 오류검사는 정보 프레임 수신측이 수신한 정보 프레임의 송신순서번호 N(S)가 수신측이 보유하고 있는 수신상태 변수V(R)과 같은가를 검사한다(61). 정상적으로 전송되었다면 두가지 값은 일치한다. 만일 같지 않다면 N(S)의 순서오류이다. 정보 프레을 정상적으로 수신한 경우는 자국의 수신상태변수 V(R)에 1을 가산하고(62), 데이타 프레임 수신에 대한 DATA-ACK 프레임을 상대측으로 보내야 하며 이를 위해 ACK 송출요구를 결정한다(63). N(S)순서오류가 있을 때는 V(R)값은 갱신하지 않으며, 해당 프레임은 폐기하며(65), 이때 NAK 프레임의 N(R)바이트에 다음에 수신할 수신순서번호를 넣어서 송출한다(66). ACK 프레임 송출은 슬레이브와 메스터가 버스의 특성상 약간의 차이가 있으며 메스터는 항상 슬레이브측으로 매 데이타 프레임(DATA-IND) 수신마다 ACK를 송출해야 하며, 슬레이브측은 메스터로의 송신한 데이타나 수신오류인 NAK도 전혀없이 일정 갯수이상 데이타 프레임(DATA-REQ)을 메스터로부터 수신하였을 경우 ACK 송출하여야 한다. 그러나 ACK 프레임 송출횟수를 줄이기 위하여 송신할 데이타 프레임이 있는 경우는 송출하지 않아도 된다. ACK 송출요구설정이 완료되면, 재전송버퍼를 갱신하기 위해수신된 N(R)을 사용하여 ACK 수신시와 동일한 절차(40∼44)로 재전송버퍼의 갱신절차를 수행하고(64) 해당 처리절차를 종료한다.Referring to the flowchart of FIG. 6, the case where the primitive receives a data premise of DATA-REQ or DATA-IND will be described. First, a sequence error check of the transmission sequence number N (S) of the received frame is performed (60). The error check of N (S) checks whether the transmission sequence number N (S) of the information frame received by the information frame receiving side is equal to the reception state variable V (R) held by the receiving side (61). If sent normally, the two values match. If it is not the same, then N (S) is a sequence error. When the information frame is normally received, 1 is added to the reception state variable V (R) of the host (62), and a DATA-ACK frame for receiving the data frame should be sent to the counterpart, and an ACK transmission request is determined for this purpose (63). . If there is an N (S) sequence error, the V (R) value is not updated, and the corresponding frame is discarded (65). At this time, the N (R) byte of the NAK frame is sent with the next receiving sequence number to be received. 66). ACK frame transmission has a slight difference between the characteristics of the bus between the slave and the master, and the master should always send an ACK to every slave in the data frame (DATA-IND) .The slave side transmits data or received error to the master. ACK should be sent when a certain number of data frames (DATA-REQ) are received from the master without any NAK. However, if there is a data frame to be transmitted in order to reduce the number of ACK frame transmission, it is not necessary to transmit. When the ACK sending request setting is completed, using the received N (R) to update the retransmission buffer, perform the update procedure of the retransmission buffer using the same procedure (40 to 44) as when receiving the ACK (64). Quit.

제7도의 흐름도를 참조해서 프리미티브가 송수신순서번호 초기화 응답(SEQ-REP)를 프리미티브로 하는 프레임을 수신한 경우를 설명한다. SEQ-REP 프레임이 수신되면, 송·수신상태변수의 초기화 절차를 행하고(70), 송신버퍼, 카운터의 초기화를 수행하고(71), 해당 처리절차를 종료한다.A case in which the primitive receives a frame whose primitive is the transmission / reception sequence number initialization response (SEQ-REP) will be described with reference to the flowchart of FIG. When the SEQ-REP frame is received, the initialization procedure of the transmission / reception state variable is performed (70), the initialization of the transmission buffer and counter (71) is completed, and the processing procedure is terminated.

제8도의 흐름도를 참조해서 프리미티브가 주기적인 앤서 시험에서의 응답(ANSB-PKT)을 프리미티브로 하는 프레임을 수신한 경우는 비정상상태처리를 위해 앤서백 응답 플랙을 세트시키고(80), 무응답 횟수를 0로 리세트절차를 행한후(81), 처리절차를 종료한다. ANSB-PKT의 수신은 메스터에만 국한된다.Referring to the flowchart of FIG. 8, when the primitive receives a frame whose primitive response (ANSB-PKT) is a periodic answer test (ANSB-PKT), an answerback response flag is set (80) for anomalous state processing, and the number of non-responses is set. After the reset procedure is zero (81), the processing procedure ends. The reception of ANSB-PKT is limited to the master.

제9도의 흐름도를 참조해서 프리미티브가 슬레이브의 주기적인 점검(ANS-PKT) 프리미티브로 구성된 프레임을 수신한 경우는 수신 프fh세서가 정상동작 상태임을 메스터로 알리기 위하여 점검응답(ANSB-PKT)의 프레임을 구성하여(90), 메스터로 송출해야 한다(91). ANS-PKT의 수신은 슬레이브만 해당된다.Referring to the flowchart of FIG. 9, when the primitive receives a frame composed of the periodic check of the slave (ANS-PKT) primitive, the check response (ANSB-PKT) of the check response to inform the master that the receiving processor is in a normal operation state. A frame must be constructed (90) and sent to the master (91). Receive ANS-PKT is for slave only.

제3도에서 지금까지는 1개의 데이타를 정상적으로 수신하였을 경우의 프리미티브별 처리절차를 설명하였고, 제10도는 데이타 수신시 전기적인 에러 등으로 인한 수신오류가 발생하면 수신된 데이타는 폐기시키고(100) 수신시의 절차를 종료한다.In FIG. 3, the processing procedure for each primitive when a single data is normally received has been described. In FIG. 10, when a reception error occurs due to an electrical error when receiving data, the received data is discarded (100). Terminate the procedure of the city.

제11도의 흐름도를 참조해서 DATA-REQ, DATA-IND을 프리미티브로 하는 데이타 송신요구가 있는 경우 먼저 버스가 송신가능상태이면, 정해진 데이타 포맷에 따라 송신할 프레임을 구성하고(110), 재전송버퍼 및 송신버퍼의 갱신절차를 수행한다(111, 112). 다음은 송신상태변수인 V(S) 및 송신버퍼수, 재전송버퍼수에 1을 가산하고, 버퍼포인터를 한프레임 만큼 갱신한 후(113), 데이타 프레임의 송출명령을 수행하고 절차를 종료한다. 메스터에서 슬레이브로 데이타송신시 ACK, NAK없이 전송가능한 프레임수인 윈도우 크기가 1보다 크므로 수신확인을 받지 않고 연속적으로 송신할 수 있는 프레임의 최대값은 "윈도우 크기-1"이다. 즉 마지막으로 수신한 정보 프레임의 N(R)에 "윈도우 크기-1"을 더한값과 같은 N(S)는 송신준비가 되어 있어도 송신할 수 없다. 윈도우 크기는 시스팀의 능력에 의해 제한된다. 역으로 슬레이브에서 메스터로의 경우는 윈도우 크기가 1임으로 프레임을 연속적으로 송신할 수 없고, 메스터로 부터의 어떤 형태든 수신응답을 확인후 다음 프레임을 송신할 수 있다.Referring to the flowchart of FIG. 11, if there is a data transmission request with a DATA-REQ and DATA-IND primitive, first, if the bus is in a transmittable state, a frame to be transmitted is configured according to a predetermined data format (110), and a retransmission buffer and The update procedure of the transmission buffer is performed (111, 112). Next, 1 is added to the transmission state variable V (S), the number of transmission buffers, and the number of retransmission buffers, and the buffer pointer is updated by one frame (113). Then, the data frame transmission command is executed and the procedure is terminated. When sending data from the master to the slave, the maximum frame size that can be transmitted continuously without acknowledgment is 크기 window size-1 "because the window size, which is the number of frames that can be transmitted without ACK and NAK, is greater than 1. In other words, N (S) equal to N (R) of the last received information frame plus “window size-1” cannot be transmitted even if ready for transmission. The window size is limited by the system's capabilities. On the contrary, in case of slave to master, the window size is 1, so the frame cannot be continuously transmitted, and the next frame can be transmitted after confirming the reception response from the master.

제12도는 DATA-ACK 프레임 송출요구시 수행절차의 흐름도이며, 송출요구를 받으면 먼저 상대측으로 보낼 데이타 프레임이 있는가를 확인하여(120), 데이타가 있는 경우는 DATA-ACK 전송요구를 해제하고(124) 처리절차를 종료한다. 그러나 전송할 데이타가 없는 경우는 자국의 수신상태변수를 ACK 프레임의 N(R)바이트에 넣어 프레임을 구성하고(121), ACK 송출요구를 해제한 후(122), ACK 프레임을 상대측으로 송출하기 위한 명령을 수행하고(123) 절차를 종료한다.FIG. 12 is a flowchart of a procedure of performing a data-ACK frame transmission request. Upon receiving the transmission request, first, it is checked whether there is a data frame to be sent to the other party (120), and if there is data, releases the data-ACK transmission request (124). The process ends. However, if there is no data to be transmitted, a frame is formed by putting the reception state variable of the local station into the N (R) bytes of the ACK frame (121), and after releasing the ACK transmission request (122), for transmitting the ACK frame to the counterpart Perform the command (123) and terminate the procedure.

제13도는 DATA-NAK 프레임 송출요구시 수행절차의 흐름도이며, 송출요구를 받으면 재전송요구를 위해서 자국의 수신상태변수를 NAK 프레임의 N(R)바이트에 넣어 프레임을 구성하고(130), NAK송출요구를 해제한 후(131), NAK 프레임을 상대측으로 송출하기 위한 명령을 수행하고(132) 절차를 종료한다.Figure 13 is a flow chart of the execution procedure when sending a DATA-NAK frame.When receiving a sending request, the receiving state variable of the local station is put in N (R) bytes of the NAK frame for retransmission request (130), and the NAK sending is performed. After releasing the request (131), a command for transmitting the NAK frame to the counterpart is performed (132), and the procedure ends.

제14도는 SEQ-RST 프레임 송출요구시 수행절차의 흐름도이며, 송출요구를 받으면 순서번호의 초기화를 위해 자국의 송신상태변수를 프레임의 N(S)바이트에 넣어 프레임을 구성하고(140), 프레임 송출요구를 해제한 후(141), 프레임을 상대측으로 송출하기 위한 명령을 수행하고(142) 절차를 종료한다.FIG. 14 is a flow chart of the procedure of SEQ-RST frame transmission request.When receiving the transmission request, the frame is composed by putting the transmission status variable of its own station in the N (S) byte of the frame to initialize the sequence number (140). After releasing the request for transmission (141), a command for transmitting the frame to the other party is performed (142) and the procedure ends.

이상에서 설명한 데이타의 송출요구시 DATA-REQ, DATA-IND인 데이타 프레임 송신요구만 송신순서번호를 적용하며, 자국의 수신상태를 상대국에 알리기 위하여 수신순서번호 N(R)에 자국의 수신상태변수 V(R)값을 넣어서 송출한다. DATA-REQ, DATA-IND 이외의 프로토콜 제어를 위해 사용되는 데이타 프레임의 송출방법은 상기와 동일하며, 차이점은 송신순서번호의 적용, 송신버퍼의 갱신절차가 수행되지 않는다는 것이다. 그밖에 슬레이브측의 오류복구를 위해 슬레이브의 윈도우 크기가 1이므로 데이타 송신을 하는 경우 수신측으로부터 반드시 수신응답을 확인한 후 다음 데이타를 송출할 수 있다. 이는 수신응답의 오류가 발생하는 경우 다음 데이타 전송에 영향을 주므로 이를 해결하기 위해서 슬레이브는 메스터로 정보 프레임을 송신한 후 메스터로 부터의 수신확인(ACK)을 위한 타이머(timer)를 동작(start)시키고, 일정시간이 경과해도 응답이 없는 경우 타임아웃(time out)에 의해 회복동작을 개시한다.When sending the data described above, only the data frame transmission request such as DATA-REQ and DATA-IND applies the transmission sequence number, and in order to inform the other station of the reception status of the local station, the reception status variable of the own station in the reception sequence number N (R). Send with V (R) value. The transmission method of the data frame used for protocol control other than DATA-REQ and DATA-IND is the same as above. The difference is that the application of the transmission sequence number and the update procedure of the transmission buffer are not performed. In addition, since the slave window size is 1 for error recovery on the slave side, the next data can be sent after confirming the reception response from the receiving side. In order to solve this problem, the slave sends an information frame to the master, and then operates a timer for acknowledgment from the master. start) and recovery operation is started by timeout if there is no response even after a predetermined time elapses.

상기와 같이 구성되어 동작하는 본 발명은 다음과 같은 효과가 있다.The present invention configured and operated as described above has the following effects.

본 발명에서는 버스의 하드웨어 구조상 송신 및 수신이 분리되어 있으며, 하나의 메스터에 16개의 슬레이브가 연결되어 지점 대 다지점 통신이 이루어지고, 송수신이 통신기회가 불균형을 이루는 불리한 구조에서 오류복구 제어를 위해 데이타 프레임의 송수신시 순서번호를 적용하여 수신오류를 복구할 수 있으며, 슬레이브로 데이타 송신시 윈도우 메키니즘을 적용하므로 메스터의 데이타 송신 능력을 향상시키고, 수신긍정응답 프레임 전송의 경우 데이타 프레임에 수신상태인 수신순서번호를 넣어서 보냄으로 ACK 송출횟수를 줄일 수 있다.In the present invention, the transmission and reception are separated according to the hardware structure of the bus, and 16 slaves are connected to one master to perform point-to-multipoint communication, and the error recovery control is performed in an adverse structure in which transmission and reception are imbalanced. In order to recover the reception error by applying the sequence number when transmitting / receiving the data frame, the window mechanism is applied when the data is sent to the slave to improve the data transmission capability of the master, and in case of receiving the acknowledgment frame, It is possible to reduce the number of ACKs sent by inserting the receiving sequence number in the receiving state.

이상과 같이 STG-버스에 상기의 프로토콜을 적용함으로 최대 16개의 슬레이브와 통신을 효율적이고 신뢰성 있게 제공할 수 있다.As described above, by applying the above protocol to the STG-bus, communication with up to 16 slaves can be efficiently and reliably provided.

Claims (11)

공통선 신호방식 메세지전달부의 STG-버스 통신 프로토콜에 있어서; 긍정응답(DATA-ACK), 부정응답(DATA-NAK), 데이타요구(DATA-REQ), 데이타표시(DATA-IND), 수신상태요구(SEQ-REQ), 수신상태응답(SEQ-REP), 순서번호초기화(RST-CMD), 순서번호초기화응답(SEQ-REP), 슬레이브 주기적인 점검(ANS-PKT), 그 응답(ANSB-PKT)의 프리미티브로 구성되고, 프리미티브를 사용하여 16개의 신호단보드와 1개의 메스터보드 사이에 적용되는 통신절차로 구성됨을 특징으로 하는 메세지 전달부 STG-버스 통신 프로토콜.An STG-bus communication protocol of a common line signaling message transfer unit; Acknowledgment (DATA-ACK), Negative Response (DATA-NAK), Data Request (DATA-REQ), Data Display (DATA-IND), Receive Status Request (SEQ-REQ), Receive Status Response (SEQ-REP), It consists of primitives of sequence number initialization (RST-CMD), sequence number initialization response (SEQ-REP), slave periodic check (ANS-PKT), and its response (ANSB-PKT). Message transmission unit STG-bus communication protocol, characterized in that consisting of communication procedures applied between the board and one master board. 제1항에 있어서, 상기 긍정응답 프레임 수신시 처리절차는 먼저 수신 프레임의 수신순서번호 N(R)이 재전송버퍼에 저장되어 있는 순서번호인지를 검사하고(40), 유효여부를 판단하여(41), 검사결과가 유효할 경우만 재전송버퍼 갱신 절차를 수행한 후(42), 절차를 종료하는 제1단계, 및 만일 N(R)이 유효하지 않을 경우는 송신상태변수 및 송신버퍼, 카운터의 초기화를 수행하고(43), 프리미티브중 RST-CMD를 사용하여 현재 송신상태변수를 N(S)로 넣어 상대측으로 송출하기 위한 요구 설정을 하고(44), ACK 수신시의 절차를 종료하는 제2단계를 구비하고 있는 것을 특징으로 하는 통신 프로토콜.The method of claim 1, wherein the procedure for receiving an acknowledgment frame first checks whether the received sequence number N (R) of the received frame is a sequence number stored in the retransmission buffer (40), and determines whether it is valid (41). ), After the retransmission buffer update procedure is performed only when the test result is valid (42), the first step of terminating the procedure, and, if N (R) is not valid, A second step of performing initialization (43), using RST-CMD among primitives to set the current transmission state variable to N (S), requesting for transmission to the other party (44), and ending the procedure at the time of receiving the ACK; And a communication protocol. 제1항에 있어서, 상기 부정응답 프레임 수신시 처리절차는 프레임의 수신순서번호 N(R)이 유효할 경우(51), 재전송버퍼 송신버퍼 및 송신상태 변수를 수신순서번호 N(R)에 따라서 갱신하는 절차를 포함하고 있는 것을 특징으로 하는 통신 프로토콜.The processing procedure according to claim 1, wherein the processing procedure upon receiving the negative acknowledgment frame includes retransmission buffer transmission buffer and transmission status variable according to the reception sequence number N (R) when the reception sequence number N (R) of the frame is valid (51). A communication protocol comprising an update procedure. 제1항에 있어서, 상기 데이타 요구 및 데이타 표시 프레임 수신시 처리절차는 먼저 수신된 프레임의 송신순서번호 N(S)의 순서 오류검사를 하고(60), N(S)의 오류검사는 정보 프레임 수신측이 정보 프레임의 송신순서번호 M(S)가 수신측이 보유하고 있는 수신상태 변수V(R)과 같은가를 검사하며(61), 정보 프레임을 정상적으로 수신한 경우는 자국의 수신상태변수 V(R)에 1을 가산하고(62), 데이타 프레임 수신에 대한 DATA-ACK 프레임을 상대측으로 보내야 하며 이를 위해 ACK 송출요구 설정하는(63) 제1단계, N(S) 순서오류가 있을때는 V(R)값은 갱신하지 않으며, 해당 프레임은 폐기하며(65), 이때 NAK 프레임의 N(S)바이트에 다음에 수신할 수신순서번호를 넣어서 송출하는(66), 제2단계를 구비하고 있는 것을 특징으로 하는 통신 프로토콜.The method of claim 1, wherein upon receiving the data request and the data display frame, the processing procedure first checks an error of the transmission sequence number N (S) of the received frame (60), and checks the error of the N (S) information frame. The receiving side checks whether the transmission sequence number M (S) of the information frame is the same as the receiving state variable V (R) held by the receiving side (61). Add 1 to (R) (62), and send a DATA-ACK frame for data frame reception to the other side. For this, set ACK sending request (63). First step, V (N) (R) value is not updated, and the corresponding frame is discarded (65). At this time, the second (S) step of transmitting the received order number to be received next to the N (S) byte of the NAK frame (66) is provided. Communication protocol, characterized in that. 제1항에 있어서, 송수신순서번호 초기화 응답(SEQ-REP)를 프리미티브로 하는 프레임을 수신한 경우는 SEQ-REP 프레임이 수신되면, 송·수신 상태변수의 초기화 절차를 행하고(70), 송신버퍼, 카운터의 초기화를 수행하고(71), 해당처리절차를 종료하는 단계를 구비하고 있는 것을 특징으로 하는 통신 프로토콜.The method according to claim 1, wherein when a frame having a transmission / reception sequence number initialization response (SEQ-REP) is received as a primitive, when the SEQ-REP frame is received, an initialization procedure of a transmission / reception state variable is performed (70). And (71) initializing the counter and terminating the processing procedure. 제1항에 있어서, 주기적인 앤서 시험에서의 응답(ANSB-PKT)를 프리미티브로 하는 프레임을 수신한 경우는 비정상 상태처리를 위해 앤서백 응답 플렉을 세트시키고(80), 무응답 횟수를 0로 리세트절차를 행한후(81), 처리절차를 종료하는 단계를 구비하고 있는 것을 특징으로 하는 통신 프로토콜.2. The method of claim 1, wherein when a frame having a response (ANSB-PKT) as a primitive in the periodic answer test is received, the answer back response complex is set (80) for an abnormal state processing, and the number of non-responses is returned to zero. And after completion of the set procedure (81), terminating the processing procedure. 제1항에 있어서, 슬레이브의 주기적인 점검(ANS-PKT) 프리미티브로 구성된 프레임을 수신한 경우는 수신 프로세서가 정상동작 상태임을 메스터로 알리기 위하여 점검응답(ANSB-PKT) 프레임을 구성하여(90), 메스터로 송출하는(91) 단계를 구비하고 있는 것을 특징으로 하는 통신 프로토콜.The method according to claim 1, wherein when receiving a frame composed of a periodic check (ANS-PKT) primitive of the slave, a check response (ANSB-PKT) frame is configured to inform the master that the receiving processor is in a normal operation state (90). And (91) sending to the master. 제1항에 있어서, DATA-REQ, DATA-IND을 프리미티브로 하는 데이타 송신요구가 있는 경우 먼저 버스가 송신가능 상태이면, 정해진 데이타 포맷에 따라 송신할 프레임을 구성하고(110), 재전송버퍼 및 송신버퍼의 갱신절차를 수행하고(111, 112), 다음은 송신상태변수인 V(S) 및 송신버퍼수, 재전송버퍼 수에 1을 가산하고, 버퍼포인터를 한프레임 만큼 갱신한 후(113), 데이티 프레임의 송출명령을 수행하고 절차를 종료하는 단계를 구비하고 있는 것을 특징으로 하는 통신 프로토콜.The method according to claim 1, wherein if there is a data transmission request with a DATA-REQ or DATA-IND primitive, first, if the bus is in a transmittable state, a frame to be transmitted is configured according to a predetermined data format (110), and a retransmission buffer and a transmission are performed. After updating the buffer (111, 112), and then adding 1 to the transmission state variables V (S), the number of transmission buffers and the number of retransmission buffers, and updating the buffer pointer by one frame (113), And a step of executing a sending command of the data frame and ending the procedure. 제1항에 있어서, DATA-ACK 프레임 송출요구시 송출요구를 받으면 먼저 상대측으로 보낼 데이타 프레임이 있는가를 확인하여(120), 데이타가 있는 경우는 DATA-ACK 전송요구를 해제하고(124) 처리절차를 종료하며, 전송할 데이타가 없는 경우는 자국의 수신상태변수를 ACK 프레임의 N(R)바이트에 넣어 프레임을 구성하고(121), ACK 송출요구를 해제한 후(122), ACK 프레임을 상대측으로 송출하기 위한 명령을 수행하고(123) 절차를 종료하는 단계를 구비하고 있는 것을 특징으로 하는 통신 프로토콜.The method of claim 1, when a request for sending a data-ACK frame is received, first, whether there is a data frame to be sent to the other party is checked (120), and if there is data, the data-ACK transmission request is released (124). When there is no data to be transmitted, the frame is composed by putting the reception state variable of the host in the N (R) byte of the ACK frame (121), and after releasing the request for sending ACK (122), the ACK frame is sent to the other side. And performing an instruction to terminate the procedure and terminating the procedure. 제1항에 있어서, DATA-NAK 프레임의 송출요구시 송출요구를 받으면 재전송요구를 위해서 자국의 수신상태변수를 NAK 프레임의 N(R)바이트에 넣어 프레임을 구성하고(130), NAK 송출요구를 해제한 후(131), NAK 프레임을 상대측으로 송출하기 위한 명령을 수행하고(132) 절차를 종료하는 단계를 구비하고 있는 것을 특징으로 하는 통신 프로토콜.The method according to claim 1, wherein when a transmission request is received for a DATA-NAK frame, a frame is formed by putting a reception state variable of the local station into N (R) bytes of a NAK frame for retransmission request (130), and a NAK transmission request is made. And releasing (131), performing a command for transmitting the NAK frame to the counterpart (132) and terminating the procedure. 제1항에 있어서, SEQ-RST 프레임 송출요구시 송출요구를 받으면 순서번호의 초기화를 위해 자국의 송신상태변수를 프레임의 N(S)바이트에 넣어 프레임을 구성하고(140) 프레임 송출요구를 해제한 후(141), 프레임을 상대측으로 송출하기 위한 명령을 수행하고(142) 절차를 종료하는 단계를 구비하고 있는 것을 특징으로 하는 통신 프로토콜.The method according to claim 1, wherein upon receiving a request for sending a SEQ-RST frame, a frame is constructed by inserting a transmission state variable of the own station into N (S) bytes of the frame for initialization of a sequence number (140) and canceling the request for sending a frame. And (141), performing a command to send the frame to the other party (142) and terminating the procedure.
KR1019910026037A 1991-12-30 1991-12-30 Signalling terminal group bus communication protocol of message transfer part using common channel signalling no.7 KR950001520B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910026037A KR950001520B1 (en) 1991-12-30 1991-12-30 Signalling terminal group bus communication protocol of message transfer part using common channel signalling no.7

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910026037A KR950001520B1 (en) 1991-12-30 1991-12-30 Signalling terminal group bus communication protocol of message transfer part using common channel signalling no.7

Publications (2)

Publication Number Publication Date
KR930015474A KR930015474A (en) 1993-07-24
KR950001520B1 true KR950001520B1 (en) 1995-02-25

Family

ID=19327453

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910026037A KR950001520B1 (en) 1991-12-30 1991-12-30 Signalling terminal group bus communication protocol of message transfer part using common channel signalling no.7

Country Status (1)

Country Link
KR (1) KR950001520B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020055228A (en) * 2000-12-28 2002-07-08 박종섭 Device for processing no.7 in bsc system

Also Published As

Publication number Publication date
KR930015474A (en) 1993-07-24

Similar Documents

Publication Publication Date Title
JP2707529B2 (en) Data communication system
US4988990A (en) Dual master implied token communication system
US5309562A (en) Method and apparatus for establishing protocol spoofing from a modem
US4439859A (en) Method and system for retransmitting incorrectly received numbered frames in a data transmission system
US5122794A (en) Dual master implied token communication system
US5166678A (en) Dual master implied token communication system
EP0409578B1 (en) Data communication method and system with cyclic sequence of acknowledgements
JP2503086B2 (en) Data link control method
EP1198105A2 (en) High speed transmission line interface
US4641307A (en) Data packet transmission using shared channel
EP0244117A2 (en) A method of duplex data transmission using a send-and-wait protocol
US7031263B1 (en) Method and apparatus for network management system
JPS602813B2 (en) Computer-to-computer communication method and system
JPH0656994B2 (en) Checkpoint / frame number reduction method
JPH0795767B2 (en) Optimized method of data communication and system using the method
US8335958B2 (en) Method of communication, in particular with capability of frame abortion or retransmission indication, between a transmitter and a receiver based on frames and corresponding communication node
EP0310360B1 (en) Data communication method and apparatus
KR950001520B1 (en) Signalling terminal group bus communication protocol of message transfer part using common channel signalling no.7
KR0165440B1 (en) Polling communication method
JPH0354909B2 (en)
GB2120055A (en) Data communication system
EP0503323A2 (en) Serial bus interface and method
JPH10276241A (en) Data communication method and system therefor
JPH09326782A (en) Serial communication method
CN117834320A (en) Reliability multicast method and system based on receiving party confirmation maximum reliability frame

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20040202

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee