Improvement of Colored Thread Algorithm for Loop Prevention

루프 방지를 위한 칼라 스레드 알고리즘의 개선

  • 김한경 (창원대학교 컴퓨터공학과)
  • Published : 2001.12.01

Abstract

Colored thread algorithm suggested by Ohba is understood to be effective to prevent from establishing path in loop. 3 kinds of thread state, such as null, colored, transparent, defined in colored thread algorithm which makes difficult and complex to design actions of the thread events, is reconfigured and improved to a 4 states to make the finite state machines simple. The original colored thread algorithm fonds loops by receiving thread of a same color that was generated by the initiator itself and confirms the loops by hop count of unknown thread traversed again along the looped path. This method is modified as to use the same color instead of generating new colored thread for the looped path, leading to save the traversing time. And also redefined the events to make easy coupling with existing protocols.

Ohba에 의해 제안된 칼라 스레드 알고리즘은 루프 경로 설정을 방지하기 위한 새로운 접근 방법으로서 효과적으로 인식되고 있다. 칼라 스레드 알고리즘에서는 스레드의 상태를 null, colored, 7ansparent의 3 종류로 정의함에 따라, 동작의 내부 알고리즘이 복잡한데, 이를 4개 상태로 확대하여 유한상태 기계를 개선하였다. 또 루프 경로를 도출하기 위하여 스레드가 일단 중복이 되면 다시 새로운 칼라를 생성하여 다시 확장하고, 그것이 다시 접수되면 unknown 홉 카운트를 갖는 스레드로 재차 확장하는 방식을 기존의 칼라 스레드를 그대로 사용케 함으로써 네트워크 운행 횟수를 최소한 1회 절약되도록 하였으며 이벤트를 재정의하여 기존의 라우팅 프로토콜과의 결합이 용이하도록 하였다.

Keywords