KR950003719B1 - Interface method by binary protocol - Google Patents

Interface method by binary protocol Download PDF

Info

Publication number
KR950003719B1
KR950003719B1 KR1019920000094A KR920000094A KR950003719B1 KR 950003719 B1 KR950003719 B1 KR 950003719B1 KR 1019920000094 A KR1019920000094 A KR 1019920000094A KR 920000094 A KR920000094 A KR 920000094A KR 950003719 B1 KR950003719 B1 KR 950003719B1
Authority
KR
South Korea
Prior art keywords
message
request
received
receiving
processing step
Prior art date
Application number
KR1019920000094A
Other languages
Korean (ko)
Other versions
KR930017461A (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 KR1019920000094A priority Critical patent/KR950003719B1/en
Publication of KR930017461A publication Critical patent/KR930017461A/en
Application granted granted Critical
Publication of KR950003719B1 publication Critical patent/KR950003719B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/18Circuit arrangements for first stage of hunting switching
    • H04Q3/20Circuit arrangements for first stage of hunting switching for preselectors
    • H04Q3/22Circuit arrangements for first stage of hunting switching for preselectors comprising common calling and disconnecting circuit

Abstract

The electronic exchanging system (20) for forming a path with respect to the subscriber's number in a request message, and transmitting a response message according to the result comprises; a testing bar (22) for outputting a key-in message of a user, and displaying the input of the response message; and TDI for (30) transmitting the key-in message as the request message to the electronic exchanging system and then displaying the result message of the exchanging system to the testing bar. The method an event processing step for processing an event occurring in the testing bar; a request processing step for formatting the test request message into a binary protocol message; a receiving processing step for receiving a response command output from the exchanging system, storing it in an inner que, and then increasing the receiving count; and an R-field processing step for analyzing the data of the receiving field in case the receiving count increases.

Description

바이너리 프로토콜을 이용한 교환시스템과의 터미널 인터페이스 방법Terminal interface method with exchange system using binary protocol

제1도는 본 발명을 수행하기 위한 시스템의 하드웨어.1 is hardware of a system for performing the present invention.

제2도는 본 발명에 따른 인터페이스 방법의 상태 천이도.2 is a state transition diagram of an interface method according to the present invention.

제3도는 본 발명에 따른 요구처리기의 상세 흐름도.3 is a detailed flowchart of the request handler according to the present invention.

제4도는 본 발명에 따른 수신처리기의 상세 흐름도.4 is a detailed flowchart of a reception processor according to the present invention.

제5도는 본 발명에 따른 수신데이타 처리기의 상세 흐름도.5 is a detailed flowchart of a reception data processor according to the present invention.

제6a도 및 제6b도는 본 발명에 따른 바이너리 프로토콜의 인터페이스 포맷 구성도.6A and 6B are diagrams illustrating the interface format of the binary protocol according to the present invention.

제7도는 본 발명에 따른 리퀘스트 버퍼의 구성도.7 is a block diagram of a request buffer according to the present invention.

제8도는 본 발명에 따른 R-파일드 상태 테이블도.8 is an R-filed state table in accordance with the present invention.

본 발명은 전자교환시스템과 외부 단말과의 인터페이스 방법에 관한 것으로, 특히 시험대와 교환시스템과의 데이터를 정합하는 테스트 데스크 정합장치(Test Desk Interface)와 교환시스템간의 인터페이싱 방법에 관한 것이다.The present invention relates to an interface method between an electronic switching system and an external terminal, and more particularly, to an interfacing method between a test desk interface device and a switching system for matching data between a test bench and an exchange system.

일반적으로 교환시스템은 교환시스템에 수용된 가입자의 상태, 예를 들면 가입자의 라인, 가입자의 통화상태 등 여러상태를 시험하기 위한 시험대(Test Dest)가 접속될 수 있도록 되어 있다.In general, a switching system is provided such that a test desk for testing various states, such as a subscriber's line and a subscriber's call state, can be connected.

상기와 같은 전자교환 시스템은 시험대와 교환시스템간의 데이터를 정합하는 정합장치를 가지고 시험대로 부터의 데이터를 교환시스템으로, 교환시스템으로부터의 데이터를 시험대로 인터페이스하는 인터페이스 장치를 구비하고 있다.Such an electronic exchange system has a matching device for matching data between a test bench and an exchange system, and has an interface device for interfacing data from a test stand to an exchange system and interfacing data from the exchange system to a test stand.

일 예를 들면 현재 국내에서 운용중인 S1240 교환시스템에서는 가입자선로 시험용 시험대 혹은 국내가입자집중 운용시스템인 SLMOS(Subsoriber Line Maintenance and Operation system) 또는 LCR(Line Condition Report) 등이 시험대와 교환시스템간을 테스트 데스크 정합장치(Test Dest interface; TDI)를 이용하여 시험대와 교환시스템간의 데이터를 인터페이싱 하도록 되어 있다.For example, in the S1240 exchange system currently in operation in Korea, a subscriber line test bench or a subscriber subscriber test system SLSL (Subsoriber Line Maintenance and Operation system) or LCR (Line Condition Report) test between the test bench and the exchange system. The Test Dest interface (TDI) is used to interface the data between the test bench and the exchange system.

상기와 같이 TDI를 이용하여 시험대와 교환시스템간의 데이터를 인터페이싱하는 종래의 방법은 기계와 인간(Visual Display Unit or printer)간에 사용되는 아스키 프로토콜(ASC Protocol)를 사용하여 왔다.As described above, a conventional method of interfacing data between a test bench and an exchange system using a TDI has used the ASCII protocol used between a machine and a human (Visual Display Unit or printer).

즉, 시험대에 의한 운용자의 요구에 의해 TDI에서 교환시스템으로 명령을 요구시에는 다이얼로그 형식(Dialogue Form)으로 데이터를 포맷(Format)하여 전송하였으며, 교환시스템에서 TDI로 응답시에는 모놀로그 형식(Monologue Form)으로 데이터를 전송하였다.In other words, when a request from an operator by a test bench is requested from the TDI to the exchange system, the data is formatted in a dialog form and transmitted.In response, the exchange system responds to the TDI with a monologue form. Data).

상기와 같은 다이얼로그 형식과 모놀로그 형식의 데이터는 아스키 프로토콜의 형태를 가지며, 상기와 같은 다이얼로그 형식과 모놀로그 형식의 규약에는 사람이 데이터를 입력 또는 출력시 자료를 보기좋게 하기 위한 많은 데이터가 부가적으로 필요로 하게 된다. 즉 디스플레이 시키기 위한 데이터가 필요로 하게 된다.The above dialog and monologue data have the form of ASCII protocol, and the above dialog and monologue protocols require a lot of data to make the data look good when a person inputs or outputs the data. Done. That is, data for display is needed.

그러나 상기와 같은 종래의 인터페이싱 방법은 기계와 사람 예컨대 VDU(Visual Display Unit) 또는 프린터(Printer)간에 널리 쓰이는 아스키 프로토콜에 의해 시험대와 교환시스템간의 데이터를 인터페이스 함으로서 하기와 같은 문제가 있어 왔다.However, such a conventional interfacing method has the following problems by interfacing data between a test bench and an exchange system by an ASCII protocol widely used between a machine and a person such as a VDU (Visual Display Unit) or a printer.

VDU와 프린터와 같은 단말에서 사용되는 아스키 프로토콜의 데이터를 사용함으로써 교환시스템에서 입출력되는 데이터의 양이 많아 전송오류 및 송수신 속도가 매우 느린 문제가 발생한다.By using ASCII protocol data used in terminals such as VDUs and printers, transmission errors and transmission and reception speeds are very slow due to the large amount of data input and output from the exchange system.

즉, 교환시스템과 TDI와 같은 단말사이의 데이터 인터페이스시 아스키 프로토콜에 의해 인터페이스함으로 데이터 사이즈가 크게되어 전송오류가 발생될 소지가 크며, 많은 데이터를 송수신하게 됨으로 송수신 속도가 저하된다.In other words, when the data interface between the switching system and the terminal such as the TDI interface by the ASCII protocol, the data size becomes large, which may cause a transmission error, and transmit and receive a lot of data.

따라서 본 발명은 목적은 전자 교환 시스템과 외부 단말과의 인터페이스를 바이너리 프로토콜을 이용하여 인터페이싱하는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method of interfacing an interface between an electronic switching system and an external terminal using a binary protocol.

본 발명의 다른 목적은 전자 교환시스템과 테스트 데스크 정합장치간의 인터페이스를 바이너리 프로토콜을 이용하여 고속으로 인터페이싱하는 방법을 제공함에 있다.Another object of the present invention is to provide a method for interfacing an interface between an electronic switching system and a test desk matching device at high speed using a binary protocol.

본 발명의 또 다른 목적은 시험대로부터의 시험요구 부터의 시험요구 메세지 입력에 응답하여 바이너리 프로토콜의 데이터를 교환시스템으로 전송하는 데이터 인터페이스 방법을 제공함에 있다.Still another object of the present invention is to provide a data interface method for transmitting data of a binary protocol to an exchange system in response to a test request message input from a test request from a test bench.

본 발명의 또 다른 목적은 전자교환기와 외부 터미널간의 인터페이스를 바이너리 프로토콜을 송수신 할 수 있는 바이너리 인터페이스 프로토콜 포맷을 제공함에 있다.It is still another object of the present invention to provide a binary interface protocol format capable of transmitting and receiving binary protocols between an electronic exchange and an external terminal.

이하 본 발명을 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명을 수행하기 위한 시스템의 하드웨어 블럭도로서, 바이너리 프로토콜에 의한 요구메세지(Request-message)의 입력에 응답하여 상기 요구 메세지내의 가입자 번호에 대한 패스(path)를 형성(set-up)하고 그 결과에 따른 응답메세지를 바이너리 프로토콜의 데이터로 송출하는 전자 교환시스템(20)과, 사용자 키인에 의한 메세지를 출력하고, 응답메세지의 입력을 디스플레이하는 시험대(22)와, 상기 시험대(22)와 전자교환 시스템(20) 사이에 접속되어 상기 시험대(22)로부터의 키인 메세지를 바이너리 프로토콜의 요구메시지로 하여 상기 전자교환시스템(20)으로 전송하고, 상기 전자교환시스템(20)으로부터의 결과 메세지를 시험대(22)에 표기하는 TDI(Test Desk Interface)(30)로 구성되어 있다.1 is a hardware block diagram of a system for performing the present invention, in which a path is set for a subscriber number in the request message in response to input of a request message by a binary protocol. And an electronic exchange system 20 for sending a response message according to the result as binary protocol data, a test bench 22 for outputting a message by a user keyin, and displaying an input of a response message, and the test bench 22 ) And a key-in message from the test bench 22 to the electronic exchange system 20 as a binary protocol request message, and the result from the electronic exchange system 20. It consists of a TDI (Test Desk Interface) 30 which displays a message on the test bench 22.

상기 제1도 중 전자교환시스템(20)은 외부와의 인터페이스 데이터를 억세스하는 MMC(Man Machine-Communication)부(12)와, 아나로그 가입자의 통화를 인터페이싱하는 ALCB(Analog Line Cirouit Board)(18)와, 소정제어에 의해 상기 ALCB(18)내 가입자 상태를 억세스하여 출력하고 패스를 형성하는 TAU(Test Access Unit)(16)와, 상기 MMC부(12)로부터의 요구메세지에 응답하여 TAU(16)를 제어하여 ALCB(18)내 가입자의 패스를 셋-업하고 그 결과 메세지를 출력하는 ETRC(External Test request Controller)(14)를 가지고 있다.The electronic switching system 20 of FIG. 1 includes a Man Machine-Communication (MMC) unit 12 for accessing external interface data, and an Analog Line Cirouit Board (ALCB) 18 for interfacing a call of an analog subscriber. And a TAU (Test Access Unit) 16 which accesses and outputs a subscriber state in the ALCB 18 and forms a path under predetermined control, and a TAU (In response to a request message from the MMC unit 12). 16, an external test request controller (ETRC) 14 that sets up the subscriber's path in the ALCB 18 and outputs the resulting message.

그리고 TDI(30)는 시험대(22)와의 인터페이스를 하는 인터페이스(24)와, 상기 인터페이스(24)를 통한 키인 요구메세지를 바이너리 프로토콜 요구메세지로 처리 출력하고 결과 메세지를 상기 시험대(22)의 표시메시지로 출력하는 프로세서(26)와, 상기 시험대(22)와 상기 TAU(16)사이에 접속되어 상기 프로세서(26)의 제어에 의해 스위칭되어 시험패스를 형성하는 S-스위치(Space-Switch)(28)로 구성된다.The TDI 30 processes and outputs an interface 24 for interfacing with the test bench 22 and a request message which is a key through the interface 24 as a binary protocol request message, and outputs a result message to the test message 22. S-switch (Space-Switch) 28 which is connected between the processor 26 and the test bench 22 and the TAU 16 to be outputted to the processor 26 and controlled under the control of the processor 26 to form a test path. It is composed of

이때 상기 TDI(30)의 프로세서(26)와 전자교환 시스템(20)의 MMC부(12)는 RS-232C라인(30a)으로 접속되어 있으며, S-스위치(28)와 TAU(16)간은 2 또는 4선으로 연결되어 있다.At this time, the processor 26 of the TDI 30 and the MMC unit 12 of the electronic switching system 20 are connected by an RS-232C line 30a, and the S-switch 28 and the TAU 16 are connected to each other. It is connected by 2 or 4 wires.

제2도는 본 발명에 따른 바이너리 프로토콜 인터페이스의 상태천이도로서, 시험대(22)로부터 이벤트(Event; 예로서 키데이터) 발생시 이를 처리하여 출력하는 이벤트처리(32)와, 상기 이벤트 처리기(32)로부터의 이벤트 발생에 응답하여 시험요구처리기(36)를 구동하고, 수신처리기(38)로부터의 응답콤맨드(Response Command)수신에 의해 R-피일드 처리기(40)를 구동하는 메인처리기(34)와, 상기 메인처리기(34)의 구동에 의해 시험대(22)로부터 입력된 시험요구 메세지를 바이너리 프로토콜 메세지로 포맷하여 전자 교환시스템(20)으로 전송하는 요구 처리기(36)와, 상기 전자 교환시스템(20)으로부터 출력되는 응답콤맨드를 수신하여 수신카운트를 증가하여 상기 메인 처리기(34)로 출력하는 수신처리기(38)와, 상기 메인처리기(34)의 구동에 의해 수신피일드의 데이터를 처리하여 그 결과를 상기 시험대(22)로 전송하는 R(Receive)-피일드 처리기(40)로 구성된다.2 is a state transition diagram of a binary protocol interface according to the present invention, and includes an event processing 32 for processing and outputting an event (eg, key data) from the test bench 22 and from the event processor 32. A main processor 34 which drives the test request processor 36 in response to the occurrence of an event, and drives the R-feed processor 40 by receiving a response command from the reception processor 38; And a request processor 36 for formatting the test request message input from the test bench 22 by the driving of the main processor 34 into a binary protocol message and transmitting it to the electronic switching system 20, and the electronic switching system 20. Receives a response command output from the ()) and increases the reception count to output the reception processor 38 to the main processor 34, and processing the data of the reception feedback by the drive of the main processor 34 Thus, it consists of an R (Receive) -Feed Processor 40 which transmits the result to the test bench 22.

상기 제2도에 도시된 각 처리기들은 제1도 TDI(30)내 프로세서(26)에 설정된 프로그램(소프트 웨어)모듈이다.Each of the processors shown in FIG. 2 is a program (software) module set in the processor 26 in the first diagram TDI 30.

제3도는 본 발명에 따른 요구처리기의 상세흐름도로서, 시험대(22)로부터 입력되는 작업 일련번호(Joh Sequence IU)와 기입자번호를 내부 리퀘스트 버퍼에 저장하여 포맷하는 제1단계와, 내부리퀘스트 버퍼에 저장된 바이너리 프로토콜 데이터를 억세스하여 전자교환 시스템으로 전송하고 종료 메세지 ETX(End of Text)가 송출되었는가를 검색하는 제2단계와, 상기 제2단계에서 종료메세지가 미송출되었다고 판단시 상기 내부의 리퀘스트 버퍼의 리이드 포인터를 증가하여 상기 제2단계를 반복수행하고, 종료메세지(ETX)가 송출되었다고 판단시 리턴하는 제3단계로 이루어진다.3 is a detailed flowchart of the request processor according to the present invention. The first step of storing and formatting a job sequence number (Uoh Sequence IU) and a writer number input from the test bench 22 in an internal request buffer, and an internal request buffer. A second step of accessing the binary protocol data stored in the electronic exchange system and retrieving whether an end message ETX (End of Text) has been sent; and if the end message has not been sent in the second step, the internal request The third step is performed by repeating the second step by increasing the read pointer of the buffer and returning when the end message ETX has been sent.

제4도는 본 발명에 따른 수신 처리기의 상세 흐름도로서, 전자 교환시스템(20)으로부터 메세지를 수신시 시작 메세지(STX : Sart of Text)인가를 검색하는 제1메세지 검색단계와, 상기 제1검색단계에서 수신메세지가 시작메세지라 판단시에 수신메세지를 내부 메모리인 큐(Queue)에 버퍼링하여 저장하고 시작메세지 플레그를 세트하는 제2단계와, 상기 제1검색단게에서 수신메세지가 시작메세지가 아니라고 판단시 시작메세지 플레그가 세트되었는가를 검색하여 상기 플레그가 세트되었을 때에만 수신메세지를 내부 큐에 버퍼링 저장하고 종료메세지(ETX)가 수신되는가를 검색하는 제3단계와, 상기 제3단계에서 종료메세지를 미수신하였다고 판단시 리턴하고, 종료메세지를 수신하였다고 판단시 수신카운터(Receive-Counter)(REC-CNT)를 증가하는 제4단계로 이루어진다.4 is a detailed flowchart of a reception processor according to the present invention, which includes a first message searching step of searching for a start message (STX: Sart of Text) upon receiving a message from the electronic switching system 20, and the first searching step. In step 2, when the received message is determined to be the start message, the received message is buffered and stored in a queue, which is an internal memory, and the start message flag is set; and the first search step determines that the received message is not the start message. A third step of retrieving whether the start message flag is set and buffering the received message in an internal queue only when the flag is set, and retrieving whether an end message (ETX) is received; and ending the message in the third step. When it is determined that it has not been received, it returns to the end, and when it is determined that the end message has been received, it comprises a fourth step of increasing the receive-counter (REC-CNT). .

제5도는 본 발명에 따른 R-피일드 처리기의 상세흐름도로서, 내부큐에 저장된 바이너리 프로토콜의 잡-일련번호를 리이드(Read)하여 요구한 잡일련번호와 동일한가를 검색하는 제1단계와, 상기 제1단계의 검색결과 요구한 작업일련번호가 아니라고 판단시에 수신카운터(REC-CNT)를 감소하여 리턴하는 제2단계와, 상기 제1단계에서 요구됨과 동일하다고 판단시 수신메세지의 R피일드 데이터를 리이드하고 그 상태를 분석하여 표시처리하는 상태표시단계로 이루어진다.5 is a detailed flowchart of the R-feed processor according to the present invention, the first step of reading the job-serial number of the binary protocol stored in the internal queue to search for the same job serial number as requested; The second step of reducing and returning the reception counter REC-CNT when determining that the requested job serial number is not the first step, and the R-feed of the received message when determining that it is the same as that required in the first step. A status display step of reading data and analyzing and displaying the status is performed.

제6a도 및 제6b도는 본 발명에 따른 바이너리 프로토콜 인터페이스 포맷으로서, 제6a도는 TDI(30)내 프로세서(26)로부터 전자교환시스템(20)의 MMC부(12)로 출력되는 요구명령 포맷(Request Command Format)이다.6A and 6B are binary protocol interface formats according to the present invention, and FIG. 6A is a request command format (Request) output from the processor 26 in the TDI 30 to the MMC unit 12 of the electronic switching system 20. FIG. Command Format).

제6a도의 요구명령 포맷을 살피면 총 12바이트로 구성되어 있으며, STX는 텍스트의 시작을 나타내는 메세지(Start of Text)로서 1바이트, OP는 동작(operation)를 나타내는 것으로 1바이트로 되어 있으며, 그 값은 하기와 같다.The request instruction format of Fig. 6a is composed of a total of 12 bytes, STX is a message indicating the start of the text (1 byte), OP is 1 byte indicating the operation (operation), the value Is as follows.

1 : 시험억세스 요구(Request of Access)1: Request of Access

2 : 복구(Relese)2: Relese

3 : 강제억세스(Forced of Access)3: Forced Access

MM은 작업일련번호를 나타내는 것(Job Sequence ID)로서 2바이트를 구성되며 00-99까지의 일련번호값을 가진다.The MM represents a job sequence number (Job Sequence ID). It consists of 2 bytes and has a serial number from 00 to 99.

D1-D7은 가입자 전화번호(Directroy Number)가 저장되는 피일드(field)로서 총 7바이트로 되어 있다.D1-D7 is a field in which a subscriber's telephone number (Directroy Number) is stored, and has a total of 7 bytes.

ETX는 텍스트의 종료를 나타내는 메세지(End of Text)로써 1바이트로 되어 있다.ETX is a message indicating the end of text (End of Text), which is one byte.

제6b도는 제6a도와 같은 시험 요구메세지를 입력받는 전자교환기(20)가 TDI(30)내 프로세서(26)로 출력하는 응답명령 포맷(Reponse Command format)로서 총 8바이트로 구성되어 있다.FIG. 6B is a response command format output by the electronic switch 20 that receives the test request message as shown in FIG. 6A to the processor 26 in the TDI 30, and is composed of a total of 8 bytes.

제6b도 중 STX와 ETX는 제6a도와 동일하며, R은 1바이트로서 시험된 가입자의 상태를 나타낸다. 그리고 UUU피일드 3바이트로서 스위칭 유니트인 TAU(16)의 번호(Switching Unit Identlty)를 나타낸다.In FIG. 6B, STX and ETX are the same as in FIG. 6A, and R represents the status of the subscriber tested as one byte. In addition, the UUU feed 3 bytes indicate the switching unit identifier (TAU) 16 of the switching unit.

제7도는 본 발명에 따른 리퀘스트 버퍼의 구성도로서, 이는 제6a도에서 설명한 바와 같이 총 12바이트의 크기를 가지며, 그 내용도 동일하다. 이 리퀘스트 버퍼의 STX와 ETX에는 메세지와 시작과 끝을 나타내기 데이터가 02H와 03H값으로 고정되어 있다.7 is a configuration diagram of a request buffer according to the present invention, which has a total size of 12 bytes as described in FIG. 6A and the contents thereof are also the same. In the STX and ETX of this request buffer, data indicating the message and the start and end are fixed to 02H and 03H values.

제8도는 본 발명에 따른 R-피일드 상태 테이블의 도면으로서, 이는 전자교환기 시스템(20)으로부터 제6b도와 같이 출력되는 데이터 중 R-피일드의 내용이다.FIG. 8 is a diagram of the R-Feed state table according to the present invention, which is the content of the R-Fidal among data output from the electronic exchange system 20 as shown in FIG. 6B.

이하 본 발명에 따른 동작예를 첨부한 도면을 참조하여 설명한다.Hereinafter, an operation example according to the present invention will be described with reference to the accompanying drawings.

지금 운용자가 시험요구(Request of Access)와 작업순서번호(MM) 및 시험하고자 하는 가입자의 번호(directry Number)(DN)를 시험대(22)에 설치된 키로서 키인하면, 이는 인터페이스(24)를 통해 프로세서(26)에 입력된다. 이때 프로세서(26)내 이벤트 처리기(32)는 상기 키입력을 처리하여 메인처리기(34)로 출력하며, 메인처리기(34)는 상기의 이벤트 발생에 의해 요구처리기(36)를 구동한다.If the operator now keyes in the Request of Access, Work Order Number (MM), and the Directry Number (DN) of the subscriber to be tested as the key installed on the test bench 22, this is via the interface 24. It is input to the processor 26. At this time, the event processor 32 in the processor 26 processes the key input and outputs the key input to the main processor 34. The main processor 34 drives the request processor 36 by generating the above event.

상기 메인처리기(34)에 의한 요구처리기(36)는 입력된 데이터를 내부 리퀘스트 버퍼에 저장한다.The request processor 36 by the main processor 34 stores the input data in an internal request buffer.

즉, 요구처리기(36)는 제3도 56과정에서 제7도와 같은 리퀘스트 버퍼의 OP, MM 피일드에 시험대(22)로부터 입력된 시험요구(Request of Access) 데이터와 작업순서번호(Job Sequence Nember)를 저장하고, 58과정에서 리퀘스트 버퍼의 D1-D7피일드에 입력된 가입자 번호(DN)를 저장한다.That is, the request processor 36 requests the access data and the job sequence number inputted from the test bench 22 to the OP and MM feed of the request buffer shown in FIG. ) And the subscriber number (DN) entered in the D1-D7 field of the request buffer in step 58.

상기와 같은 동작에 의해 제7도와 같은 리퀘스트 버퍼에는 02H의 시작 메세지(STX)와 시험요구 데이터, 작업순서번호, 가입자번호, 03H의 종료 메세지(ETX)가 저장되어지게 된다.By the above operation, the start buffer (STX) of 02H, test request data, work sequence number, subscriber number, and end message (ETX) of 03H are stored in the request buffer as shown in FIG.

상기 과정에서 입력데이터를 저장하는 프로세서(26)내 요구처리기(36)는 제3도 60과정에서 제7도의 리퀘스트 버퍼의 내용을 리이드(Read)하여 제6a도와 같은 바이너리 프로토콜 포맷으로 전자교환시스템(20)의 MMC부(12)로 전송한다.In the process, the request processor 36 in the processor 26 storing the input data reads the contents of the request buffer of FIG. 7 in FIG. 60 to form an electronic exchange system in a binary protocol format as shown in FIG. 20) to the MMC unit 12.

상기 60과정에서 리퀘스트 버퍼의 데이터를 전송하는 요구처리기(36)은 62과정에서 종료메세지(ETX)가 전송되었는가를 검색한다.In step 60, the request processor 36 which transmits the data of the request buffer checks whether the end message ETX has been transmitted in step 62.

상기 62과정에서 종료메세지(ETX)가 전송되었다면 리퀘스트 버퍼의 모든 내용이 전송완료되었다고 판단하여 리턴(Retrun)하고, 종료메세지(ETX)가 미전송되었다면 리퀘스트 버퍼된 전송포인트를 증가하여 전술한 60과정으로 점프한다.If the end message (ETX) is transmitted in step 62, it is determined that all contents of the request buffer have been transmitted and returned. If the end message (ETX) is not transmitted, the request message is increased. Jump to

예를 들어 시작메세지(STX)만이 전송된 경우라면 프로세서(26)는 전송 포인터를 OP를 피일드로 변경하고 60과정에서 OP피일드의 데이터를 RS-232C라인(30a)를 통해 전송한다.For example, if only the start message STX is transmitted, the processor 26 changes the transmission pointer to OP and transmits the data of the OP feedback through the RS-232C line 30a in step 60.

따라서 상기 제3도와 같은 동작의 수순으로 동작되는 요구 처리기(36)에 의해 리퀘스트 버퍼의 저장데이터가 제6a도와 같은 바이너리 프로토콜포맷으로 전송된다.Therefore, the request data stored in the request buffer 36 is transmitted in the binary protocol format as shown in FIG. 6A by the request processor 36 operating in the same procedure as that in FIG.

상기 제6a도와 같은 바이너리 프로토콜의 요구 메세지를 수신하는 전자교환 시스템(20)의 MMC부(12)는 이를 ETRC(14)에 입력시키며, ETRC(14)는 입력요구 메세지를 분석하여 수신된 가입자번호(DN)에 대한 패스를 셋업(path Set-up)한다. 즉, TAU(16)와 ALCB(18)를 제어하여 수신된 가입자번호(DN)에 대한 시험패스를 형성하고 그 결과(시험가입자 번호의 라인상태를 제8도의 "R"상태)를 제6b도와 같은 바이너리 프로토콜로서 MMC부(12)를 통해 TDI(30)를 통해 TDI(30)내 프로세서(20)로 전송한다.The MMC unit 12 of the electronic exchange system 20 receiving the binary protocol request message as shown in FIG. 6a inputs it to the ETRC 14, and the ETRC 14 analyzes the input request message and receives the received subscriber number. Path set-up for (DN). That is, the TAU 16 and the ALCB 18 are controlled to form a test path for the received subscriber number (DN), and as a result (the line state of the subscriber number is the "R" state in FIG. 8) as shown in FIG. The same binary protocol is transmitted to the processor 20 in the TDI 30 through the TDI 30 through the MMC unit 12.

이때 제6b도와 같은 포맷으로 전자교환시스템(20)의 MMC부(12)로부터 전송되는 수신메세지는 프로세서(26)내 수신처리기(38)가 수신하여 제4도와 같이 처리한다.At this time, the reception message transmitted from the MMC unit 12 of the electronic exchange system 20 in the format shown in FIG. 6b is received by the reception processor 38 in the processor 26 and processed as shown in FIG.

전자교환기시스템(20)의 MMC부(12)로부터 데이터가 수신되면 프로세서(26)내 수신처리기(38)는 제4도 66과정에서 데이터를 수신하여 시작메세지(STX)가 수신되었는가를 68과정에서 검색한다.When data is received from the MMC unit 12 of the electronic exchange system 20, the reception processor 38 in the processor 26 receives data in FIG. 66 to determine whether a start message (STX) has been received in step 68. Search.

상기 68과정에서 제6b도의 시작메세지(STX)가 수신되었다고 판단되면 프로세서(26)내 수신처리기(38)는 70과정에서 내부 메모리 큐(Queue)에 버퍼링하고 저장하고, 72과정에서 시작 플레그를 세트 후 리턴한다.If it is determined in step 68 that the start message STX of FIG. 6b is received, the reception processor 38 in the processor 26 buffers and stores the internal message queue in step 70 and sets the start flag in step 72. Then return.

계속해서 MMC부(12)로부터 메세지가 전송되면 수신처리기(38)는 전술한 66,68과정을 반복한다. 이때 전술한 68과정에서 수신된 메세지가 시작메세지가 아니라면 상기 수신 처리기(38)는 내부영역의 메모리에 설정된 시작 플레그(STX 플레그)가 세트되었는가를 74과정에서 검색한다.Subsequently, when the message is transmitted from the MMC unit 12, the reception processor 38 repeats the above-described steps 66 and 68. In this case, if the message received in step 68 is not a start message, the reception processor 38 searches in step 74 whether the start flag (STX flag) set in the memory of the internal area is set.

상기 74과정의 검색결과 시작메세지 플레그가 세트되어 있지 않다면 프로세서(26)내 수신처리기(38)는 수신에러라고 판단하여 리턴하며, 시작 플레그가 세트되어 있다면 제6b도인 응답 콤맨드 메세지의 연속이라 판단하여 76과정에서 연속되어 입력되는 수신메세지를 내부 큐에 버퍼링 저장한다.If the start message flag of step 74 is not set, the reception processor 38 in the processor 26 determines that the reception error has been received and returns. If the start flag is set, it is determined that the response command message of FIG. 6b is a continuation of the response command message. In step 76, the received messages are continuously buffered and stored in the internal queue.

상기 76과정을 수행한 프로세서(26)내 수신(38)는 78과정에서 종료메세지(ETX)가 수신되었는가를 검색하여 미수신시에는 리턴하여 메세지를 계속 수신한다.Receiving 38 in the processor 26 performing the process 76 detects whether the end message (ETX) has been received in step 78 and returns if not received to continue receiving the message.

만약 상기 78과정에서 종료메세지(ETX)가 수신되었자면 수신처리기(38)는 제6b도와 같은 8바이트의 응답콤맨드를 수신완료하였다고 판단하고 내부 메모리 영역에 설정된 수신카운터(REC-CNT)의 값을 증가시킨다.If the end message (ETX) is received in step 78, the reception processor 38 determines that the response command of the 8-byte response command as shown in FIG. To increase.

따라서, 상기 제4도와 같은 프로세서(26)내 수신처리기(38)의 동작에 의해 제6b도와 같이 바이너리 프로토콜로 출력되는 응답콤맨드를 수신하게 된다. 이때 제6b도의 응답콤맨드는 전술한 바와 같이 TDI(30)로부터의 시험요구에 의해 전자교환 시스템(20)이 시험패스를 셋업후 시험 가입자의 제8도와 같은 R피일드 상태에 따라 출력하는 것이다.Accordingly, by the operation of the reception processor 38 in the processor 26 as shown in FIG. 4, the response command outputted through the binary protocol as shown in FIG. 6B is received. At this time, the response command of FIG. 6B is that the electronic switching system 20 outputs the test path according to the R-feed state as shown in FIG. 8 of the test subscriber after the test pass is set up by the test request from the TDI 30 as described above. .

상기 제4도와 같은 수신처리기(38)의 수신동작에 의해 수신카운터(REC-CNT)의 값이 증가되면(REC-CNT>0)프로세서(26)내 메인처리기(34)는 R-피일드 처리기(40)를 구동한다.When the value of the reception counter REC-CNT is increased by the reception operation of the reception processor 38 as shown in FIG. 4 (REC-CNT> 0), the main processor 34 in the processor 26 performs an R-feed processor. 40 is driven.

이때 R-피일드 처리기(40)는 제5도 82과정에서 내부큐에 수신저장된 수신데이터(제6b도 참조)를 리이드하고, 84과정에서 MM피일드를 분석한다. 상기 84과정을 수행한 프로세서(26)내 R-피일드 처리기(40)는 수신된 MM피일드의 내용과 요구 MM피일드의 데이터가 동일한가를 검색한다. 즉, 시험대(22)에서 요구한 작업의 응답인가를 검색한다. 상기 86과정에서 요구 MM피일드와 수신 MM피일드가 동일하지 않다면, R-피일드처리기(40)는 98과정에서 수신카운터(REC-CNR)를 감소시키고 리턴한다.At this time, the R-feed processor 40 reads the received data (see FIG. 6B) received and stored in the internal queue in FIG. 82, and analyzes the MM feed in step 84. The R-feed processor 40 in the processor 26 having performed step 84 searches whether the contents of the received MM feed and the data of the requested MM feed are the same. That is, it is searched whether it is a response of the job requested by the test bench 22. If the request MM feed and the receive MM feed are not the same in step 86, the R-feed processor 40 decreases and returns the receive counter REC-CNR in step 98.

한편 상기 86과정에서 수신된 MM피일드 동일하다면 R-피일드 처리기(40)는 시험대(22)에서 요구한 작업에 대한 응답이라 판단하고 88과정에서 제6b도와 같은 수신데이터 중 R-피일드의 데이터를 리이드한다.On the other hand, if the MM feed received in step 86 is the same, the R-feed processor 40 determines that it is a response to the work requested by the test bench 22, and in step 88, the R-feed of the received data as shown in FIG. Read the data.

상기 88과정을 수행한 R-피일드 처리기(40)는 90,100,104,018,112과정에서 R피일드의 상태를 분석한다. R-피일드의 분석결과 "1"이라면 시험요구한 가입자번호(DN)의 가입자가 휴지(Idle)상태라 판단하고 UUU피일드의 TAU스위칭 데이터 내용을 92과정에서 리이드한다.The R-feed processor 40 performing the process 88 analyzes the state of the R-feed in the process 90, 100, 104, 018, 112. If the R-Fid analysis result is "1", it is determined that the subscriber of the requesting subscriber number (DN) is idle and the TAU switching data of the UUU Fid is read in step 92.

"UUU"피일드의 내용을 리이드한 R-피일드처리기(4)는 94과정에서 리이드 된 스위칭 유니트의 식별데이터로 시작스위치(28)를 구동하여 시험대(22)와 시험요구한 가입자번호(DN)가 소속된 TAU(16)를 접속한다. 그리고 96과정에서 프리상태를 시험대(22)를 통해 표시하고 수신카운터(REC-CNT)를 감소시킨다.The R-feed processor 4, which reads the contents of the "UUU" feed, drives the start switch 28 with the identification data of the switching unit read in step 94, so that the test bench 22 and the test subscriber number (DN) are requested. ) Connects to the TAU 16 to which it belongs. In step 96, the free state is displayed through the test bench 22 and the reception counter (REC-CNT) is reduced.

만약, R-피일드의 분석내용이 "2"라면 R-피일드 처리기(40)는 102과정에서 비지상태를 표시하며, "3"이라면 106과정에서 파킹상태를 표시하며, "4"라면 해당가입자 소속된 카드가 고장상태임을 표시하고 수신카운터를 감소한다.If the analysis content of the R-Feed is "2", the R-Fid processor 40 displays the busy state in step 102, if "3", displays the parking state in step 106, and if "4" It indicates that the card belonging to the subscriber is in a broken state and decreases the receiving counter.

따라서 시험대(22)의 시험요구에 의해 시험요구 메세지를 바이너리 프로토콜요구 메세지로 출력하며, 이에 응답하여 입력된 응답메세지에 의해 요구상태를 디스플레이함을 알 수 있다.Accordingly, it can be seen that the test request message is output as the binary protocol request message by the test request of the test bench 22, and the request status is displayed by the response message input in response thereto.

상술한 바와 같이 본 발명은 시험대와 전자교환시스템간의 데이터를 인터페이스하는 TDI와 시스템간의 인터페이스를 데이터 사이즈가 적은 바이너리 프로토콜로서 송수신함으로 전송효율을 증대시킬 수 있고 에러를 단축함으로써 시스템의 신뢰성을 높일 수 있다.As described above, the present invention can increase the transmission efficiency by reducing the error by transmitting and receiving the TDI interface interface between the test bench and the electronic exchange system as a binary protocol with a small data size, thereby improving the reliability of the system. .

Claims (4)

요구메세지(Request-message)의 입력에 응답하여 상기 요구 메세지내의 가입자 번호에 대한 패스(path)를 형성(set-up)하고 그 결과에 따른 응답메세지를 송출하는 전자 교환시스템(20)과, 사용자 키인에 의한 메세지를 출력하고, 응답메세지의 입력을 디스플레이 하는 시험대(22)와, 상기 시험대(22)와 전자교환 시스템(20) 사이에 접속되어 상기 시험대(22)로부터의 키인 메세지를 요구메시지로 하여 상기 전자교환시스템(20)으로 전송하고, 상기 전자교환시스템(20)으로부터의 결과메세지를 시험대(22)에 표시하는 TDI(30)를 구비한 교환 시스템과의 터미널 인터페이스 방법에 있어서, 상기 시험대(22)로부터 이벤트 발생시 이를 처리하여 시험요구메세지로 출력하는 이벤트처리단계와, 이벤트처리 단계의 시험요구 메세지를 바이너리 프로토콜 메세지로 포맷하여 전자 교환시스템(20)으로 전송하는 요구 처리단계와, 상기 전자 교환시스템(20)으로부터 출력되는 응답콤맨드를 수신하여 내부 큐에 저장하고 수신카운터를 증가하는 수신처리단계와, 상기 수신카운트가 증가시 내부큐에 수신저장된 수신피일드의 데이터를 분석 처리하여 그 결과를 상기 시험대(22)로 전송하는 R-피일드 처리단계로 이루어짐을 특징으로 하는 바이너리 프로토콜을 이용한 교환시스템과의 터미널 인터페이스 방법.An electronic switching system 20 which sets-up a path to the subscriber number in the request message in response to the input of the request message and sends out a response message according to the result; It is connected between the test bench 22 and the electronic exchange system 20 which outputs a message by a key-in, and displays the input of a response message, and requests the key-in message from the test bench 22 as a request message. In the terminal interface method with the exchange system provided with the TDI (30) for transmitting to the electronic exchange system 20 and displaying the result message from the electronic exchange system 20 on the test bench 22, the test bench An event processing step of processing an event occurrence from the 22 and outputting it as a test request message; and converting the test request message of the event processing step into a binary protocol message. A request processing step of transmitting to the switching system 20, a receiving processing step of receiving a response command output from the electronic switching system 20, storing it in an internal queue, and increasing a receiving counter, and when the receiving count increases. A method of terminal interface with an exchange system using a binary protocol comprising an R-feed processing step of analyzing and processing data of a received feed received and stored in an internal queue and transmitting the result to the test bench. 제1항에 있어서, 요구 처리 단계는 시험대(22)로부터 입력되는 작업일련번호와 가입자 번호를 내부 리퀘스트 버퍼에 저장하여 포맷하는 제1단계와, 내부 리퀘스트 버퍼에 저장된 바이너리 프로토콜 데이터를 엑세스하여 전자교환 시스템으로 전송하고 종료 메세지(ETX)가 송출되었는가를 검색하는 제2단계와, 상기 제2단계에서 종료메세지가 미송출되었다고 판단시 상기 내부의 리퀘스트 버퍼의 리이드 포인터를 증가하여 상기 제2단계를 반복수행하고, 종료메세지(ETX)가 송출되었다고 판단시 리턴하는 제3단계로 이루어짐을 특징으로 하는 방법.2. The request processing step of claim 1, wherein the request processing step includes: a first step of storing and formatting a job serial number and a subscriber number input from the test bench 22 in an internal request buffer; A second step of transmitting to the system and retrieving whether an end message (ETX) has been sent; and if it is determined that the end message has not been sent in the second step, increasing the read pointer of the internal request buffer and repeating the second step. And performing a third step of returning when it is determined that the end message (ETX) has been sent. 제1항 또는 제2항에 있어서, 수신처리 단계로 상기 전자교환시스템(20)으로부터 메세지를 수신시 시작 메세지(STX)인가를 검색하는 제1메세지 검색단계와, 상기 제1검색단게에서 수신메세지가 시작메세지라 판단시에 수신메세지를 내부 메모리인 큐에 버퍼링하여 저장하고 시작메세지 플레그를 세트하는 제2단계와, 상기 제1검색단계에서 수신메세지가 시작메세지가 아니라고 판단시 시작메세지 플레그가 세트되었는가를 검색하여 상기 플레그가 세트되었을 때에만 수신메세지를 내부 큐에 버퍼링 저장하고 종료메세지(ETX)가 수신되는가를 검색하는 제3단계와, 상기 제3단계에서 종료메세지를 미수신 하였다고 판단시 리턴하고, 종료메세지를 수신하였다고 판단시 수신카운터(Receive-Counter)(REC-CNT)를 증가하는 제4단계로 이루어짐을 특징으로 하는 방법.3. A first message searching step according to claim 1 or 2, wherein a first message searching step of searching for a start message (STX) upon receiving a message from the electronic switching system (20) in a receiving processing step; A second step of buffering and storing a received message in a queue, which is an internal memory, and setting a start message flag when the first message is determined to be a start message; and a start message flag is set when it is determined that the received message is not a start message in the first search step. If the flag is set and the received message is buffered and stored in the internal queue only when the flag is set, the third step of retrieving whether the end message (ETX) is received; And a fourth step of increasing a Receive-Counter (REC-CNT) upon determining that the end message has been received. 제3항에 있어서, R-피일드 처리 단계는 내부 큐에 저장된 바이너리 프로토콜의 잡-일련 번호를 리이드(Read)하여 요구한 잡입일련번호와 동일한가를 검색하는 제1단계와, 상기 제1단계의 검색결과 요구한 작업일련번호가 아니라고 판단시에 수신카운터(REC-CNT)를 감소하여 리턴하는 제2단계와, 상기 제1단계에서 요구됨과 동일하다고 판단시 수신메세지의 R피일드 데이터를 리이드하고 그 상태를 분석하여 표시처리하는 상태표시단계로 이루어짐을 특징으로 하는 방법.[4] The method of claim 3, wherein the R-feed processing step comprises: a first step of reading a job serial number of a binary protocol stored in an internal queue and searching for the same job serial number as requested; When the search result is determined that the requested job serial number is not the second step of reducing and returning the reception counter (REC-CNT), and if it is the same as required in the first step, the R feed data of the received message is read. And a status display step of analyzing and displaying the status.
KR1019920000094A 1992-01-07 1992-01-07 Interface method by binary protocol KR950003719B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920000094A KR950003719B1 (en) 1992-01-07 1992-01-07 Interface method by binary protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920000094A KR950003719B1 (en) 1992-01-07 1992-01-07 Interface method by binary protocol

Publications (2)

Publication Number Publication Date
KR930017461A KR930017461A (en) 1993-08-30
KR950003719B1 true KR950003719B1 (en) 1995-04-17

Family

ID=19327605

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920000094A KR950003719B1 (en) 1992-01-07 1992-01-07 Interface method by binary protocol

Country Status (1)

Country Link
KR (1) KR950003719B1 (en)

Also Published As

Publication number Publication date
KR930017461A (en) 1993-08-30

Similar Documents

Publication Publication Date Title
US4559614A (en) Interactive code format transform for communicating data between incompatible information processing systems
US4604710A (en) System for converting data processing information to text processing format and vice versa
EP0013739B1 (en) Communication controller in a data processing system
US4568161A (en) Computer controlled slide projector interface arrangement
US4672574A (en) Data communication system with terminal for displaying the coded stream of data being transmitted
KR950003719B1 (en) Interface method by binary protocol
US4728925A (en) Data communications analyzer
EP0076902B1 (en) System for converting data processing information to text processing format and vice versa
JPH05244230A (en) Data transmission test equipment
EP0378398A2 (en) Data processing system with means for detecting status of data processing device receiving commands
KR0161164B1 (en) Apparatus for storing and outputting system analysis data in the switching system and method thereof
KR910002933B1 (en) Message display method inkeyphone
JP2605491B2 (en) Equipment management controller
KR930010293B1 (en) User program loading method
KR930001815B1 (en) Interface method of digital information transmit system
JPH1083273A (en) Multiwindow controller
KR970058086A (en) Control method of subscriber information processing device simulator for personal communication switch
JPH01169652A (en) Transmission interruption request control system
KR100678098B1 (en) Memory access method for transmission apparatus
KR19990009915A (en) How to check a private exchange
JP2539517B2 (en) Communication control method
KR100279823B1 (en) How to retrieve the ASCII data of the Number 7 protocol
JPH05120166A (en) On-line system having terminal simulating function
JP2527586B2 (en) Measurement data collection processing system
Dromard et al. A microprogrammed data communications procedure controller

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: 20040324

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee