JPH05324009A - Agent control method - Google Patents
Agent control methodInfo
- Publication number
- JPH05324009A JPH05324009A JP12445092A JP12445092A JPH05324009A JP H05324009 A JPH05324009 A JP H05324009A JP 12445092 A JP12445092 A JP 12445092A JP 12445092 A JP12445092 A JP 12445092A JP H05324009 A JPH05324009 A JP H05324009A
- Authority
- JP
- Japan
- Prior art keywords
- data
- internal state
- program
- database
- definition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Manipulator (AREA)
- Feedback Control In General (AREA)
Abstract
(57)【要約】
【目的】 通信動作データの意味付けが明確で、プログ
ラムデータの記述を簡潔になし得るエージェント制御方
式を提供する。
【構成】 動作解釈部5により動作定義データベース4
から、入力バッファ3の通信動作データと名前データが
互いに一致してなる動作定義データに記載の内部状態デ
ータが出力され、内部状態更新部6により、内部状態デ
ータベース1から上記の出力された内部状態データと矛
盾する内部状態データが除去されて、上記出力された内
部状態データが格納され、プログラム解釈部7により、
プログラムデータベース2から、これに記述の内部状態
データが上記の更新された内部状態データと一致してな
るプログラムデータに記述の動作データが出力される。
【効果】 通信動作データが明確に定義されて、通信動
作の意味付けが明確になり、プログラムデータに通信動
作データを記述する必要がなくなって、プログラムデー
タの記述が簡潔になる。
(57) [Abstract] [Purpose] To provide an agent control method in which the meaning of communication operation data is clear and the description of program data can be simplified. [Structure] The action definition database 4 by the action interpreting unit 5
Outputs the internal state data described in the operation definition data in which the communication operation data of the input buffer 3 and the name data match each other, and the internal state update unit 6 outputs the above internal state from the internal state database 1. The internal state data contradictory to the data is removed, the output internal state data is stored, and the program interpretation unit 7
From the program database 2, the operation data described is output to the program data in which the internal state data described therein matches the updated internal state data. [Effect] The communication operation data is clearly defined, the meaning of the communication operation is clarified, it is not necessary to describe the communication operation data in the program data, and the description of the program data is simplified.
Description
【0001】[0001]
【産業上の利用分野】本発明は、外部と相互作用しなが
ら自律的に作動可能にしてなるコンピュータシステムに
よる自律型ロボットなどのエージェントを、外部と互い
に通信しながら作動すべく制御するエージェント制御方
式に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an agent control system for controlling an agent such as an autonomous robot by a computer system capable of operating autonomously while interacting with the outside so as to operate while communicating with the outside. It is about.
【0002】[0002]
【従来の技術】従来、互いに通信しながら動作するよう
に制御するエージェント制御方式として、AGENTO(Y.Sho
ham 著、AGENTO:A Simple Agent Language and its Int
erpreter. In Proceedings of AAAI-91, pp704-709,199
1)が提案されている。AGENTOで採用されているエージェ
ント制御方式は、当該エージェントが備えている知識や
信念などを示す内部状態データが格納される内部状態デ
ータベースと、他のエージェントから通信された通信動
作データが一時的に格納される入力バッファと、他のエ
ージェントからある通信動作データが通信されたとき、
当該エージェントがある内部状態を有する場合に実行す
べき動作を記述したプログラムデータが格納されるプロ
グラムデータベースと、入力バッファから通信動作デー
タを取り出し、ある規則に従って前記内部状態データベ
ースを更新する内部状態更新部と、当該プログラムデー
タベースに格納されているプログラムデータの内、該プ
ログラムデータに記述された通信動作データが、入力バ
ッファから取り出された通信動作データと一致し、且つ
該プログラムデータに記述された内部状態データが、前
記内部状態データベースに格納されている内部状態デー
タと一致するプログラムデータを取り出し、該プログラ
ムデータに記述された動作データを出力するプログラム
解釈部とを有する、制御方式である。2. Description of the Related Art Conventionally, AGENTO (Y.Sho
ham, AGENTO: A Simple Agent Language and its Int
erpreter. In Proceedings of AAAI-91, pp704-709,199
1) is proposed. The agent control method used in AGENTO temporarily stores the internal state database that stores the internal state data that indicates the knowledge and beliefs of the agent, and the communication operation data that is communicated from other agents. When a certain communication operation data is communicated from the input buffer that is
A program database that stores program data that describes an operation to be executed when the agent has a certain internal state, and an internal state update unit that extracts communication operation data from an input buffer and updates the internal state database according to a certain rule. And among the program data stored in the program database, the communication operation data described in the program data matches the communication operation data retrieved from the input buffer, and the internal state described in the program data The control method includes: a program interpreting unit that takes out program data whose data matches the internal state data stored in the internal state database and outputs operation data described in the program data.
【0003】[0003]
【発明が解決しようとする課題】上述した従来のエージ
ェント制御方式では、外部から通信された通信動作デー
タがプログラムデータに記述されているため、通信動作
データの意味付けが不明確であるという問題と、プログ
ラムデータの記述が複雑になるという問題とがある。In the above-mentioned conventional agent control method, since the communication operation data communicated from the outside is described in the program data, the meaning of the communication operation data is unclear. However, there is a problem that the description of program data becomes complicated.
【0004】本発明の目的は、通信動作データの意味付
けが明確であり、且つプログラムデータの記述を簡潔に
なし得るエージェント制御方式を提供することにある。An object of the present invention is to provide an agent control system in which the meaning of communication operation data is clear and the description of program data can be simplified.
【0005】[0005]
【課題を解決するための手段】本発明は上記目的を達成
するために、当該エージェントが備えている知識や信念
などを示す内部状態データが格納される内部状態データ
ベースと、当該エージェントがある内部状態を有してい
るときに実行すべき動作を記述したプログラムデータが
格納されるプログラムデータベースと、他のエージェン
トから通信された通信動作データが一時的に格納される
入力バッファと、通信動作の名前データと、該通信動作
の効果を表した内部状態データとを記述した動作定義デ
ータが格納される動作定義データベースと、前記入力バ
ッファから通信動作データを取り出し、前記動作定義デ
ータベースに格納された動作定義データの内、動作定義
データの名前データが該通信動作データと一致してなる
動作定義データに記述された内部状態データを出力する
動作解釈部と、前記内部状態データベースに格納された
内部状態データの内、前記動作解釈部から出力された内
部状態データと矛盾する内部状態データを前記内部状態
データベースから除去し、前記動作解釈部から出力され
た該内部状態データを前記内部状態データベースに格納
する内部状態更新部と、前記プログラムデータベースに
格納されているプログラムデータの内、該プログラムデ
ータに記述された内部状態データが前記内部状態データ
ベースに格納されている内部状態データと一致してなる
プログラムデータを取り出し、該プログラムデータに記
述された動作データを出力するプログラム解釈部とを有
する、制御方式とした。In order to achieve the above object, the present invention provides an internal state database in which internal state data indicating knowledge and beliefs of the agent are stored, and an internal state in which the agent is present. The program database that stores the program data that describes the operation to be executed when there is an input buffer, the input buffer that temporarily stores the communication operation data that is communicated from another agent, and the name data of the communication operation And an operation definition database that stores operation definition data that describes the internal state data that represents the effect of the communication operation, and the operation definition data that is extracted from the input buffer and the communication operation data is stored in the operation definition database. Of the action definition data whose name data matches the communication action data Among the internal state data stored in the internal state database, the internal state data stored in the internal state data stored in the internal state database, and the internal state data inconsistent with the internal state data output from the internal state database. The internal state data output from the operation interpreting unit and stored in the internal state database, and the program data stored in the program database. The control system has a program interpreting unit that takes out program data whose internal state data matches the internal state data stored in the internal state database and outputs the operation data described in the program data.
【0006】[0006]
【作用】本発明によれば、動作解釈部により、外部から
の通信動作データが入力バッファから取り出され、動作
定義データベースに格納された動作定義データの内、動
作定義データの名前データが該通信動作データと一致し
てなる動作定義データに記述された内部状態データが出
力される。そして内部状態更新部により、内部状態デー
タベースに格納された内部状態データの内、上記の動作
解釈部から出力された内部状態データと矛盾する内部状
態データが内部状態データベースから除去され、代わり
に、上記の動作解釈部から出力された内部状態データが
内部状態データベースに格納される。そしてプログラム
解釈部により、プログラムデータベースに格納されてい
るプログラムデータの内、該プログラムデータに記述さ
れた内部状態データが、内部状態データベースに格納さ
れている上記の更新された内部状態データと一致してな
るプログラムデータが取り出され、該プログラムデータ
に記述された動作データが、実行すべき動作データとし
て出力される。According to the present invention, the action interpreting unit retrieves the communication action data from the outside from the input buffer and, out of the action definition data stored in the action definition database, the name data of the action definition data is the communication action data. The internal state data described in the action definition data that matches the data is output. Then, the internal state update unit removes internal state data stored in the internal state database, which is inconsistent with the internal state data output from the operation interpreting unit, from the internal state database. The internal state data output from the operation interpreting unit is stored in the internal state database. Then, by the program interpreting unit, among the program data stored in the program database, the internal state data described in the program data matches the updated internal state data stored in the internal state database. The program data is extracted, and the operation data described in the program data is output as the operation data to be executed.
【0007】[0007]
【実施例】本発明の実施例について図を参照して説明す
る。Embodiments of the present invention will be described with reference to the drawings.
【0008】図1は本発明の一実施例を示すエージェン
ト制御方式のシステム構成図である。同図において、実
線は処理の流れを表し、破線はデータの流れを表す。FIG. 1 is a system configuration diagram of an agent control system showing an embodiment of the present invention. In the figure, the solid line represents the flow of processing, and the broken line represents the flow of data.
【0009】1は内部状態データベースで、当該エージ
ェントが有している知識や信念などを示す内部状態デー
タが格納されている。An internal state database 1 stores internal state data indicating knowledge and beliefs possessed by the agent.
【0010】2はプログラムデータベースで、当該エー
ジェントがある内部状態を有するときに実行すべき動作
を記述したプログラムデータが格納されている。A program database 2 stores program data in which an operation to be executed when the agent has a certain internal state is stored.
【0011】3は入力バッファで、他のエージェントか
ら通信された通信動作データが一時的に格納される。An input buffer 3 temporarily stores communication operation data transmitted from another agent.
【0012】4は動作定義データベースで、通信動作の
名前データと、該通信動作の効果を表した内部状態デー
タとを記述した動作定義データとが格納されている。An operation definition database 4 stores name data of communication operation and operation definition data describing internal state data representing the effect of the communication operation.
【0013】5は動作解釈部5で、入力バッファ3から
通信動作データを取り出し、動作定義データベース4に
格納された動作定義データの内、動作定義データの名前
データが該通信動作データと一致してなる動作定義デー
タに記述された内部状態データを出力する。Reference numeral 5 denotes an operation interpreting unit 5 which extracts communication operation data from the input buffer 3 and matches the name data of the operation definition data with the communication operation data among the operation definition data stored in the operation definition database 4. The internal state data described in the action definition data is output.
【0014】6は内部状態更新部で、内部状態データベ
ース1に格納された内部状態データの内、動作解釈部5
から出力された内部状態データと矛盾する内部状態デー
タを内部状態データベース1から除去し、代わりに、動
作解釈部5から出力された該内部状態データを内部状態
データベース1に格納する。Reference numeral 6 denotes an internal state updating unit, which is an operation interpreting unit 5 of the internal state data stored in the internal state database 1.
The internal state data contradictory to the internal state data output from the internal state database 1 is removed from the internal state database 1, and the internal state data output from the operation interpreting unit 5 is stored in the internal state database 1 instead.
【0015】7はプログラム解釈部で、プログラムデー
タベース2に格納されているプログラムデータの内、該
プログラムデータに記述された内部状態データが、内部
状態データベース1に格納されている内部状態データと
一致するプログラムデータを取り出し、該プログラムデ
ータに記述された動作データを出力する。Reference numeral 7 denotes a program interpreting unit, of the program data stored in the program database 2, the internal state data described in the program data matches the internal state data stored in the internal state database 1. The program data is taken out and the operation data described in the program data is output.
【0016】次に図2から図6に基づいて、図1の各部
における処理を詳細に説明する。Next, the processing in each part of FIG. 1 will be described in detail with reference to FIGS. 2 to 6.
【0017】図2は内部状態データベース1の記述例、
図3はプログラムデータベース2の記述例である。FIG. 2 shows a description example of the internal state database 1,
FIG. 3 is a description example of the program database 2.
【0018】これら各図は、当該エージェントをなして
いる書類配送ロボット「ロボ太」の制御を対象としたも
のである。図2において、内部状態データ11は、ロボ
太が有している責務を記述したもので、「書類が会議室
にあること(At(書類,会議室)と記述される)を実現
するという責務(CMT:commitmentの略)を、ロボ太が一
郎に対してもっている」ことを表している。内部状態デ
ータ12は、ロボ太がもっている信念を記述したもの
で、「書類が図書室にある(At(書類,図書室)と記述さ
れる)という信念(B:belief の略)をロボ太がもってい
る」ことを表している。同様に、内部状態データ13
は、別の書類配送ロボット「ロビン」に関するロボ太の
信念を記述したもので、「ロビンが事務室にいること(A
t(ロビン,事務室)と記述される)をロボ太が信じてい
る」ことを表している。Each of these figures is intended for the control of the document delivery robot "Robotai" which is the agent. In FIG. 2, the internal state data 11 describes the duty that Robota has, and is “the duty to realize that the document is in the conference room (described as At (document, conference room)). (Abbreviation of CMT: commitment), Robota has for Ichiro. ” The internal state data 12 describes the belief that Robo Futoshi has. It is the belief that a document is in the library (described as At (document, library)) (B: belief) I have something to say. ” Similarly, internal state data 13
Is a description of Robo Tai's belief regarding another document delivery robot, "Robin," that says "Robin is in the office (A
Robota believes in t (described as Robin, office) ”.
【0019】図3のプログラムデータベース2には、ロ
ボ太がある内部状態を有しているときに実行すべき動作
を記述したプログラムデータが格納されている。プログ
ラムデータは、変数を含んだ内部状態データと動作デー
タとの組で記述される。図3において、a,b,x,y,z は変
数を表す。図3のプログラムデータ21は、「ロボ太
が、エージェントa に対して、x がy にあることを実現
するという責務」をもち、「ロボ太が、x がz にあると
信じ」ていて、「ロボ太が、エージェントb がzにいる
と信じていない」ときに、「ロボ太は、z に移動(Move)
する」という動作を実行するというプログラムを表して
いる。同様に、プログラムデータ22は、「ロボ太が、
エージェントa に対して、x がy にあることを実現する
という責務」をもち、「ロボ太が、x がz にあると信
じ」ていて、「ロボ太が、エージェントb がz にいると
信じて」いるときに、「ロボ太は、b に『x がy にある
ことを実現する』ことを要求(Request) する」という動
作(これは通信動作である)を実行するというプログラ
ムを表している。The program database 2 shown in FIG. 3 stores program data describing the operation to be executed when the robot has a certain internal state. The program data is described as a set of internal state data including variables and operation data. In FIG. 3, a, b, x, y, z represent variables. The program data 21 in FIG. 3 has "the responsibility that Robo-tai realizes that x is in y to agent a", and "Robo-tai believes that x is in z". When "Robo-tai doesn't believe agent b is in z," he said, "Robo-tai moves to z.
It represents a program that executes the operation "do". Similarly, the program data 22 is
Agent a has a duty to realize that x is in y, and he says, "Robota believes that x is in z" and "Robota believes that agent b is in z." Represents a program that executes the operation (this is a communication operation) that "Robota requests b to" realize that x is in y "". There is.
【0020】図4は入力バッファ3の記述例、図5は動
作定義データベース4の記述例である。FIG. 4 shows a description example of the input buffer 3, and FIG. 5 shows a description example of the operation definition database 4.
【0021】図4において、入力バッファ3には、他の
エージェントから通信された通信動作データが一時的に
格納されている。動作データ31はロビンから通信され
た通信動作データであり、「ロビンはロボ太に『書類が
事務室にある』ことを通知(Inform)した」という通信動
作を表している。In FIG. 4, the input buffer 3 temporarily stores communication operation data transmitted from another agent. The operation data 31 is communication operation data transmitted from Robin, and represents the communication operation that "Robin has informed Robotai that" the document is in the office "."
【0022】図5の動作定義データベース4には、通信
動作の名前と効果とを記述した動作定義データが格納さ
れている。図5において、a,b,p は変数を表す。動作定
義データ41は、「通知する(Inform)」という通信動作
の定義を記述したもので、「a がb に対して、p である
ことを通知する」という名前の通信動作によって、「b
が、p であることを信じる」という効果があることを表
している。同様に、動作定義データ42は、「要求する
(Request) 」という通信動作の定義を記述したもので、
「a がb に対して、p を実現することを要求する」とい
う名前の通信動作によって、「b がa に対して、p を実
現するという責務をもつ」という効果があることを表し
ている。The action definition database 4 of FIG. 5 stores action definition data in which the name and effect of a communication action are described. In FIG. 5, a, b, p represent variables. The operation definition data 41 describes the definition of the communication operation of “notify (Inform)”, and the communication operation of the name “a notifies b to p that it is p”
, But I believe that it is p ”. Similarly, the action definition data 42 is “request”.
(Request) ”is a description of the communication operation definition.
The communication action named "a requests b to realize p" means that "b has the responsibility of realizing p to a". ..
【0023】図6は、図1における各部の処理のフロー
チャートである。実線は処理の流れを表し、破線はデー
タの流れを表す。FIG. 6 is a flowchart of the processing of each part in FIG. The solid line represents the processing flow, and the broken line represents the data flow.
【0024】動作解釈部5は、先ず、入力バッファ3か
ら通信動作データを取り出す(処理501)。次に、動
作定義データべース4に格納された動作定義データの
内、変数に適当な値を代入して、動作定義データの名前
データが処理501で取り出された通信動作データと一
致する動作定義データを検索する(処理502)。更
に、処理502で検索された動作定義データの効果欄に
記述された内部状態データを出力する(処理503)。
以下に図4および図5の具体例を用いて、動作解釈部5
による処理例を説明する。先ず図4の入力バッファ3か
ら通信動作データ31が取り出される(処理501)。
次に、図5の動作定義データベース4に格納された動作
定義データ41,42の内、変数に適当な値を代入し
て、動作定義データの名前データが処理501で取り出
された通信動作データと一致する動作定義データが検索
される(処理502)。この例では、図5の動作定義デ
ータ41に対し、変数a に「ロビン」、変数b に「ロボ
太」、変数p に「At(書類,事務室)」をそれぞれ代入
することで、動作定義データ41の名前データが通信動
作データ31と一致するので、動作定義データ41が検
索される。更に、処理502で検索された動作定義デー
タの効果欄に記述された内部状態データが出力される
(処理503)。この例では、図5の動作定義データ4
1の効果欄に記述された内部状態データに対し、変数b
に「ロボ太」、変数p に「At( 書類,事務室)」をそれ
ぞれ代入した内部状態データ「B(ロボ太、At( 書類,
事務室)」をそれぞれ代入した内部状態データ「B(ロ
ボ太,At( 書類,事務室))」が出力される。該内部状
態データは「ロボ太が、書類が事務室にあることを信じ
る」ことを表している。The operation interpreting unit 5 first takes out communication operation data from the input buffer 3 (process 501). Next, of the behavior definition data stored in the behavior definition database 4, an appropriate value is substituted for a variable, and the name data of the behavior definition data matches the communication behavior data extracted in the process 501. The definition data is searched (process 502). Further, the internal state data described in the effect column of the action definition data retrieved in the process 502 is output (process 503).
The operation interpretation unit 5 will be described below using the specific examples of FIGS. 4 and 5.
An example of processing by will be described. First, the communication operation data 31 is fetched from the input buffer 3 of FIG. 4 (process 501).
Next, of the action definition data 41, 42 stored in the action definition database 4 of FIG. 5, by substituting an appropriate value for a variable, the name data of the action definition data and the communication action data extracted in the process 501 are stored. The matching action definition data is searched (process 502). In this example, by substituting "robin" for the variable a, "robot thick" for the variable b, and "At (document, office)" for the variable p for the action definition data 41 of FIG. Since the name data of the data 41 matches the communication operation data 31, the operation definition data 41 is searched. Further, the internal state data described in the effect column of the action definition data retrieved in the process 502 is output (process 503). In this example, the action definition data 4 of FIG.
For the internal state data described in the effect column of 1, the variable b
"Robota, At (Documents, Documents, Office)" into the variable p and "At (Documents, Office)"
The internal state data “B (Robotai, At (Documents, Office))” in which each of “Office” is substituted is output. The internal state data indicates that "Robota believes that the document is in the office".
【0025】内部状態更新部6は、先ず内部状態データ
ベース1に格納された内部状態データの内、動作解釈部
5から出力された内部状態データと矛盾する内部状態デ
ータを、内部状態データベース1から除去する(処理6
01)。次に、動作解釈部5から出力された該内部状態
データを内部状態データベース1に格納する(処理60
2)。上述のように処理503により、動作解釈部5か
ら内部状態データ「B(ロボ太,At( 書類,事務室)」
が出力されたことにより、以下、該出力データを内部状
態データ14としてこれが参照される。以下に内部状態
データ14と、図1の具体例とを用いて、内部状態更新
部6による処理例を説明する。先ず、図2の内部状態デ
ータベース1に格納された内部状態データ11,12,
13の内、動作解釈部5から出力された内部状態データ
と矛盾する内部状態データが、内部状態データベース1
から除去される(処理601)。この例では、図1の内
部状態データ12(「ロボ太が、書類が図書室にあるこ
とを信じる」ことを表している)が、内部状態データ1
4(「ロボ太が、書類が事務室にあることを信じる」こ
とを表している)と矛盾するので、内部状態データベー
ス1から除去される。次に、動作解釈部5から出力され
た内部状態データ14が内部状態データベース1に格納
される(処理602)。The internal state updating unit 6 first removes from the internal state database 1 the internal state data stored in the internal state database 1 that is inconsistent with the internal state data output from the operation interpreting unit 5. Yes (Process 6
01). Next, the internal state data output from the operation interpretation unit 5 is stored in the internal state database 1 (process 60).
2). As described above, by the process 503, the internal state data “B (Robo thick, At (document, office))” is output from the operation interpreting unit 5.
Is output, the output data is referred to as internal state data 14 hereinafter. Hereinafter, a processing example by the internal state updating unit 6 will be described using the internal state data 14 and the specific example of FIG. First, the internal state data 11, 12, stored in the internal state database 1 of FIG.
Among the 13 internal state data that is inconsistent with the internal state data output from the operation interpreting unit 5, the internal state database 1
Are removed (process 601). In this example, the internal state data 12 of FIG. 1 (representing “Robota believes that the document is in the library”) is the internal state data 1
4 (indicating that Robota believes that the document is in the office) is removed from the internal state database 1. Next, the internal state data 14 output from the operation interpretation unit 5 is stored in the internal state database 1 (process 602).
【0026】プログラム解釈部7は、先ず、プログラム
データベース2に格納されている全てのプログラムデー
タに対し、変数に適当な値を代入して、該プログラムデ
ータに記述された内部状態データが、内部状態データベ
ース1に格納されている内部状態データと一致するかど
うか調べる(処理701)。次に、処理701の検査に
合格したプログラムデータに記述された動作データを出
力する(処理702)。以下に、上述の内部状態更新処
理によって更新された内部状態データベース1と図3の
具体例とを用いて、プログラム解釈部7による処理例を
説明する。先ず、図3のプログラムデータ21,22に
対し、各プログラムデータの内部状態データが、更新さ
れた内部状態デーベース1に格納された内部状態データ
11,13,14と一致するかどうかが調べられる(処
理701)。先ず、プログラムデータ21に対して、変
数a に「一郎」、変数b に「ロビン」、変数x に「書
類」、変数y に「会議室」、変数z に「事務室」がそれ
ぞれ代入される。プログラムデータ21の内部状態デー
タの1番目と2番目はそれぞれ内部状態データ11およ
び14に一致するが、プログラムデータ21の内部状態
データの3番目「〜B(ロボ太,At( ロビン,事務
室)」と一致する内部状態データがないため、検査に失
敗する。次に、プログラムデータ22に対して同様の変
数の代入が行なわれる。プログラムデータ22の内部状
態データは、内部状態データ11,13,14とそれぞ
れ一致するので、検査に合格したプログラムデータとし
て出力される。次に、処理701の検査に合格したプロ
グラムデータに記述された動作データが実行すべき動作
のために出力される(処理702)。この例では、図3
のプログラムデータ22に記述された動作データに対
し、変数b に「ロビン」、変数xに「書類」、変数y に
「会議室」をそれぞれ代入した動作データ「Request(ロ
ボ太,ロビン,At( 書類,会議室))」が出力される。
該動作データは「ロボ太は、ロビンに『書類が会議室に
あることを実現する』ことを要求する」という通信動作
を表している。The program interpreting section 7 first substitutes appropriate values into variables for all the program data stored in the program database 2, and the internal state data described in the program data becomes the internal state. It is checked whether or not it matches the internal state data stored in the database 1 (process 701). Next, the operation data described in the program data that has passed the inspection of process 701 is output (process 702). Hereinafter, a processing example by the program interpreting unit 7 will be described using the internal state database 1 updated by the above-described internal state update processing and the specific example of FIG. First, with respect to the program data 21 and 22 of FIG. 3, it is checked whether the internal state data of each program data matches the internal state data 11, 13, and 14 stored in the updated internal state database 1. (Process 701). First, for the program data 21, "ichiro" is assigned to the variable a, "robin" is assigned to the variable b, "document" is assigned to the variable x, "meeting room" is assigned to the variable y, and "office" is assigned to the variable z. .. The first and second internal state data of the program data 21 correspond to the internal state data 11 and 14, respectively, but the third internal state data of the program data 21 "~ B (Robota, At (Robin, office)) The check fails because there is no internal state data that matches with. ”Next, the same variable is substituted for the program data 22. The internal state data of the program data 22 is the internal state data 11, 13, Since they match with each other, they are output as the program data that passed the inspection.Next, the operation data described in the program data that passed the inspection in process 701 are output for the operation to be executed (process 702). ). In this example, FIG.
For the motion data described in the program data 22 of, the motion data “Request (robot, robin, At ( Documents, meeting room)) "is output.
The operation data represents a communication operation "Robota requests Robin to" realize that document is in conference room "".
【0027】[0027]
【発明の効果】以上説明したように本発明によれば、動
作定義データベースと、動作解釈部とを新たに設け、動
作定義データベースにおいて通信動作データを明確に定
義するようにしたので、通信動作の意味付けが明確にな
る。更に、動作解釈部において通信動作データを解釈
し、内部状態データを出力するようにしたので、プログ
ラムデータに通信動作データを記述する必要がなくな
り、プログラムデータの記述を簡潔になし得る。As described above, according to the present invention, a motion definition database and a motion interpretation unit are newly provided to clearly define communication motion data in the motion definition database. The meaning is clarified. Furthermore, since the operation interpreting unit interprets the communication operation data and outputs the internal state data, it is not necessary to describe the communication operation data in the program data, and the description of the program data can be simplified.
【図1】本発明の一実施例を示すエージェント制御方式
の構成図FIG. 1 is a block diagram of an agent control system showing an embodiment of the present invention.
【図2】内部状態データベースの記述例を示す図FIG. 2 is a diagram showing a description example of an internal state database.
【図3】プログラムデータベースの記述例を示す図FIG. 3 is a diagram showing a description example of a program database.
【図4】入力バッファの記述例を示す図FIG. 4 is a diagram showing a description example of an input buffer.
【図5】動作定義データベースの記述例を示す図FIG. 5 is a diagram showing a description example of a behavior definition database.
【図6】図1における各部の処理のフローチャートFIG. 6 is a flowchart of processing of each unit in FIG.
1…内部状態データベース、2…プログラムデータベー
ス、3…入力バッファ、4…動作定義データベース、5
…動作解釈部、6…内部状態更新部、7…プログラム解
釈部、11〜13…内部状態データ、21,22…プロ
グラムデータ、31…通信動作データ、41,42…動
作定義データ、501〜503,601,602,70
1,702…処理。1 ... Internal state database, 2 ... Program database, 3 ... Input buffer, 4 ... Behavior definition database, 5
... operation interpreting section, 6 ... internal state updating section, 7 ... program interpreting section, 11-13 ... internal state data, 21, 22 ... program data, 31 ... communication operation data, 41, 42 ... operation definition data, 501-503 , 601, 602, 70
1, 702 ... Processing.
Claims (1)
能にしてなるコンピュータシステムによる自律型ロボッ
トなどのエージェントを、外部と互いに通信しながら作
動すべく制御するエージェント制御方式であって、 当該エージェントが備えている知識や信念などを示す内
部状態データが格納される内部状態データベースと、 当該エージェントがある内部状態を有しているときに実
行すべき動作を記述したプログラムデータが格納される
プログラムデータベースと、 他のエージェントから通信された通信動作データが一時
的に格納される入力バッファと、 通信動作の名前データと、該通信動作の効果を表した内
部状態データとを記述した動作定義データが格納される
動作定義データベースと、 前記入力バッファから通信動作データを取り出し、前記
動作定義データベースに格納された動作定義データの
内、動作定義データの名前データが該通信動作データと
一致してなる動作定義データに記述された内部状態デー
タを出力する動作解釈部と、 前記内部状態データベースに格納された内部状態データ
の内、前記動作解釈部から出力された内部状態データと
矛盾する内部状態データを前記内部状態データベースか
ら除去し、前記動作解釈部から出力された該内部状態デ
ータを前記内部状態データベースに格納する内部状態更
新部と、 前記プログラムデータベースに格納されているプログラ
ムデータの内、該プログラムデータに記述された内部状
態データが前記内部状態データベースに格納されている
内部状態データと一致してなるプログラムデータを取り
出し、該プログラムデータに記述された動作データを出
力するプログラム解釈部とを有する、 ことを特徴とするエージェント制御方式。1. An agent control system for controlling an agent such as an autonomous robot by a computer system which can be autonomously operated while interacting with the outside so as to operate while communicating with the outside. The internal state database that stores the internal state data that indicates the knowledge and beliefs that the agent has, and the program database that stores the program data that describes the operation to be executed when the agent has an internal state. And operation definition data describing an input buffer in which communication operation data communicated from another agent is temporarily stored, communication operation name data, and internal state data representing the effect of the communication operation. Communication definition data that is stored and communication operation data from the input buffer Then, among the operation definition data stored in the operation definition database, an operation interpretation unit that outputs internal state data described in the operation definition data in which the name data of the operation definition data matches the communication operation data, Of the internal state data stored in the internal state database, internal state data that is inconsistent with the internal state data output from the action interpreting unit is removed from the internal state database, and the internal state output from the action interpreting unit is removed. An internal state updating unit that stores state data in the internal state database; and an internal state data described in the program data stored in the internal state database among the program data stored in the program database. The program data that matches the status data is extracted, and the program data And a program interpreting unit that outputs the operation data described in 1. The agent control method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12445092A JPH05324009A (en) | 1992-05-18 | 1992-05-18 | Agent control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12445092A JPH05324009A (en) | 1992-05-18 | 1992-05-18 | Agent control method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05324009A true JPH05324009A (en) | 1993-12-07 |
Family
ID=14885823
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12445092A Pending JPH05324009A (en) | 1992-05-18 | 1992-05-18 | Agent control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05324009A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6085178A (en) * | 1997-03-21 | 2000-07-04 | International Business Machines Corporation | Apparatus and method for communicating between an intelligent agent and client computer process using disguised messages |
| US6401080B1 (en) | 1997-03-21 | 2002-06-04 | International Business Machines Corporation | Intelligent agent with negotiation capability and method of negotiation therewith |
| US7386522B1 (en) | 1997-03-21 | 2008-06-10 | International Business Machines Corporation | Optimizing the performance of computer tasks using intelligent agent with multiple program modules having varied degrees of domain knowledge |
-
1992
- 1992-05-18 JP JP12445092A patent/JPH05324009A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6085178A (en) * | 1997-03-21 | 2000-07-04 | International Business Machines Corporation | Apparatus and method for communicating between an intelligent agent and client computer process using disguised messages |
| US6401080B1 (en) | 1997-03-21 | 2002-06-04 | International Business Machines Corporation | Intelligent agent with negotiation capability and method of negotiation therewith |
| US7386522B1 (en) | 1997-03-21 | 2008-06-10 | International Business Machines Corporation | Optimizing the performance of computer tasks using intelligent agent with multiple program modules having varied degrees of domain knowledge |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5805892A (en) | Method of and apparatus for debugging multitask programs | |
| US4853873A (en) | Knowledge information processing system and method thereof | |
| US6754848B1 (en) | Method, system and program products for operationally migrating a cluster through emulation | |
| JPH05324009A (en) | Agent control method | |
| JPH0565892B2 (en) | ||
| US7006882B2 (en) | Machine control system | |
| CN115941818B (en) | Method for analyzing and controlling hot-loading industrial control protocol | |
| JPH04256101A (en) | Agent control system | |
| US12536164B1 (en) | Method for providing service by artificial intelligence agent with multi-turn and artificial intelligence agent using the same | |
| US6564376B1 (en) | Method, system and program products for operationally backing out components of a cluster through emulation | |
| CN115309522B (en) | Dynamic identification method and system for implicit Serverless function workflow | |
| JPH02148175A (en) | Relational type data base system | |
| JP2001501756A (en) | System and method for providing multi-threaded bus access for data transmission and acquisition in a process control system | |
| US20260004161A1 (en) | Generative ai-based system with learning and imagination capabilities for domain expert applications | |
| JP4624044B2 (en) | Communication system between programs, communication method between programs, data structure generation system and program | |
| KR20000033212A (en) | Method for defining and controlling process for work flow management system | |
| JPH06195249A (en) | Name designation method | |
| JPH0247719A (en) | Customizing system | |
| JPS61279932A (en) | Automatic batch translation system for source programs | |
| KR100440577B1 (en) | A Priority based Method Invocation and Execution using Pre-defined Priority on MSMP System | |
| CN117112077A (en) | ETL task operation system and application method | |
| JPS6345603A (en) | Program storing system for programmable controller | |
| JPH06259296A (en) | Human-machine interface constructing tool | |
| JPH05158696A (en) | Expert system construction support system | |
| JPH03233721A (en) | How to create and execute a non-linked program |