Abstract
In this paper, the basic architecture of an agent system was designed and a KQML(Knowledge Query and Manipulation Language) handler was implemented to handle 'tell', 'ask', 'handles' and 'interested' KQML performatives. The basic architecture of an agent system consists of a KQML handler, a KIF interpreter and a Flow control code. Agents use KIF(Knowledge Interchange Format) to represent the actual knowledges that are transmitted. They communicate others via an external language called KQML, which contains contents of messages written in KIF. The KQML handler controls communication. Contents of messages through it are stored and interpreted by the KIF interpreter. The flow control code controls the flow of program and information and performs engineering tasks. It gets knowledges from the knowledge base of the KIF interpreter and the other agents.
본 연구에서는 에이전트 기본 아키텍쳐를 설계하였고 다른 에이전트에게 관심있는 정보를 등록하는 메시지, 처리할 수 있는 업무를 표시하는 메시지, 정보를 알려주는 메시지, 정보에 대해 질문하는 메시지를 처리하는 KQML 처리기의 기본적인 알고리즘을 구현하였다. 에이전트 기본 아키텍쳐는 KQML 처리기가 KIF 번역기, 제어코드(Flow control code)로 구성되어 있다. 에이전트는 전달하고자 하는 지식을 KIF(Knowledge Interchange Format)로 표현하여 메시지 통신을 위한 외부 언어인 KQML(Knowledge Query and Manipulation Language)을 통해 실어나르는데 KQML 처리기가 메시지 통신을 관리한다. KQML 처리기를 통해 전달된 메시지의 내용은 KIF 번역기에 의해 저장되고 해석된다. 제어 코드는 프로그램의 수행 순서 및 정보의 흐름을 제어하여 실제 목표하는 일을 수행하는 프로그램 코드이며 KIF 번역기의 지식 베이스(Knowledge Base)에서 필요한 정보를 얻어서 내부 실행 코드와 외부 프로그램을 관리한다.