




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
第十章分布式人工智能
多主體環(huán)境MAGE
史忠植
中國科學(xué)院計算技術(shù)所2023/2/31史忠植高級人工智能內(nèi)容提要MAGE簡介主體開發(fā)平臺運行平臺應(yīng)用2023/2/32史忠植高級人工智能多主體環(huán)境MAGEMAGE系統(tǒng)作為構(gòu)造多主體系統(tǒng)的平臺,同時以構(gòu)件組裝的方法作為多主體系統(tǒng)的設(shè)計方法。屏蔽底層的細(xì)節(jié)。較好的可擴(kuò)展性,可以根據(jù)需求自己定制具有特定功能的主體。支持主體之間的并發(fā)性。主體的程序設(shè)計方法(AOP)的一種探索。中國科學(xué)院2023/2/33史忠植高級人工智能MAGEagentarchitectureAgentSensorCapabilitiesFunctionModuleInterfaceAgentKnowledgeBaseAgentKernelCommunicatorReasoningSchedulingPlaningNegotiationFunctionComponent2023/2/34史忠植高級人工智能主體結(jié)構(gòu)通信器
主體通信語言解析器
主體內(nèi)核
功能
功能模塊界面
調(diào)度器
主體描述語言解析器
中國科學(xué)院2023/2/35史忠植高級人工智能AgentKernel
ZhongzhiShi
2023/2/36史忠植高級人工智能
MAGEagentlifecycle2023/2/37史忠植高級人工智能主體工作流程(1)BEGIN初始化主體內(nèi)部數(shù)據(jù);讀入ADL腳本并進(jìn)行分析,建立內(nèi)部數(shù)據(jù)庫;裝入功能模塊,并啟動相應(yīng)執(zhí)行線程;初始化通信模塊;向Facilitator發(fā)送注冊信息;中國科學(xué)院2023/2/38史忠植高級人工智能主體工作流程(2)
REPEAT
接收線程:檢查消息隊列;如果消息隊列為空,等待一段時間后繼續(xù)檢查;消息解析,獲取消息類型;IF(消息是系統(tǒng)命令)
THEN直接由主體內(nèi)核解釋器執(zhí)行;ELSE
放入消息緩沖區(qū)等待相應(yīng)的執(zhí)行功能模塊取走。中國科學(xué)院2023/2/39史忠植高級人工智能主體工作流程(3)發(fā)送線程按照主體通信語言的格式封裝需要發(fā)送的消息;送交底端線程發(fā)送;ENDREPEATEND
中國科學(xué)院2023/2/310史忠植高級人工智能主體構(gòu)建
——multiplemethodsofagentgenerationMAGEprovidefourmethodsofagentgenerationBehaviortemplates(DirectlyextendsbasicAgentclassofMAGE)AgentDescriptionLanguage(ADL)CloneFSM
2023/2/311史忠植高級人工智能PlentyofbehaviortemplatesWhatisbehaviortemplate?WhydoesMAGEprovidesomanytemplates?MAGEprovidesplentyofbehaviortemplatesfordevelopertobuildtheirapplicationAgentbehaviorschedulingmodel
2023/2/312史忠植高級人工智能Behaviortemplates2023/2/313史忠植高級人工智能SyntaxofADL(1)<Agent>::=<Definition> <LocalAddress> <AcquaintanceAddresses> <ExtraClasses> <Capabilities> <EnvironmentVariables> <Sessions><Definition>::=<AgentName> <Description><AgentName>::="[Name]" <agent>=<agent_name><Description>::="[Description]" BEGIN <description> END<LocalAddress>::="[LocalAddress]" <agent>=<host_name>:<port>2023/2/314史忠植高級人工智能SyntaxofADL(2)AcquaintanceAddresses>::="[AcquaintanceAddress]" BEGIN {<acquaintance>=<host_name>:<port>}* END
<ExtraClasses>::="[ExtraClasses]" BEGIN {<Class>}* END
<Class>::=Instance=<instancename> CONSTRUCTOR=<constructor>
<Capabilities>::="[Capabilities]" BEGIN {<Capability>}* END
<Capability>::=NAME=<capability_name> TYPE=<capability_type> CMDLINE=<capability_command_line> SOURCE=<capability_source>
<capability_type>::=0|1|22023/2/315史忠植高級人工智能SyntaxofADL(3)<EnvironmentVariables>::="[EnvironmentVariables]" BEGIN {<Variable>}* END<Variable>::=<VariableType><variable_name>[=<initial_value>]<VariableType>::=int|boolean|char|string|float<Sessions>::="[SESSIONS]" BEGIN {<Session>}* END
<Session>::=SESSION <JavaSentences> ENDSESSION
2023/2/316史忠植高級人工智能主體間通信結(jié)構(gòu)中國科學(xué)院2023/2/317史忠植高級人工智能主體通信語言(ACL)ACL通信模塊并發(fā)對話機(jī)制2023/2/318史忠植高級人工智能ACLconstructing2023/2/319史忠植高級人工智能
MAGEplatform
MAGE主體AgentManagementSystemDirectoryFacilitator主體AgentMessageTransportSystem(MTS)SoftwareAgentLibraryFunctionComponentOtherAgentPlatformsMessageTransportSystem(MTS)2023/2/320史忠植高級人工智能Agent-OrientedSE
workflowofMAGEAgentGenerationSystemGenerationRequirementAnalyzeSystemDesignWorkFlowofMAGE2023/2/321史忠植高級人工智能面向主體軟件設(shè)計
——Agent-orientedsoftwaredesignwithaGUIAgent-orientedsoftwaredesignAgentmodelInter-operationmodelGraphictoolforagent-orientedsoftwaredesign:
2023/2/322史忠植高級人工智能AUML擴(kuò)展UML來描述多主體系統(tǒng)
在AUML中,我們引入了四種面向主體的圖來描述一個多主體系統(tǒng):本體圖:定義用來描述世界狀態(tài)用到的實體以及它們之間的關(guān)系。主體系統(tǒng)結(jié)構(gòu)圖:描述多主體系統(tǒng)的結(jié)構(gòu)。協(xié)議圖:描述主體之間的交互協(xié)議。角色圖:描述主體在交互中扮演的角色。
2023/2/323史忠植高級人工智能本體圖主體系統(tǒng)結(jié)構(gòu)角色圖協(xié)議圖主體類型圖主體交互系統(tǒng)配置圖系統(tǒng)結(jié)構(gòu)圖分布圖類圖本體協(xié)作圖結(jié)構(gòu)圖AUMLUML2023/2/324史忠植高級人工智能GUIofXMIDE2023/2/325史忠植高級人工智能MAGEinAgentCities2023/2/326史忠植高級人工智能FriendlyGUIandpowerfulfunctionformanagementFriendlyGUIPowerfulfunctionformanagementStartNewAgent、Suspend、Resume、MigrateAgent、CloneAgent、KillAgent、KillContainer、Wait、WakeUp、SendMessage、InstallanewMTP、UninstallaMTP、ViewAPDescription、ManageInstalledMTPs、AddPlatformviaAMSAID、AddPlatformviaURL、RefreshAPDescription、RemoveRemotePlatform、RefreshAgentList、CloseRMAAgent、ExitthisContainer、ShutDownAgentPlatform
2023/2/327史忠植高級人工智能GUIofMAGE2023/2/328史忠植高級人工智能DebuggingtoolsMAGEaimsatbuildingapplicationsandintegratingallkindsofapplications.MAGEprovidesmanydebuggingtoolsforapplicationdeveloper.DummyAgentSniffer……
2023/2/329史忠植高級人工智能DummyAgent2023/2/330史忠植高級人工智能Sniffer2023/2/331史忠植高級人工智能DirectoryFacilitatorWhatisDirectoryFacilitatorandwhydoseMAGEneedDF.WhatcanbedonethroughDF?ViewRegisterDeregisterModifySearchFederalsearch
2023/2/332史忠植高級人工智能GUIofDF2023/2/333史忠植高級人工智能AAPandAAFWhatisAgentApplicationPattern(AAP)?WhatisAgentApplicationFramework(AAF)?Therelationsbetweenthem?WhydoesMAGEprovidethem?AAPmanagementGUI
2023/2/334史忠植高級人工智能GUIforAAPmanagement2023/2/335史忠植高級人工智能2023/2/336史忠植高級人工智能FIPAinter-operationprotocollibraryWhatisinter-operationprotocol?WhydoesMAGEprovidetheseprotocols?MAGEprovidesprotocolssuchas:FipaRequestInitiatorBehaviourFipaRequestResponderBehaviourFipaQueryInitiatorBehaviourFipaQueryResponderBehaviourFipaContractNetInitiatorBehaviourFipaContractNetResponderBehaviourContractNetInitiator…… 2023/2/337史忠植高級人工智能AAF:reasoningserviceReasoningDescriptionlogicDescriptionlogicbasedreasoningmachineWorkingpattern
2023/2/338史忠植高級人工智能DLRM2023/2/339史忠植高級人工智能移動主體MobilityinMAGEplatformSupportsuser-definedcontentlanguageandontology.Inter-operationbetweenMAGEandotheragentornon-agentsoftware.……
2023/2/340史忠植高級人工智能AgentcontainerProvidingplentyofagentmanagementfunction:createAgent,suspendAgent,resumeAgent,waitAgent,wakeAgentchangeAgentPrincipal,changeContainerPrincipal,moveAgent,copyAgent,killAgent,dispatch,ping,installMTP,uninstallMTP,enableSniffer,disableSniffer,enableDebugger,disableDebugger.Providingtoolkitforagent:
handleStart,handleEnd,handleMove,handleClone,handleSend,handlePosted,handleReceived,handleChangedAgentState,handleChangedAgentPrincipalProvidingeventhandlingDemonstrateStartnewagentInstallanewMTPUninstallaMTPKillContainerFrame 2023/2/341史忠植高級人工智能AgentplatformProvidingplentyofmanagementfunctionforagentandcontainer
addContainer、removeContainer、suspendchangeAgentPrincipal、wait、wake、move、copy、sniffOn、sniffOff、debugOn、debugOff、installMTP、uninstallMTPNotifywhathappenedtoeventhandler(mainlyAMS)
bornAgent、deadAgent、suspendedAgent、resumedAgent、changedAgentPrincipal、newMTP、deadMTP
DemonstrateViewAPDescriptionManageinstalledMTPsPlatformFrame
2023/2/342史忠植高級人工智能AgentPlatforms
Thisnodeincludesallplatforms:localplatformorremoteplatformsDemonstrateAddplatformviaAMSAIDAddplatformviaURLAddacontainertoaremoteplatform
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 合同之房屋獨家代理合同
- 飼料添加劑購銷合同
- 物流運輸合同
- 商鋪銷售代理合同
- 門禁安裝工程合同
- 合伙創(chuàng)業(yè)合作協(xié)議合同
- 場臨時攤位租賃合同書
- 設(shè)備驗收練習(xí)試題及答案
- 道路環(huán)境整治合同范本
- 石材幕墻設(shè)計合同范本
- 配電室消防知識培訓(xùn)課件
- 自來水有限公司應(yīng)急預(yù)案
- 2025貴州黔南州都勻供銷產(chǎn)業(yè)發(fā)展(集團(tuán))有限公司招聘4人筆試參考題庫附帶答案詳解
- 絞車培訓(xùn)考試題及答案
- 9.2《項脊軒志》課件統(tǒng)編版高二語文選擇性必修下冊-1
- 2025年第三屆天揚杯建筑業(yè)財稅知識競賽題庫附答案(101-200題)
- 高速公路段工程施工安全專項風(fēng)險評估報告
- 2025年美麗中國第六屆全國國家版圖知識競賽測試題庫(中小學(xué)組)
- 2025年早產(chǎn)兒培訓(xùn)試題及答案
- 江西省鷹潭市2023-2024學(xué)年六年級下學(xué)期數(shù)學(xué)期中試卷(含答案)
- 2024年全國職業(yè)院校技能大賽中職(食品藥品檢驗賽項)考試題庫(含答案)
評論
0/150
提交評論