Network & Protocols
  • Introduction
  • Chapter1: protocol for industrial
    • 1.1.modbus
  • Chapter2: Protocol for IOT
    • 2.1.MQTT
      • 2.1.1.Introduction: What is MQTT?
      • 2.1.2.Install mosquitto on Windows 7
      • 2.1.3.Install M2Mqtt by Nuget, Example code
  • Chapter3: Protocol for network
    • 3.1.網路模型與協定
    • 3.2.HTTP
      • 3.2.1.Basic concept
      • 3.2.2.Session & Cookie
    • 3.3.TCP/IP
    • 3.4.UDP
    • 3.5.子網路(subnet)
    • 3.6.子網路間的通訊
    • 3.7.路由
  • Chapter4: Protocol for Wireless network
    • 4.1.BLE, IBeacon
  • Chapter5: Cellular and Wifi
    • 5.1.Cellular module
      • 5.1.1.AT Command
      • 5.1.2.各家常用模組
        • 5.1.2.1.Cinterion
          • 5.1.2.1.1.PLS8-E
          • 5.1.2.1.2.PLS8-X
          • 5.1.2.1.3.PLS8-US
        • 5.1.2.2.Sierra
          • 5.1.2.2.1.MC-7354
        • 5.1.2.3.Telit
          • 5.1.2.3.1.LE910-EUG
          • 5.1.2.3.2.LE910-NAG
      • 5.1.3.用儀器測試Throughput
    • 5.2.MBIM for Windows
    • 5.3.Wireshark
      • 5.3.1.Capture filter
      • 5.3.2.Cli command
      • 5.3.3.Monitor mode
      • 5.3.4.Work with ssh
    • 5.4.LTE
      • 5.4.1.Introduction
      • 5.4.2.Types of networks
      • 5.4.3.Elements of access and core networks
      • 5.4.4.What's LTE different?
      • 5.4.5.LTE訊息傳輸
      • 5.4.6.3GPP (Generation Partnership Project)
      • 5.4.7.FDD, TDD, Half Duplex FDD
      • 5.4.8.Beared Types
Powered by GitBook
On this page
  • 1.OSI Model
  • 2.網路設備
  • 3.網路設備的比較

Was this helpful?

  1. Chapter3: Protocol for network

3.1.網路模型與協定

PreviousChapter3: Protocol for networkNext3.2.HTTP

Last updated 5 years ago

Was this helpful?

1.OSI Model

  • Layering

    • 1.在OSI由上至下可分為7層

      • 1.實體層

      • 2.資料鏈結層

        • 介質存取控制方法

        • 定址

      • 3.網路層

        • 定址

        • 路由

      • 4.傳輸層

        • 編定序號

        • 流量控制

        • 可靠性與效率性

      • 5.會議層

        • 單工

        • 半雙工

        • 全雙工

      • 6.表現層

        • 編碼與轉碼

        • 壓縮與解壓縮

        • 加密與解密

      • 7.應用層

    • 2.兩端的通訊是對等的關係 (Peer-to-Peer), 也就是透過同層的訊息交換來達成同一層之間的通訊, 同一層之間的溝通方式稱為協定

    • 3.由上而下

      • 封裝: 由上到下的資訊不動, 再加上這一層的資訊上去稱為表頭

    • 4.由下而上

      • 解封裝

2.網路設備

  • L1設備 (實體層):

    • 中繼器(Repeater): 連結兩邊的網路區段(segment)以延伸網路傳輸的距離

    • 集線器(Hub): 串接多部電腦, 也可增強訊號; 但Hub不會判斷訊息該到哪個port

  • L2設備 (資料鏈結層):

    • 橋接器(Bridge): 串接不同的實體網路, 例如將匯流排網路及星狀拓撲網路串接起來

      • Bridge的訊息傳輸會經過三個步驟

        • 1.發現(Discovery)

        • 2.過濾(Filtering)

        • 3.轉送(Forwardig)

    • L2交換器(Switch)

  • L3設備 (網路層):

    • L3交換器(Switch)

    • 路由器(Router)

  • L4設備 (傳輸層):

    • L4交換器(Switch)

  • L7設備 (應用層):

    • 主機(host)

3.網路設備的比較

  • Hub vs Switch

    • 共同之處

    • 差異

  • Switch vs Bridge

    • 共同之處

    • 差異

  • Bridge vs Router

    • 共同之處

    • 差異