Claims (2)
비동기 전송모드방식의 스위칭 시스템에서 해당 프로세서와 타프로세서간에 통신 메시지를 송수신처리하는 장치에 있어서, 상기 해당 프로세서와 양방향 억세스 방식으로 메시지를 송수신하기 위한 송수신용 버퍼; 상기 통신 메세지 송수신처리장치의 전기능을 제어하는 중앙처리장치; 상기 타 프로세서로부터 메시지 수신시 비동기 전송모드(ATM)셀의 조립을 수행하는 SARA-R; 상기 타 프로세서로 메시지 송신시 비동기 전송모드 셀을 모아패킷형태로 분할하는 SATA-S; 상기 중앙처리장치에 의해 제어되어 상기 조립된 패킷 또는 분할된 패킷메세지가 저장되는 패킷메모리; 상기 셀조립에 필요한 정보 또는 셀을 분할하는데 필요한 정보가 저장되는 콘트롤 메모리; 상기 메시지 송수신기 패킷포인터를 저장하는 주기억장치를 포함함을 특징으로 하는 비동기 전송모드 방식의 스위칭 시스템에 있어서 프로세서간 통신메세지 송수신처리장치.An apparatus for transmitting and receiving a communication message between a processor and another processor in an asynchronous transmission mode switching system, the apparatus comprising: a buffer for transmitting and receiving a message in a bidirectional access method with the processor; A central processing unit controlling all functions of the communication message transmission and reception apparatus; A SARA-R for assembling an Asynchronous Cell (ATM) cell when receiving a message from the other processor; SATA-S that collects asynchronous transmission mode cells and divides them into packets when transmitting a message to another processor; A packet memory controlled by the central processing unit to store the assembled packet or the divided packet message; A control memory for storing information necessary for cell assembly or information necessary for dividing a cell; And a main memory device for storing the message transceiver packet pointer.
비동기 전송모드방식의 스위칭 시스템에서 해당 프로세서와 타프로세서간에 통신메세지를 송수신처리하는 방법에 있어서, 상기 해당 프로세서로부터 상기 타 프로세서로 이루어지는 통신메세지 송신은 상기 해당 프로세서로부터 전송된 데이터를 수록하는 송신용 버퍼를 주기적으로 검사하는 단계, 상기 검사단계에 의하여 전송할 메시지가 존재하면 프리큐로부터 한 개의 빈노드를 획득하는 단계, 상기 송신용 버퍼에 존재하는 메시지의 포인터를 획득하고, 획득된 메시지 포인터를 획득된 상기 빈노드에 수록하는 단계, 해당 윈도우를 찾아 상기 메시지 포인터를 윈도우의 메시지 큐에 연결하는 단계, 상기 윈도우의 포인터를 상기 빈노드에 수록하는 단계, 상기 윈도우의 포인터와 메시지 포인터를 수록한 상기 노드를 전송대기 큐에 연결하여 전송 대기 상태로 설정하는 단계, 상기 설정단계가 완료되면 송신카운트를 증가하는 단계, 상기 송신용 버퍼에 전송할 데이터가 없는 상태에서 전송할 데이터가 존재하면 송신대기상태 큐로부터 한 개의 노드를 취하는 단계, 상기 윈도우 포인터를 이용하여 윈도우를 역으로 찾는 단계, 상기 윈도우를 찾는 단계에서 찾아진 윈도우가 정상이면, 셀분할에 필요한 정보들을 송신용 콘트롤 메모리에 저장하고, 해당 데이터를 송신용 패킷 메모리의 해당 포인터에 저장하는 단계, 상기 송신용 버퍼를 전송 완료상태로 설정하는 단계, 상기 노드를 프리큐로 되돌려 주고 상기 송신 카운트 값을 감소하는 단계를 포함하고, 상기 타 프로세서로부터 상기 해당 프로세서로 이루어지는 통신메시지 수신은, 셀형태의 메시지가 수신되면, 메시지를 조립하는 단계, 상기 메시지 조립이 종료되면, 패킷 완료큐에 디스크립터 번호를 수록하고, 수신완료 인터럽트를 발생하는 단계, 상기 수신완료 인터럽트가 발생되면, 상기 패킷완료 큐로부터 상기 디스크립터를 읽어 패킷 포인터를 취하는 단계, 패킷 메모리의 프리큐로부터 한 개의 노드를 획득한 후, 상기 패킷 포인터와 상기 디스크립터 번호를 함께 수록하는 단계, 상기 노드를 수신대기 큐에 연결하고 수신 카운트값을 증가하는 단계, 수신데이타가 존재하면, 상기 수신용 패킷메모리에서 수신하고자 하는 메시지가 수록되어 있는 노드를 획득하여 상기 수신용패킷메모리로부터 수신용 버퍼로 메시지를 카피하는 단계, 카피된 메시지에 대한 디스크립터번호를 라지 프리 큐(LFQ)에 수록하고, 해당 노드를 제거하는 단계, 수신카운트값을 감소하는 단계를 포함함을 특징으로 하는 비동기 전송모드방식의 스위칭 시스템에 있어서 프로세서간 통신메세지 송수신 처리방법.A method for transmitting and receiving communication messages between a corresponding processor and another processor in a switching system of an asynchronous transfer mode method, wherein the transmission of the communication message from the corresponding processor to the other processor includes data transmitted from the corresponding processor Periodically checking, obtaining an empty node from a prequeue if there is a message to be transmitted by the checking step, obtaining a pointer to a message existing in the transmission buffer, and obtaining the obtained message pointer. Recording the empty node, connecting the message pointer to a message queue of a window by finding the corresponding window, recording the pointer of the window to the empty node, and storing the pointer and the message pointer of the window. To connect to the queue Setting to a standby state, incrementing a transmission count when the setting step is completed, taking a node from a transmission standby state queue when there is data to be transmitted in a state in which there is no data to be transmitted in the transmission buffer, the window If the window found in the step of finding the window in reverse using the pointer, and the window found in the step of finding the window is normal, information necessary for cell division is stored in the transmission control memory, and the data is stored in the corresponding pointer of the transmission packet memory. And setting the transmission buffer to a transmission completion state, returning the node to a pre-queue and decreasing the transmission count value, and receiving a communication message from the other processor to the corresponding processor, When the message in cell form is received, assembling the message; When the message assembly is completed, storing the descriptor number in the packet completion queue, generating a reception interrupt, and when the reception interrupt is generated, reading the descriptor from the packet completion queue and taking a packet pointer, Acquiring one node from a prequeue, recording the packet pointer and the descriptor number together, connecting the node to a reception queue, and increasing a reception count value, and if reception data is present, Acquiring a node containing a message to be received in a packet memory and copying the message from the receiving packet memory to a receiving buffer, storing a descriptor number for the copied message in a large pre-queue (LFQ), and Removing the node, and reducing the reception count value. Asynchronous transfer mode system processor communication between the message transmitting and receiving method in the switching system of which.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.