Claims (1)
메시지 처리 시스템의 동작을 제어하는 주프로세서(1)와, 컴퓨터를 접속하고 있는 사설교환기(5)와, 상기 사설교환기(5)의 전화라인을 각각 4회선씩 접속하고 있는 제1, 제2접속장치(3,4)와, 제1채널(CHA)를 제1접속장치(3)에 접속하고 제2채널(CHB)를 제2접속장치에 접속하여 상기 주프로세서(1)와 제1및 제2접속장치(3,4)만의 통신을 제어하는 접속제어부(2)를 구비한 메시지 처리 시스템과 사설교환기간의 인터페이싱 방법에 있어서,상기 주프로세서(1)에서 전송데이타 발생시 데이타중의 회선번호를 검사하는 제1과정과, 상기 제1과정에서 회선번호가 4보다 클시 회선번호에서 4를 감산하여 상기 제1접속장치(2)의 회선을 지정하는 동시에 제1채널(CHA)의 송신버퍼에 저장하는 제2과정과, 상기 제2과정 수행후 송신버퍼에 저장된 데이타를 DMA방식으로 제1접속장치(3)에 전송하는 제3과정과, 상기 제1과정에서 회선번호가 4이하 일시 해당 회선번호로 제2접속장치(4)의 회선을 지정하는 동시에 제2채널(CHB)의 송신버퍼에 저장하는 제4과정과, 상기 제4과정중 수행후 송신버퍼에 저장된 데이타를 인터럽트 방식으로 제2접속장치(40가 전송하는 제5과정과, 상기 접속장치(3,4)에서 전송데이타 발생시 수신채널을 검사하는 제6과정과, 상기 제6과정에서 DMA방식의 제1채널(CHA)로 수신시 현재의 회선번호에 4를 더하여 수신메시지를 주프로세서(1)로 전송하는 제7과정과, 상기 제6과정에서 인터럽트 방식의 제2채널(CHB)로 수신시 현재 회선번호의 수신메시지를 주프로세서(1)로 전송하는 제8과정으로 이루어짐을 특징으로 하는 메시지 처리 시스템과 사설현관기에 접속된PC와의 인터페이싱 방법.1st and 2nd connection which connects the main processor 1 which controls operation | movement of a message processing system, the private exchanger 5 which connects a computer, and the telephone line of the said private exchanger 5 four lines, respectively. The main processor 1 and the first and the first devices are connected by connecting the devices 3 and 4 and the first channel CHA to the first connection device 3 and the second channel CHB to the second connection device. A method of interfacing a message processing system with a connection control unit (2) for controlling communication of only two connection devices (3, 4) and a private exchange period, wherein the line number in data is transmitted when the main processor (1) generates transmission data. In the first step of checking, and when the line number is greater than 4 in the first step, the subtracting 4 from the line number designates the line of the first access device 2 and stores it in the transmission buffer of the first channel CHA. The second access step and the first access device (3) by the DMA method to the data stored in the transmission buffer after performing the second step A third process of transmitting to the second process unit and a fourth process of designating a line of the second access device 4 as the corresponding line number at the same time during the first process and storing it in the transmission buffer of the second channel (CHB). And a fifth process of transmitting the data stored in the transmission buffer after the fourth process by the second connection device 40 in an interrupt manner, and checking the reception channel when transmission data occurs in the connection devices 3 and 4. A sixth process and a seventh process of transmitting a received message to the main processor 1 by adding 4 to the current line number when receiving the DMA first channel CHA in the sixth process; And an eighth process of transmitting the received message of the current line number to the main processor (1) when the second channel (CHB) of the interrupt method is received. .
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.