zoukankan      html  css  js  c++  java
  • Client–server model

    Client–server model

    From Wikipedia, the free encyclopedia
    The client–server model of computing is a distributed application structure that partitions tasks or workloads between the providers of a resource or service, called servers, and service requesters, called clients.[1] Often clients and servers communicate over a computer network on separate hardware, but both client and server may reside in the same system. A server host runs one or more server programs which share their resources with clients. A client does not share any of its resources, but requests a server's content or service function. Clients therefore initiate communication sessions with servers which await incoming requests.
    
    Examples of computer applications that use the client–server model are Email, network printing, and the World Wide Web.

    server端是提供服务和数据

    client向server发送请求来获取数据

    就如在iOS 中 Core Bluetooth 中提到的关于central and peripheral devices所扮演的角色一样

    Central and Peripheral Devices and Their Roles in Bluetooth Communication

    There are two major players involved in all Bluetooth low energy communication: the central and the peripheral. Based on a somewhat traditional client-server architecture, a peripheral typically has data that is needed by other devices. A central typically uses the information served up by peripherals to accomplish some particular task. As Figure 1-1 shows, for example, a heart rate monitor may have useful information that your Mac or iOS app may need in order to display the user’s heart rate in a user-friendly way.

  • 相关阅读:
    Linux下挂载新硬盘
    远程编写+调试服务器上的Python程序
    记一次CUDA编程任务
    CUDA核函数调用基础数学API的一个奇葩情况
    Python多线程常用包对比
    Python threadpool传递参数
    代码生成器
    从移动优先到离线优先(三)
    从移动优先到离线优先(二)
    从移动优先到离线优先(一)
  • 原文地址:https://www.cnblogs.com/scaptain/p/3916070.html
Copyright © 2011-2022 走看看