ИСПОЛЬЗОВАНИЕ JADE (JAVA AGENT DEVELOPMENT ENVIRONMENT) ДЛЯ РАЗРАБОТКИ КОМПЬЮТЕРНЫХ СИСТЕМ ПОДДЕРЖКИ ДИСТАНЦИОННОГО ОБУЧЕНИЯ АГЕНТНОГО ТИПА

  • View
    224

  • Download
    2

Embed Size (px)

Transcript

  • 325

    Educational Technology & Society 8(3) 2005 ISSN 1436-4522

    JADE (Java Agent Development Environment)

    .. - ,

    glib@ukma.kiev.ua

    . . (JADE) .

    , , JADE

    , , .

    , . . , , , , , . [ , 2002; .., 2000].

    . (computer-aided learning, computer-mediated learning), , (e-learning) (life-long learning) [ .., 2000; .., .., 1999; URL 1]. , -. , , -, . , , - , [ .., .., 2000]. , , , .

    ()

  • 326

    [ .., .., 2000; .., 2002]. . , : - ( WHEN event F condton THEN acton); - ( , ); , , ; - ; ( ) ; , , . . , (, ..) , ,

    , , [URL 2].

    .

    1.

    . , , [ .., 1998; .., 2002]: , , , , , , , . , . - , . , , . : [ .., 1998; .., 1998].

    : , , ; , ; , , .

    , . .

    [ .., 1998; , 2001; URL 3]. JADE (Java Agent Development Environment).

  • 327

    , , . , . . , , .

    . .

    , . , .

    . , .

    . , , . () , , . , . .

    , , . : , , , [ .., 1998].

    : (Java); , , , (KIF); (KQML, AgentSpeak, April), ; (TeleScript); scripting languages (Tcl/Tk); (Oz).

    . , . . : , , Internet. .

    [ .., .., 1998]. ( ), . . , . , .

    , , , , (). [ .., 1998]. , . ,

  • 328

    . .

    , . . , . , , , . , , [ .., 1996]. .

    2.

    - , , , , . , , , . , .

    1. .

    . . .1.

    . , "", , BM, Java

    M

    M

  • 329

    , Java Object Seralzaton .

    (). . 2 .

    . 2. .

    ( RPC), .

    , , . - , . , , . , , . , . , , , .

    , , .

    - , , . . , .

    , . , , . , ( , , ), . .

  • 330

    , , . , , . , , , . , , , .

    , , pont-to-pont. , . .3.

    . 3. .

    , . , .

    . , . .

    , . , . 4 .

  • 331

    . 4. .

    3.

    [ .., 2002]. , ( ) (). () , (), . , , .

    . : . . , : ; .

    . , . , . , , .. : ; ; ; - .

    , , . , , .

    , , .

  • 332

    , ; . , , , . , , .

    , : , , , ; , , (scheduling), ; , , , ; , . : .

    - , , . , [ .., 1996].

    , - "" , . , , " ". ( , ) , - , , ( -) , .

    , , , , , , , , . - .

    , IDEAL (The intelligent distributed environment for active learning ) [Yi Shang, Hongchi Shi, and Su-Shing Chen, 2001].

    4. IDEAL

    , , . , , lecturelets. , . , , . IDEAL , , , - . IDEAL .

    IDEAL . , , , , , . . . .

    , . ,

  • 333

    , . , , , , , . , . , , .

    , , . : (, , ); , , ; . , IDEAL . . , . , . , .

    . , . ( , -). IDEAL, , . , , , (novice beginning), (intermediate), (advanced) . , , . , , .

    . : . . . IDEAL . . , , . , , / .

    IDEAL , . XML (eXtnsible Markup Language) . , lecturelet . lecturelet "" XML, XML, , Java. Lecturelet , . : XML, , .

  • 334

    5.

    IDEAL - , , Java Remot Mthod Invocation (RMI), JATLite , JavaSpace. , Java tehnologies, Java RMI , JAVA , , . , . JATLite , Internet . , Agent Message Router (AMR), , / / Internet, / FTP. , . JavaSpace , , . JavaSpace , , .

    6. JADE (Java Agent Development Environment)

    JADE Java Java RMI, Java CORBA IDL, Java Serialization Java Reflection API.

    FIPA- (tools), (debugging) (deployment) . , GUI-. : , . Java Run Time 1.2. , JADE ACL-, . : , , ( ).

    Java RMI, event-notification, IIOP, . SMTP, HTTP WAP. , , . SL , , . JADE, JESS Java- CLIPS.

    JADE . : BT, CNET, NHK, Imperial College, IRST, KPN, University of Helsinky, INRIA, ATOS .

    6.1. JADE JADE

    RMA .

  • 335

    (Agent Platform) , , JADE. RMA Java, jade.tools.rma.rma, : , (, java jade.BootmyConsole:jade.tools.rma.rma); gui- ( java jade.Boot gui). RMA-. , -.

    .5. GUI- RMA-.

    .5 GUI- RMA-. Dummy Agent JADE-. ACL- , , .

    .6 .

    .6. Dummy Agent.

    JADE (Java Agent Development Framework) , , FIPA .

  • 336

    Sniffer ( -) Java-, , JADE. Sniffer JADE . Sniffer-, , / , /, GUI- Sniffer. . .7. Sniffer.

    .7. Sniffer.

    SocketProxyAgent JADE-, . 50 . , , . JADE - DF (Directory Facilitator) agent. DF- (, , ) DF-. yellow pges . DF- DF-. -. .8 .

    .8. -.

  • 337

    JADE. , FIPA- . , .

    6.2. JADE JADE -

    : FIPA-compliant Agent Platform ,

    FIPA : AMS, ACC DF. .

    Distributed Agent Platform , , Java Virtual Machine. Java-. , , , , .

    Multiple Domains support FIPA DF- , .

    Multithreaded execution environment with two-level scheduling. JADE- , . Java Virtual Machin , .

    Object-riented programming environment. , FIPA-, Java-, .

    Library of interaction protocols. fipa-request fipa-contract-net. , , , , JADE.

    Administration GUI. , . GUI, , , , DF ().

    6.3. UML ,

    9, :

  • 338

    .9. .

    Student , ;

    Professor , ( ) ;

    Internet , ;

    Mobile Agent Server ; Lockal Network ,

    ; DataBase Server (, MS SQL Server 2000, Oracle9i,

    DB/2 Sybase), , ..;

    File Server , .

    .10. Deployment Diagram. .

  • 339

    Server.ServerMA , Server.DBOperation, Server.FSOperation, Server.ControllerMA ;

    Server.DBOperation , SaveInfoAboutStudent(), SaveControlWork(), SaveInfo() Server.ServerMA. , ;

    Server.ControllerMA , , Server.DispetcherMA;

    Server.DispetcherMA , MAgent.StudyMA, MAgent.MessageMA, MAgent.MailMA, MAgent.SearchMA. , , MAgent.MessageMA; MAgent.StudyMA, , , ; MAgent.SearchMA, ;

    jade.wrapper.Agent , . JADE. , ;

    jade.wrapper.AgentController , , JADE-. : activate() , - ; getName() ; getState() ; kill() ; start() ; suspend() ;

    jade.wrapper.AgentContainer proxy , JADE-. acceptNewAgent() , ; getState() ; resume() - .

    jade.content.OntoACLMessage ACL-, FIPA 2000 "FIPA ACL Message Structure Specification".

    jade.domain.FIPAAgentManagement.SearchOn - . DF- () - .

    (Sequence Diagram) 11.

  • 340

    .11. .

    , - , , , .

    . MAgent.SearchMA SearchOnServer. PutMA(), . Server.ControllerMA DoWorkForMA(), ,