Design Paradigms Define architectural abstractions and reference structures that may be instantiated into actual software architectures Architectural Concepts a.compOnents(know-how,resourceandcomputationalcomponents b Interactions(communication between components C Sites(host components/ location 2021/24 Institute of Computer Software, Nanjing University
Define architectural abstractions and reference structures that may be instantiated into actual software architectures. Architectural Concepts: a. Components (know-how, resource and computational components) b. Interactions (communication between components) c. Sites (host components/location) 2021/2/4 Institute of Computer Software, Nanjing University 21
Design Paradigms Major design paradigms a. Client/Server(Cs) b Remote Evaluation(REv) C Code on demand (cod) d Mobile Agent(MA) 2021/24 Institute of Computer Software, Nanjing University
Major design paradigms a. Client/Server (CS) b. Remote Evaluation (REV) c. Code on Demand (COD) d. Mobile Agent (MA) 2021/2/4 Institute of Computer Software, Nanjing University 22
Mobile Code Paradigms Before After Paradigm S S S Client-Server A know-how A know-how resource resource B Remote know-how resource A know -he Evaluation B resource B Code on resource know-how resource B Demand A know -how A Mobille Agent know-how resource resource A 2021/24 Institute of Computer Software, Nanjing University
2021/2/4 Institute of Computer Software, Nanjing University 23
Client/Server Client/ Server计算模式 Client Network a Gene PC Server 2021/24 Institute of Computer Software, Nanjing University
Client/Server计算模式 2021/2/4 Institute of Computer Software, Nanjing University 24
Client/Server RPC的本质 1, Service request Client Serverl 2. results O Int m(int a, int b, int c)l y:=om(1,2,3 return a+b+C: 2/4/2021 Institute of Computer Software, Nanjing University
RPC的本质 2/4/2021 Institute of Computer Software,Nanjing University 25 Client Server 2,results 1,Service request … y:=o.m(1,2,3) … Int m(int a,int b,int c){ … return a+b+c; } O: pc: