Claims (2)
패킷라우터 접속장치와 버스 제어장치, 패킷버스 모듈을 구비하는 패킷라우터에 적용되는 패킷 데이타 교환처리방법에 있어서, 소스 주소 카운터(Source Address Counter)값을 초기화시키고, 패킷라우팅시 발생하는 에러의 갯수를 계수하는 변수값(ERR-CNT)을 초기화시키고, 소스 주소 카운터(Source Address Counter)를1씩 증가시킨후, 각 패킷라우터 접속장치는 채널에 교환할 패킷 데이타가 있는가를 검사하는 제1단계; 패킷라우터 접속장치의 송신부는 소스 주소 카운터(Source Address Counter)값을 자신의 고유채널번호와 비교하고 교환할 데이타가 없는 경우에는 플래그 신호를 "0"으로 출력시키며, 교환할 데이타가 있는 경우 플래그 신호를 "1"로 출력시킨 후 교환할 패킷데이타의 Byte단위의 길이를 나타내는 DATA-CNT변수를 메모리로부터 읽어들이는 제2단계; 패킷 버스 제어장치에서 FIFO데이타 읽기(Read)신호(RD)가 인에이블될 때까지 대기한 후 RD신호가 인에이블될때마다 데이타와 태그 비트를 송신로로부터 읽어내는 제3단계; 패킷버스 제어장치는 플래그 신호가 "0"인 경우 교환할 데이타가 없는 것으로 인식하여 소스 주소를 증가시켜 다른 채널에 대한 검사를 수행하고 플래그 신호가 "1"인 경우 소스 주소 카운터 값을 래치시키고 FIFO데이타 읽기(RD)를 패킷버스상으로 출력시키며, 태그 비트에 에러가 발생하였는지의 여부를 검사하는 제4단계; 태그 비트가 유효한 경우에는 개시 태그인가 엔드 태그인가를 검사하여 개시 태그인 경우에는 데이타버스상에 래치되어 있는 데이타를 목적지 주소로 간주하고, 이 값을 목적지 주소에 출력시키는 제5단계; 개시 태그와 엔드 태그가 아닌 경우에는 데이타 버스상에 래치되어 있는 데이타를 목적지 주소(Destination Address)쪽으로 쓰기(Write)시키기 위한 신호(WR)를 출력시킨후, 다음번의 FIFO데이타를 읽어들이기 위한 읽기 신호(RD)를 출력시키며, 엔드 태그인 경우에는 소스 주소값을 증가시켜 다음 번의 채널을 반복적으로 서비스하는 한편, 태그에 에러가 발생한 경우에는 RST신호를 출력시켜 해당 송수신 FIFO를 리세트시키는 제6단계; 모든 패킷라우터 접속장치의 수신부는 항상 목적지 주소값과 자신의 노드 주소를 계속적으로 비교하여 일치하는 경우 수신 FIFO쓰기 신호 WR을 기다리고 WR신호에 따라, 패킷버스의 데이타 버스상에 있는 데이타와 태그 비트를 각각 수신 FIFO(데이타용 FIFO, 태그용 FIFO)에 입력시키는 제7단계; 패킷데이타와 동시에 수신하는 태그 비트가 엔드상태를 나타내면, 수신 FIFO내의 패킷프레임의 상태를 나타내는 프레임 카운터를 증가시킨후, 다음의 패킷을 수신하기 위한 상태로 이동하는 과정을 반복 수행하는 제8단계; 패킷라우터 접속장치의 패킷처리부의 수신모듈은 제어국내의 각 서브시스템과 접속이 되면, 초기 상태에서 프레임 카운터와 패킷길이를 계수하는 길이 카운터를 리세트시킨후, 지속적으로 HDLC플래그신호(01111110)를 검출하기 위한 모드에 있게 되며, HDLC플래그가 검출되면, 지속적으로 입력되는 직렬형태의 패킷데이타를 또 다른 HDLC플래그가 입력될때까지 수신하는 제9단계; 메모리에 저장된 패킷데이타의 목적지 주소를 분석하여 패킷라우터의 노드 주소를 패킷데이타의 맨 앞에 부가하고 송신 FIFO의 오버플로우 여부를 검사하여 오버플로우가 발생하지 않은 경우에는 패킷의 길이를 계수한 값을 메모리에 저장하고, 메모리에 있는 패킷 데이타를 송신 FIFO에 Write시키고, 송신 FIFO내에 있는 패킷 데이타의 수를 나타내는 프레임 계수기를 증가시키는 제10단계; 패킷라우터 접속장치의 패킷 처리부의 송신모듈은 항상 수신 FIFO에 전송할 패킷데이타가 있는지를 검사하며, 전송할 데이타가 있는 경우에는 수신 FIFO에 있는 병렬형태의 데이타를 HDLC콘트롤러(Serial Communication Controller)로 패킷단위로 읽어내고, 프레임카운터의 값을 감소시키는 일련의 과정을 반복하여 수행하는 제11단계; 를 포함하여 이루어지는 것을 특징으로 하는 디지틀 이동통신 제어국내 패킷 데이타 교환 처리 방법.In a packet data exchange processing method applied to a packet router including a packet router connection device, a bus control device, and a packet bus module, a source address counter value is initialized, and the number of errors generated during packet routing is determined. A first step of initializing the count value ERR-CNT, incrementing the source address counter by one, and checking whether there is packet data to be exchanged in the channel; The transmitter of the packet router access device compares the source address counter value with its own channel number and outputs a flag signal as "0" when there is no data to be exchanged. Outputting "1" to read the data-CNT variable representing the length in bytes of packet data to be exchanged from the memory; A third step of waiting until the FIFO data read signal RD is enabled in the packet bus controller and then reading data and tag bits from the transmission each time the RD signal is enabled; If the flag signal is "0", the packet bus controller recognizes that there is no data to exchange and increases the source address to check the other channel, and if the flag signal is "1", latches the source address counter value and FIFO. A fourth step of outputting a data read RD on the packet bus and checking whether an error has occurred in a tag bit; A fifth step of checking whether the tag bit is valid, whether the starting tag or the end tag, and in case of the starting tag, regards the data latched on the data bus as the destination address and outputs the value to the destination address; If it is not a start tag and an end tag, a signal WR for writing the data latched on the data bus to the destination address is output, and then a read signal for reading the next FIFO data. A sixth step of outputting the RD signal and increasing the source address value in the case of the end tag to repeatedly service the next channel, and outputting an RST signal to reset the transmission / reception FIFO in case of an error in the tag. ; The receiver of every packet router interface always compares the destination address with its own node address and waits for the receive FIFO write signal WR if there is a match and matches the data and tag bits on the data bus of the packet bus according to the WR signal. A seventh step of inputting to a reception FIFO (data FIFO, tag FIFO), respectively; If the tag bit received simultaneously with the packet data indicates an end state, an eighth step of incrementing a frame counter indicating a state of the packet frame in the received FIFO and then repeatedly moving to a state for receiving the next packet; When the receiving module of the packet processing unit of the packet router connection device is connected to each subsystem in the control station, the receiving module resets the frame counter and the length counter for counting the packet length in the initial state, and then continuously receives the HDLC flag signal (01111110). A ninth step of being in a mode for detecting and receiving a serial packet data continuously inputted when the HDLC flag is detected until another HDLC flag is input; Analyzes the destination address of the packet data stored in the memory, adds the node address of the packet router to the beginning of the packet data, checks whether the send FIFO overflows, and if the overflow does not occur, counts the length of the packet. Storing the packet data in the memory, writing the packet data in the memory to the transmission FIFO, and increasing a frame counter indicating the number of packet data in the transmission FIFO; The sending module of the packet processing unit of the packet router access unit always checks whether there is packet data to be transmitted to the receiving FIFO. If there is data to be transmitted, the parallel data in the receiving FIFO is transmitted to the HDLC controller (Serial Communication Controller) in packet units. An eleventh step of reading out and repeating a series of processes of decreasing a value of a frame counter; Packet data exchange processing method within a digital mobile communication control station comprising a.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.