Claims (6)
사설교환기와 외부 컴퓨터 시스템간의 전송 프로토콜에 의한 메시지 전송방법에 있어서, 전송 메시지가 있을시 카운트값(ENQCNT)을 초기값으로 세트하여 카운트를 시작하는 제1과정과, 상태간운의(ENQ)코드를 전송하고 소정 설정시간 동안 긍정응답(ACK)코드 수신여부를 체크하는 제2과정과, 소정 설정 시간동안 긍정응답(ACK) 코드 수신이 없으면 상기 카운트값(ENQCNT)이 설정값이 되었는가 체크하는 제3과정과, 상기 제3과정의 상기 카운트 값(ENQCNT)의 설정값이 되었으면 상대방 다운 플래그를 세트하고 리턴하는 제4과정과, 상기 제3과정의 상기 카운트값(ENQCNT)이 설정값이 되지 않았으면 상기 카운트값(ENQCNT)을 일정 증가시킨후 상기 제2과정으로 되돌아가는 제5과정과, 상기 제5과정에서 긍정 응답(ACK) 코드 수신시 메시지를 전송하는 제6과정과, 메시지 전송후 소정 설정시간동안 긍정응답(ACK)코드 수신 여부를 체크하는 제7과정과, 상기 제7과정에서 소정 설정시간동안 긍정응답(ACK) 코드 수신 없으면 상기 제3과정으로 되돌가는 제8과정과, 상기 제7과정에서 긍정응담(ACK) 코드 수신시 메시지 전송을 완료하고 상기 제1과정으로 되돌아가는 제9과정으로 이루어짐을 특징으로 하는 사설교환기와 외부 컴퓨터 시스템간의 전송 프로토콜에 의한 메시지 전송방법.A message transfer method using a transfer protocol between a private exchange and an external computer system, comprising: a first step of starting a count by setting a count value ENQCNT to an initial value when a transfer message is present; A second process of transmitting and checking whether an acknowledgment (ACK) code is received during a predetermined set time, and a third step of checking whether the count value ENQCNT is a set value when no acknowledgment (ACK) code is received for a predetermined set time; A fourth process of setting and returning a counterpart down flag when the process and the count value ENQCNT of the third process are set; and the count value ENQCNT of the third process is not set A fifth step of increasing the count value ENQCNT and then returning to the second step; and a sixth step of transmitting a message when an ACK code is received in the fifth step; A seventh step of checking whether an acknowledgment (ACK) code is received during a predetermined set time, an eighth step of returning to the third step if the acknowledgment (ACK) code is not received for a predetermined set time in the seventh step, and And a ninth process of completing a message transmission upon returning an acknowledgment code (ACK) in step 7 and returning to the first process.
제1항에 있어서, 제6과정의 메시지의 길이가 메시지의 내용량에 따라 비례하여 가변함을 특징으로 하는 사설교환기와 외부 컴퓨터 시스템간의 전송 프로토콜에 의한 메시지 전송방법.The message transmission method according to claim 1, wherein the length of the message in step 6 varies in proportion to the content of the message.
제2항에 있어서, 상기 제6과정의 메시지 전송이 헤딩개시(SOH) 코드를 전송하는 제1단계와, 메시지 식별(iD) 코드를 전송하는 제2단계와, 메시지의 바이트수를 나타내는 메시지길이(NTX) 코드를 전송하는 제3단계와, 전송 제어 기능 확장(DLE) 코드를 전송하는 제4단계와, 텍스트 개시(STX) 코드를 제5단계와, 메시지 내용을 전송하는 제6단계와, 메시지 정보의 에러 체크를 위한 프레임 체크열(FCS)코드를 전송하는 제7단계와, 전송 제어 기능 확장(DLE) 코드를 정송하는 제8단계와, 텍스트 종료(ETX)코드를 전송하는 제8단계와 전송종료(EOT) 코드를 전송하는 제10단계로 이루어짐을 특징으로 하는 사설교환기와 외부 컴퓨터 시스템간의 전송 프로토콜에 의한 메시지 전송방법.The method of claim 2, wherein the sixth step of transmitting the message comprises: a first step of transmitting a heading start (SOH) code, a second step of transmitting a message identification (iD) code, and a message length indicating the number of bytes of the message; A third step of transmitting a (NTX) code, a fourth step of transmitting a transmission control function extension (DLE) code, a fifth step of transmitting a text start (STX) code, a sixth step of transmitting message content, A seventh step of transmitting a frame check string (FCS) code for error checking of message information, an eighth step of transmitting a transmission control function extension (DLE) code, and an eighth step of transmitting a text end (ETX) code And a tenth step of transmitting an end-of-transmission (EOT) code.
사설교환기와 외부컴퓨터 시스템간의 전송 프로토콜에 의한 메시지 수신 방법에 있어서, 상태간문의(ENQ) 코드 수신시 긍정 응답(ACK)코드를 전송하고 메시지를 수신하는 제1과정과, 수신된 프레임 체크열(FCS)에 의해 체크섬 데이타(BCS)를 계산한후 수신된 체크섬 데이타(BCS)와 비교하여 맞는가 체크하는 제2과정과, 상기 제2과정의 체크섬 데이타(BCS)가 맞지 않을시 부정 응답(NAK)코드를 전홍한후 상기 제1과정으로 되돌아가는 제3과정과, 상기 제2과정의 체크섬 데이타(BCS)가 맞을시 긍정응담(ACK) 코드를 전송한후 수신 메시지를 처리하는 제4과정으로 이루어짐을 특징으로 하는 사설교환기와 외부 컴퓨터시스템간의 전송 프로토콜에 의한 메시지 수신방법.A message receiving method using a transmission protocol between a private exchange and an external computer system, comprising: a first process of transmitting an acknowledgment (ACK) code and receiving a message when receiving an ENQ code; Compute checksum data (BCS) by FCS and compare with the received checksum data (BCS) to check whether it is correct, and negative response (NAK) when the checksum data (BCS) of the second process does not match. A third process of returning to the first process after transmitting the code, and a fourth process of processing a received message after transmitting an ACK code when the checksum data (BCS) of the second process is corrected. Message receiving method by the transfer protocol between the private exchange and the external computer system, characterized in that.
제4항에 있어서, 제1과정의 메시지의 길이가 메시지 내용량에 따라 비례하여 가변됨을 특징으로 하는 사설교환기와 외부 컴퓨터 시스템간의 전송 프로토콜에 의한 메시지 수신 방법.5. The method according to claim 4, wherein the length of the message of the first step varies in proportion to the content of the message.
제5항에 있어서, 상기 제1과정의 메시지 수신이 헤딩개시(SOH) 코드를 수신하는 제1단계와, 메시지 식별(iD) 코드를 전송하는 제2단계와, 메시지의 바이트수를 나타내는 메시지길이(NTX) 코드를 수신하는 제3단계와, 수신 제어 기능 확장(DLE) 코드를 수신하는 제4단계와, 텍스트 개시(STX) 수신하는 코드를 제5단계와, 메시지 내용을 수신하는 제6단계와, 메시지 정보와 에러 체크를 위한 프레임 체크열(FCS)코드를 수신하는 제7단계와, 수신 제어 기능 확장(DLE) 코드를 정송하는 제8단계와, 텍스트 종료(ETX) 코드를 수신하는 제9단계와 수신종료(EOT) 코드를 수신하는 제10단계로 이루어짐을 특징으로 하는 사설교환기와 외부 컴퓨터 시스템간의 수신 프로토콜에 의한 메시지 수신방법.6. The method of claim 5, wherein the first step of receiving a message comprises receiving a heading start (SOH) code, a second step of transmitting a message identification (iD) code, and a message length indicating the number of bytes of the message. A third step of receiving an (NTX) code, a fourth step of receiving a reception control function extension (DLE) code, a fifth step of receiving a text start (STX) code, and a sixth step of receiving a message content And a seventh step of receiving a frame check string (FCS) code for message information and an error check, an eighth step of transmitting a reception control function extension (DLE) code, and a step of receiving a text end (ETX) code. And a tenth step of receiving an end-of-retrieval (EOT) code.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.