ReferenceModel

Uploaded from authorPOINTLite
Views:
 
Category: Education
     
 

Presentation Description

No description available.

Comments

Presentation Transcript

第三篇 agent标准化工作: 

第三篇 agent标准化工作 基准模型 MASIF FIPA_Mobility ND_MATRM

系统支撑 -基准模型: 

系统支撑 -基准模型 基准模型(Reference Model): 是在特定的研究范围内一类系统模型的抽象,它描述了所有可能的软件构件、构件提供的服务以及构件之间的关系。 TRM = <Range, Entities, Services, Interfaces>

系统支撑 -基准模型: 

系统支撑 -基准模型 Range: 研究领域界定了该基准模型所涵盖的范围。主要包括其主要产生的背景、所依赖的领域环境、适用人员等内容的阐述 Entities: 实体是基准模型中包含相关服务及其接口的元素。 实体抽象表现为公共的概念及其统一的解释以及服务和接口的抽象。 它源于已有系统或模型中相同或相似的实体的概念化

系统支撑 -基准模型: 

系统支撑 -基准模型 Services: 服务是基准模型中关键元素。 服务抽象是对已有系统和模型中提供的类似服务进行抽象,应涵盖: 为何要提供这些服务:分析其内在需求,分析其思路,给出理由 提供哪些基本服务:列举通用的基本服务功能 如何组织这些服务:分析服务之间的协作和互操作关系

系统支撑 -基准模型: 

系统支撑 -基准模型 Interfaces: 接口在基准模型中起的作用有二 一是作为服务的使用方式的规范描述 二是系统内部软件构件间关联关系及其互操作的阐述。 基准模型中的接口通常可划分为两类 水平接口:模型的同层次实体间相互提供的服务的使用接口 垂直接口:模型的相邻两层实体间相互提供的服务的使用接口

系统支撑 -基准模型: 

系统支撑 -基准模型 研究需求 规范的描述的需求 对比和参照的需求 技术探讨和研究的需求 集成和互操作的需求 开放系统的需求 开发指南的需求 教学的需求

系统支撑 -基准模型: 

系统支撑 -基准模型 设计原则: 系统性:比较全面刻画所描述系统的内容。 抽象层次适度:高抽象层次适于描述和理解,缺乏开发指导;低抽象较多的设计和实现细节,影响基准模型的通用性。 开发方法无关:和具体方法无关的基准模型能在具体系统的开发中适应不同的开发方法,指导其设计和实现。 较小的公共概念集:通常,基准模型所遵循的公共概念集合越小,模型的可理解性越好,越不易产生歧义。 描述结构良好:易于描述、易于理解。

系统支撑 -基准模型: 

系统支撑 -基准模型 设计步骤: 确定研究领域,分析模型需求 分析已有系统,总结公共特性 确定研究角度,制定描述结构 确定构件组成,分析构件服务 明确各类接口,构作系统模型 进行Case分析,精化系统模型

系统支撑 -基准模型: 

系统支撑 -基准模型 Mobile Agent系统标准化工作 MASIF: Mobile Agent System Interoperability Facility 1997年,Crystaliz公司、General Magic公司、GMD、IBM以及Open Group等单位共同提出了移动agent系统互操作的标准化草案

基本内容_概念模型: 

基本内容_概念模型 Agent基本概念 Agent: 静态agent、移动agent、agent状态、执行状态、身份、名、位置 agent系统: Agent系统 Agent系统类型:profile of agent Agent place Agent区域:相同身份的agent系统互连构成,agent系统之间类型可以不一样

基本内容_概念模型: 

基本内容_概念模型 Agent交互 远程agent创建 Agent迁移 Agent方法调用

基本内容_概念模型: 

基本内容_概念模型 Agent互连 系统互连:网络+基础通信架构 区域互连: 不同身份区域 非agent软件系统 NameService 基础通信设施

基本内容_概念模型: 

基本内容_概念模型 Agent系统功能 迁移 创建 命名 区域概念支持 移动agent寻址 名服务 Agent安全

基本内容_概念模型: 

基本内容_概念模型 Agent系统互操作 不同agent系统类型下,agent之间的互操作 引入一个中间agent系统,通过局部RPC进行 直接采用RPC

基本内容_Corba服务: 

基本内容_Corba服务 可供agent系统使用的Corba服务 名服务 生命周期服务 创建、删除、复制、移动 外部化服务 安全服务

基本内容_设计参考: 

基本内容_设计参考 MAFIDL: MAFAgentSystem 接口 MAFFinder 接口 从接口定义角度给出上述概念的设计参考

基本内容_设计参考: 

基本内容_设计参考 struct AgentProfile { LanguageID language_id; AgentSystemType agent_system_type; string agent_system_description; short major_version; short minor_version; SerializationID serialization; PropertyList properties; };

基本内容_设计参考: 

基本内容_设计参考 interface MAFAgentSystem { Name create_agent( in Name agent_name, in AgentProfile agent_profile, in OctetString agent, in string place_name, in Arguments arguments, in ClassNameList class_names, in string code_base, ……) …… }

MASIF小结: 

MASIF小结 MASIF内容: agent 管理: 支持agent挂起、恢复或终止执行 agent移动:一个公共的基础架构支持众多agent在不同类型的agent系统间自由互操作。 agent和agent系统的命名:支持应用能够标识agent和agent系统,亦使得agent和agent系统能互相标识。 agent系统类型和定位:只有能被某一目标agent系统所支持,agent才能向该agent系统迁移,因此,agent迁移前必须要能从异地获取目标系统的类型信息,故agent系统的定位语法必须标准化。从agent系统彼此定位的角度看,定位语法也需标准化。 给出了MASIF规约的IDL及其实现参考

MASIF小结: 

MASIF小结 MAF定义了agent系统之间的接口,是一个在agent系统级以上,而非agent本身级别和agent系统本身上的接口标准化 未涉及agent系统自身、agent应用标准化 未涉及语言互操作内容,它只限于不同开发者用相同语言实现的移动agent系统间的互操作。 基于Corba结构和规约

FIPA Mission: 

FIPA Mission The promotion of technologies and interoperability specifications that facilitate the end-to-end interworking of intelligent agent systems in modern commercial and industrial settings. In short: Interoperability among autonomous systems

FIPA Specifications: 

FIPA Specifications Applications Abstract Architecture Communication Interaction Protocols Communicative Acts Content Languages Management Message Transport ACL Representations Envelope Representations Transport Protocols

FIPA Agent Management: 

FIPA Agent Management – Agent Management Reference Model – Agent Naming – Agent Management Service • Directory Facilitator • Agent Management System • Message Transport Service – Agent Platform • Agent life-cycle • Agent registration – Agent Management Ontology

FIPA Agent Management: 

FIPA Agent Management Agent Naming • Agent identifier (AID) – Name • Globally unique identifier (e.g. name ”@” platform-address) – Addresses • List of transport addresses (URLs) – Resolvers • Name resolution service addresses (agent-identifiers) (agent-identifier :name agentti@cs.helsinki.fi :addresses (sequence http://melkki.cs.helsinki.fi/acc iiop://melkki.cs.helsinki.fi/acc http://melkinkari.cs.helsinki.fi/acc) )

FIPA Agent Management: 

FIPA Agent Management Management functionality – register – deregister – modify – search – get-description Life-cycle management – Create agent – Terminate agent – Resume agent execution – Invoke agent – Execute agent – Resource management

FIPA Agent Management DF – Directory Facilitator: 

FIPA Agent Management DF – Directory Facilitator • ”Yellow pages” • Optional component – Can be more than one • Agents can register their services with DF • Agents can query DF to find out services • Directory management – register – deregister – modify – search • Federated Directory Facilitators

FIPA Mobility: 

FIPA Mobility FIPA Mobility: 对基本的移动功能进行了描述,讨论了移动agent的移动生命周期模型 给出了支撑agent移动的系统最小需求和技术考虑,比如移动协议、Clone和Invocation等技术 agent移动问题的Ontology,定义了一些基本概念,如移动agent,移动agent系统,移动agent语言

FIPA: 

FIPA FIPA agent模型标准化规约主要围绕智能agent管理及其之间的通信而开展 以标准化智能agent之间的语义互通为出发点,给出了通信技术、通信语言、通信安全等方面的基准模型 形成了智能agent、多agent研究和系统构建的事实标准

系统支撑 -基准模型: 

系统支撑 -基准模型 ND_MATRM 领域需求和限定 : 研究内容不涉及智能agent 研究内容中的通信协议不涉及IP层以下内容 操作系统、TCP/IP协议和Java JVM应是研究环境中每个机器的默认软件配置

系统支撑 -基准模型: 

系统支撑 -基准模型 不限定网络可用性 允许网络环境发生随机的关于可用性的变化,如网络物理线路故障、网络结点崩溃等 不限定网络是安全的 允许产生各种安全隐患,允许发生所有类型的不安全事件,如窃听、伪装、重放等事件 不限定网络通信是可靠的 不限定网络数据传输和网络通信是无延时、无丢失、保序的

系统支撑 -基准模型: 

系统支撑 -基准模型 ND_MATRM基本概念集 软件agent 移动agent、静止agent Agent身份、Agent名 移动agent环境、移动agent运行空间Space、移动agent Server、移动agent运行地点Place 基于移动agent的应用系统

系统支撑 -基准模型: 

系统支撑 -基准模型 移动agent实体模型 移动agent生命周期

系统支撑 -基准模型: 

系统支撑 -基准模型 ND_MATRM高层模型 External Environment Mobile Agents Environment Mobile Agents Based Applications EEI API Support Services External Services

系统支撑 -基准模型: 

系统支撑 -基准模型 ND_MATRM space模型 MAE API OS&Net API EEI MA Server OS Networking External Environment MA Application Agent MAE Services OS&Net Services EEI MA Server OS Networking MA Application Agent MAE API OS&Net API MAE Services OS&Net Services 垂直接口 水平接口

系统支撑 -基准模型: 

系统支撑 -基准模型 Engineering Component: Creation, Database, Monitor, Debug, GUI service Functional Language Interpret, Schedule Wrapper, Register Unregister, Modify/Retrieving, Broker, Interpreter Component: Directory Component: Migration Component: Migration interpret Freezing, Transfer, Fault tolerance, Resuming Communication Component: Security Component: Communication mechanism, Ontology Agent Security Host Security Network Security Mobile Agent Environment Interface Engineering Services Migration Services Cooperation Services Security Services Networking Operating System Networking Services OS Services Networking API OS API

系统支撑 -基准模型: 

系统支撑 -基准模型 实体: Mobile Agent Based Application Mobile Agent Mobile Agent Environment Engineering构件、Interpreter构件 Directory构件、Migration构件 Communication构件、Security构件 Networking and Operating System

系统支撑 -基准模型: 

系统支撑 -基准模型 服务: Engineering 服务区 Interpreter 服务区 Directory服务区 Migration服务区 Communication服务区 Security服务区 网络和操作系统服务

系统支撑 -基准模型: 

系统支撑 -基准模型 Engineering Component Migration Component Communication Component Directory Component Security Component Interpreter Component Mobile Agent Based Applications Networking Operating System USER External Place & External Environment

系统支撑 -基准模型: 

系统支撑 -基准模型 比较: MAF 移动agent环境之间的互操作 移动agent系统间接口的标准化 FIPA Mobility 给出移动agent迁移的Ontology 从体系结构、管理、通信语言/协议等角度规范一个多agent系统的设计 ND_MATRM 领域、实体、服务和接口

系统支撑 -基准模型: 

系统支撑 -基准模型 结论: 从不同的角度、不同的层次上刻画移动agent系统的基准模型 具有较强的互补性