Computer Network and Distributed Client Server Client Server Architecture PowerPoint PPT Presentation

presentation player overlay
1 / 20
About This Presentation
Transcript and Presenter's Notes

Title: Computer Network and Distributed Client Server Client Server Architecture


1
????????????????????????????????????Computer
Network and Distributed??????????? Client /
ServerClient / Server Architecture
  • ??????????? ????????????

2
Content
  • Client / Server ???????
  • ????????????? Client / Server
  • ????? ????????????? Client / Server
  • ????????? Client / Server
  • ??????? Client / Server
  • ????????? Client / Server Database

3
Client / Server ???????
  • Client / Server ??????????????????????????????????
    2 ???????
  • Client ???? Software Module ???????????? Module
    ???? Server ?????????????????????? ?????????
    Request ?????????????????? Server 1
    ?????????????????
  • Server ?? Module ?????????????? Request ???
    client ???? ????? Process ??????????????
    ?????????????????????? client
  • ???????? Server ??????????????? Client
    ??????????????????????????? Server ???? ? ???

4
Client / Server Computing
  • ????????? Application ????????????????????????????
    ????(Modular approach to application design)
  • ???????????????????????????????????? Share
  • ????????????? Application ?????????????????
    hardware ????????(Hardware-independent to
    application Design)

5
Modular approach
  • ?????????????????????????? Application
    ????????????????????
  • Presentation Logic ??????????? User
    ?????????????????????????
  • Business Logic ???????????????????????? ????
    ????????????????? ?????????????
  • Database Logic ????????????????????? ???????????
    ???????????????

Database Logic
Business Logic
Presentation Logic
Disk drive
Application
Terminal
6
Client/Server Configuration
Reply
Database Logic
Business Logic
Presentation Logic
Request
Server Process with Database Logic
Client Process with Presentation Logic and
Business Logic
Disk drive
Terminal
  • ?????? ???????????????? ? ?????????? Function
    Area ?????? ????????????????? Function Area ???? ?

7
Software Sharing
  • ???????????????? application ?????? Share Logic
    ??????
  • ??????? ? ?????????????? Module ???????? ????
    Module ????? ????????????????? Application
    ??????? 1 ???
  • ??????????????? Logic ???????? ???????
    Application ???????

8
Hardware - Independent Approach
  • Application ???????????????????????? Hardware
    ??????????
  • ???????????????????? Stand Alone ???? Network

File/Print Server
Database Server
Clients
Bus. Logic
Pres. Logic
Request and Responses
9
??????????
  • ?????????????? Logic ????????????? Hardware
    ?????????????????????
  • ??? Compiler ?????????????????? Program ???????
    Hardware ??????
  • ??????? ??? Compile ??????????????????????
    Hardware , ??????? Platform ???? Compile Source
    ????
  • ??? OOP ???? Hardware Independent ??????
  • OLTP(On-Line Transaction Processing)
    ?????????????? Client/Server
  • Process ?????????????????? Terminal -gt Host
  • Process ??????????? Network
  • Client / Server

10
DBMS Client Server Environment
Operating System
DBMS
Application 1
Disk Device Driver
Disk1
Transaction Control Process
Disk2
Application 1
Disk3
Application 1
Database Logic
Business Logic
Presentation Logic
11
????????? Client/Server
Database Logic
Business Logic
Presentation Logic
Server
Client
Database Server Model
Database Logic
Business Logic
Business Logic
Presentation Logic
Server
Client
Split Business Logic Model
Database Logic
Business Logic
Presentation Logic
Server
Client
Presentation Client Model
12
????????????????? Client - Server
  • ?????? remote procedure ?????????? message system
  • Remote Procedure Call ????? Procedure Call ????
    Function Call
  • Client ?????? input , output parameter
  • Client ????? Procedure call ???? Network
  • Request ????????????????????? RPC ?????
  • Server ??????????????? Response Data
  • RPC ???????????????
  • Local RPC ???????????? Client

13
Remote Procedure Call RPC
  • 1.RPC thread ???????? client Process ????? RPC
    ???????????? stub
  • 2.RPC thread ????????????????? network ??? Server
  • 3.RPC thread ??????????????? call thread ??? ?
    RPC executes ?????????? execute ????? call thread
    ?????????????????? RPC thread
  • 4.RPC thread ??????????????????? Network ???
    client
  • 5.RPC Thread ??????? Application thread

14
Message System
  • ?????????????????????????????????
  • Client ????????????????(Session)??? Server
  • Message System Process ???????????? Address 3
    ???????
  • Network Address , Node Address , Process Address
  • Server ??????? SAP(Service Advertising Protocol)
  • Client ?? Session ??? Server ???? Server
    ??????????????
  • ????? Session ???????????????????????????????
    ?????? Process ???????

15
SQL Server
  • Client / Server Model ?????
  • ???????????? SQL Server
  • ???????????????????????????????
  • ?????????????????????????????????????????? Server
  • ?????????????? Data ???????????????????? DB
    Server ????? Share Load ???
  • ??????????????????????????????????????????

16
SQL Environment
  • Client ?????????? User Interface , Business Logic
    , DBMS interface ??? Communication interface
  • Server ???? Communication interface DBMS Software
    engine ??? Logic ????? Access ?????????

Business Logic
Database Driver A
Com. Interface
Database Server Vendor A
Database Driver B
Client Computer
Database Server Vendor B
17
?????????????? Client/Server
  • C/S ???????????????? process ???????????????
    ??????????? process ???????
  • ???????? Logic ??? Server ???????????? ??????????
    Logic ?????????????????

18
??????? client / server
  • ???????????????
  • Client / Server ???????????????????????
  • Client ??????? Server ??? Server ???????????
    Client ??????????????
  • ??????? Interface ??????? Client ??? Server ????
    Middleware
  • middleware ??? ?????????????? Interface ???????
    Client Server ??????? Client ??? Server
    ??????????????????
  • ORB(Object Request broker) ???????????????????????
    ?????? Client Server
  • ODBC(Open Database Connectivity) ?????????
    ????????? client 1 ?????????????????????????
    Database ?????????????

19
End.
20
Thin or Fat
  • Thin client and Fat Server
  • ?????????????????????????? Server ????? client
    ???????????????????????????????
  • Thin Server and Fat Client
  • ?????????????????????????? client ????????????
    client ??????????????????
Write a Comment
User Comments (0)
About PowerShow.com