Microsoft PowerPoint - Ch03.ppt

Size: px
Start display at page:

Download "Microsoft PowerPoint - Ch03.ppt"

Transcription

1 電腦網路 Computer Networks

2 Chapter 3: Transport Layer Computer Networking: A Top Down Approach, 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July

3 Outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4 Principles of reliable data transfer 3.5 Connection-oriented transport: TCP segment structure reliable data transfer flow control connection management 3.6 Principles of congestion control 3.7 TCP congestion control 3

4 3.1 Transport-layer services 傳輸層服務 4

5 Transport services and protocols Provide logical communication between app processes running on different hosts 提供不同主機上執行應用程式之間的邏輯通訊 Transport protocols run in end systems 在終端系統間執行的傳輸協定 Send side: breaks app messages into segments, passes to network layer 傳送端 : 將應用程式的訊息分割成資料分段 傳送到網路層 Rcv side: reassembles segments into messages, passes to app layer 接收端 : 將資料分段重組成訊息 傳給應用層 More than one transport protocol available to apps 應用層可用的傳輸協定超過一個 Internet: TCP and UDP 5

6 application transport network data link physical logical end-end transport application transport network data link physical 6

7 Transport vs. Network layer 傳輸 vs. 網路層 Network layer: logical communication between hosts 網路層 : 主機之間的邏輯通訊 Transport layer: logical communication between processes 傳輸層 : 行程之間的邏輯通訊 Relies on, enhances, network layer services 依賴 增強 網路層服務 7

8 Internet transport-layer protocols 網際網路傳輸層協定 Reliable, in-order delivery (TCP) 可靠的 有序的遞送 Congestion control 壅塞控制 Flow control 流量控制 Connection setup 連線建立 Unreliable, unordered delivery: UDP 不可靠的 無序的遞送 No-frills extension of best-effort IP 盡全力 的 IP 的精簡延伸 application transport network data link physical network data link physical logical end-end transport network data link physical network data link physical network data link physical network data link physical network data link physical application transport network data link physical 8

9 3.2 Multiplexing and demultiplexing 多工和解多工 9

10 Multiplexing/demultiplexing Demultiplexing at rcv host: Delivering received segments to correct socket = socket = process Multiplexing at send host: Gathering data from multiple sockets, enveloping data with header (later used for demultiplexing) application P3 P1 P1 application P2 P4 application transport transport transport network network network link link link physical physical host 1 host 2 host 3 physical 10

11 多工 / 解多工 接收端主機的解多工 : 將收到的資料分段傳送給正確的 socket = socket = 行程 傳送端主機的多工 : 收集多個 socket 的資料 用標頭 ( 稍後將用在解多工 ) 將每個資料片段封裝成資料分段 應用層 P3 P1 P1 應用層 P2 P4 應用層 傳輸層 傳輸層 傳輸層 網路層 網路層 網路層 資料連結層 資料連結層 資料連結層 實體層 實體層 主機 1 主機 2 主機 3 實體層 11

12 How demultiplexing works 解多工如何運作 Host receives IP datagrams 主機收到 IP 資料段 Each datagram has source IP address, destination IP address 每一個資料段都擁有來源端 IP 位址以及目的端 IP 位址 Each datagram carries 1 transport-layer segment 每一個資料段載送 1 個傳輸層資料分段 Each segment has source, destination port number 每一個資料分段都擁有來源端以及目的端埠號 Host uses IP addresses & port numbers to direct segment to appropriate socket 主機使用 IP 位址以及埠號將資料分段送到正確的 socket bits source port # dest port # other header fields application data (message) TCP/UDP segment format

13 Connectionless demultiplexing 無連線的解多工 Create sockets with port numbers: 以埠號產生 socket DatagramSocket mysocket1 = new DatagramSocket(12534); DatagramSocket mysocket2 = new DatagramSocket(12535); UDP socket identified by two-tuple: 以兩組資料識別 UDP socket (dest IP address, dest port number) When host receives UDP segment: 當主機收到 UDP 資料分段時 Checks destination port number in segment 確認資料分段中的來源端埠號 Directs UDP segment to socket with that port number 以此埠號將 UDP 資料分段傳送到 socket IP datagrams with different source IP addresses and/or source port numbers directed to same socket 具有不同來源端 IP 位址的 IP 資料段和 / 或來源端埠號會被送到同一個 socket 13

14 Connectionless demux (cont) DatagramSocket serversocket = new DatagramSocket(6428); P2 P3 P1P1 SP: 6428 DP: 9157 SP: 6428 DP: 5775 SP: 9157 SP: 5775 client IP: A DP: 6428 server IP: C DP: 6428 Client IP:B SP provides return address 14 SP: Source Port DP: Dest. Port

15 Connection-oriented demux TCP socket identified by 4-tuple: TCP socket 以四組資料加以識別 source IP address 來源端 IP 位址 source port number 來源端埠號 dest IP address 目的端 IP 位址 dest port number 目的端埠號 Recv host uses all four values to direct segment to appropriate socket 接收端主機使用全部的四個數值將資料分段送到適當的 socket 15

16 Server host may support many simultaneous TCP sockets: 伺服端主機可能同時支援許多 TCP sockets Each socket identified by its own 4-tuple 每個 socket 以它自己的四組資料加以識別 Web servers have different sockets for each connecting client Web 伺服器針對連結到它的每一個用戶端都有不同的 socket Non-persistent HTTP will have different socket for each request 非永久性 HTTP 針對每一次的請求都有不同的 socket 16

17 Connection-oriented demux (cont) P1 P4 P5 P6 P2 P1P3 SP: 5775 DP: 80 S-IP: B D-IP:C SP: 9157 SP: 9157 client IP: A DP: 80 S-IP: A D-IP:C server IP: C DP: 80 S-IP: B D-IP:C Client IP:B 17

18 Connection-oriented demux: Threaded Web Server P1 P4 P2 P1P3 SP: 5775 DP: 80 S-IP: B D-IP:C SP: 9157 SP: 9157 client IP: A DP: 80 S-IP: A D-IP:C server IP: C DP: 80 S-IP: B D-IP:C Client IP:B 18

19 3.3 Connectionless transport: UDP 無傳輸連線 UDP 19

20 UDP: User Datagram Protocol [RFC 768] No frills, bare bones Internet transport protocol 實際的 精簡的網際網路傳輸協定 Best effort service, UDP segments may be: 盡全力 的服務 UDP 資料分段可能 Lost 遺失 Delivered out of order to app 不按順序傳送給應用程式 Connectionless: 非預接式服務 No handshaking between UDP sender, receiver 在 UDP 傳送端和接收單之間沒有交握程序 Each UDP segment handled independently of others 每一個 UDP 資料分段的處理和其它資料分段是獨立的 20

21 Why is there a UDP? 為什麼會使用 UDP? No connection establishment (which can add delay) 不需建立連線 ( 會增加延遲 ) Simple: no connection state at sender, receiver 簡單 : 在傳送端和接收端不需維持連線狀態 Small segment header 較小的封包標頭 No congestion control: UDP can blast away as fast as desired 沒有壅塞控制 : UDP 可以僅可能地快速傳送資料 21

22 UDP: more Often used for streaming multimedia apps 通常用在串流的多媒體應用程式 Loss tolerant 可以容忍遺失 Rate sensitive 易受速率影響 Other UDP uses 其他使用 UDP 的有 DNS SNMP Length, in bytes of UDP segment, including header Reliable transfer over UDP: add reliability at application layer 使用 UDP 的可靠傳輸 : 在應用層加入可靠性的機制 Application-specific error recovery! 應用層指定的錯誤復原 32 bits source port # dest port # length Application data (message) checksum UDP segment format 22

23 UDP checksum 檢查和 Goal: detect errors (e.g., flipped bits) in transmitted segment 目標 : 偵測傳送的資料分段中的 錯誤 ( 例如 : 被翻轉的位元 ) Sender: Treat segment contents as sequence of 16-bit integers 將資料分段的內容視為一列 16 位元的整數 Checksum: addition (1 s complement sum) of segment contents 檢查和 : 資料分段內容的加法 (1 的補數和 ) Sender puts checksum value into UDP checksum field 傳送端將檢查和的值放入 UDP 的檢查和欄位 23 Receiver: Compute checksum of received segment 計算收到的資料分段的檢查和 Check if computed checksum equals checksum field value: 確認計算出來的檢查和是否和檢查和欄位中的相等 NO - error detected 偵測到錯誤 YES - no error detected. But maybe errors nonetheless? 沒有偵測到錯誤 但是仍然可能有錯誤

24 Internet Checksum Example 網際網路的檢查和範例 Note When adding numbers, a carryout from the most significant bit needs to be added to the result 當數字加總時 最高位元的進位必須被加回結果中 Example: add two 16-bit integers 加總兩個 16 位元的整數 Wraparound 繞回去 sum checksum

25 3.4 Principles of reliable data transfer 可靠資料傳輸的原理 25

26 Principles of Reliable data transfer 可靠資料傳輸的原理 Important in app., transport, link layers 在應用層 傳輸層 資料連結層中都是很重要的 Characteristics of unreliable channel will determine complexity of reliable data transfer protocol (rdt) 不可靠通道的特性決定了可靠資料傳輸協定 (rdt) 的複雜性 26

27 27

28 Reliable data transfer: getting started rdt_send(): called from above, (e.g., by app.). Passed data to deliver to receiver upper layer deliver_data(): called by rdt to deliver data to upper send side receive side udt_send(): called by rdt, to transfer packet over unreliable channel to receiver rdt_rcv(): called when packet arrives on rcv-side of channel 28

29 可靠的資料傳輸 : 開始 rdt_send(): 被上層呼叫 ( 例如應用層 ). 將資料傳遞給接收端的上層協定 deliver_data(): 被 rdt 呼叫 將資料傳送到上層 send side receive side udt_send(): 被 rdt 呼叫 經由不可靠的通道將封包傳送給接收端 29 rdt_rcv(): 當封包抵達接收端的通道時被呼叫

30 參考內容 ( 不考 ) pp

31 Reliable data transfer: getting started We ll: Incrementally develop sender, receiver sides of reliable data transfer protocol (rdt) Consider only unidirectional data transfer But control info will flow on both directions! Use finite state machines (FSM) to specify sender, receiver State: when in this state next state uniquely determined by next event state 1 event causing state transition actions taken on state transition 31 event actions state 2

32 Rdt1.0: reliable transfer over a reliable channel Underlying channel perfectly reliable No bit errors No loss of packets Separate FSMs for sender, receiver: Sender sends data into underlying channel Receiver read data from underlying channel Wait for call from above rdt_send(data) packet = make_pkt(data) udt_send(packet) Wait for call from below rdt_rcv(packet) extract (packet,data) deliver_data(data) sender receiver 32

33 Rdt2.0: channel with bit errors Underlying channel may flip bits in packet Checksum to detect bit errors The question: how to recover from errors: Acknowledgements (ACKs): receiver explicitly tells sender that pkt received OK Negative acknowledgements (NAKs): receiver explicitly tells sender that pkt had errors Sender retransmits pkt on receipt of NAK New mechanisms in rdt2.0 (beyond rdt1.0): Error detection Receiver feedback: control msgs (ACK,NAK) rcvr->sender 33

34 rdt2.0: FSM specification rdt_send(data) snkpkt = make_pkt(data, checksum) udt_send(sndpkt) Wait for call from above rdt_rcv(rcvpkt) && isack(rcvpkt) Λ sender Wait for ACK or NAK rdt_rcv(rcvpkt) && isnak(rcvpkt) udt_send(sndpkt) receiver rdt_rcv(rcvpkt) && corrupt(rcvpkt) udt_send(nak) Wait for call from below rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) extract(rcvpkt,data) deliver_data(data) udt_send(ack) 34

35 rdt2.0: operation with no errors rdt_send(data) snkpkt = make_pkt(data, checksum) udt_send(sndpkt) Wait for call from above rdt_rcv(rcvpkt) && isack(rcvpkt) Λ Wait for ACK or NAK rdt_rcv(rcvpkt) && isnak(rcvpkt) udt_send(sndpkt) rdt_rcv(rcvpkt) && corrupt(rcvpkt) udt_send(nak) Wait for call from below rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) extract(rcvpkt,data) deliver_data(data) udt_send(ack) 35

36 rdt2.0: error scenario rdt_send(data) snkpkt = make_pkt(data, checksum) udt_send(sndpkt) Wait for call from above rdt_rcv(rcvpkt) && isack(rcvpkt) Λ Wait for ACK or NAK rdt_rcv(rcvpkt) && isnak(rcvpkt) udt_send(sndpkt) rdt_rcv(rcvpkt) && corrupt(rcvpkt) udt_send(nak) Wait for call from below rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) extract(rcvpkt,data) deliver_data(data) udt_send(ack) 36

37 rdt2.0 has a fatal flaw! What happens if ACK/NAK corrupted? Sender doesn t know what happened at receiver! Can t just retransmit: possible duplicate Handling duplicates: Sender retransmits current pkt if ACK/NAK garbled Sender adds sequence number to each pkt Receiver discards (doesn t deliver up) duplicate pkt stop and wait Sender sends one packet, then waits for receiver response 37

38 rdt2.1: sender, handles garbled ACK/NAKs rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isack(rcvpkt) Λ rdt_rcv(rcvpkt) && ( corrupt(rcvpkt) isnak(rcvpkt) ) udt_send(sndpkt) rdt_send(data) sndpkt = make_pkt(0, data, checksum) udt_send(sndpkt) Wait for call 0 from above Wait for ACK or NAK 1 rdt_send(data) Wait for ACK or NAK 0 Wait for call 1 from above rdt_rcv(rcvpkt) && ( corrupt(rcvpkt) isnak(rcvpkt) ) udt_send(sndpkt) rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isack(rcvpkt) sndpkt = make_pkt(1, data, checksum) udt_send(sndpkt) Λ 38

39 rdt2.1: receiver, handles garbled ACK/NAKs rdt_rcv(rcvpkt) && (corrupt(rcvpkt) sndpkt = make_pkt(nak, chksum) udt_send(sndpkt) rdt_rcv(rcvpkt) && not corrupt(rcvpkt) && has_seq1(rcvpkt) sndpkt = make_pkt(ack, chksum) udt_send(sndpkt) rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && has_seq0(rcvpkt) extract(rcvpkt,data) deliver_data(data) sndpkt = make_pkt(ack, chksum) udt_send(sndpkt) Wait for 0 from below Wait for 1 from below rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && has_seq1(rcvpkt) extract(rcvpkt,data) deliver_data(data) sndpkt = make_pkt(ack, chksum) udt_send(sndpkt) rdt_rcv(rcvpkt) && (corrupt(rcvpkt) sndpkt = make_pkt(nak, chksum) udt_send(sndpkt) rdt_rcv(rcvpkt) && not corrupt(rcvpkt) && has_seq0(rcvpkt) sndpkt = make_pkt(ack, chksum) udt_send(sndpkt) 39

40 rdt2.1: discussion Sender: Seq # added to pkt Two seq. # s (0,1) will suffice. Why? Must check if received ACK/NAK corrupted Twice as many states State must remember whether current pkt has 0 or 1 seq. # Receiver: Must check if received packet is duplicate State indicates whether 0 or 1 is expected pkt seq # Note: receiver can not know if its last ACK/NAK received OK at sender 40

41 rdt2.2: a NAK-free protocol Same functionality as rdt2.1, using ACKs only Instead of NAK, receiver sends ACK for last pkt received OK Receiver must explicitly include seq # of pkt being ACKed Duplicate ACK at sender results in same action as NAK: retransmit current pkt 41

42 rdt2.2: sender, receiver fragments rdt_rcv(rcvpkt) && (corrupt(rcvpkt) has_seq1(rcvpkt)) udt_send(sndpkt) rdt_send(data) sndpkt = make_pkt(0, data, checksum) udt_send(sndpkt) Wait for call 0 from above Wait for 0 from below Wait for ACK 0 sender FSM fragment receiver FSM fragment rdt_rcv(rcvpkt) && ( corrupt(rcvpkt) isack(rcvpkt,1) ) udt_send(sndpkt) rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isack(rcvpkt,0) Λ rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && has_seq1(rcvpkt) extract(rcvpkt,data) deliver_data(data) sndpkt = make_pkt(ack1, chksum) udt_send(sndpkt) 42

43 rdt3.0: channels with errors and loss New assumption: underlying channel can also lose packets (data or ACKs) Checksum, seq. #, ACKs, retransmissions will be of help, but not enough Approach: sender waits reasonable amount of time for ACK Retransmits if no ACK received in this time If pkt (or ACK) just delayed (not lost): Retransmission will be duplicate, but use of seq. # s already handles this Receiver must specify seq # of pkt being ACKed Requires countdown timer 43

44 rdt3.0 sender rdt_rcv(rcvpkt) Λ Wait for call 0from above rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isack(rcvpkt,1) stop_timer timeout udt_send(sndpkt) start_timer rdt_rcv(rcvpkt) && ( corrupt(rcvpkt) isack(rcvpkt,0) ) Λ Wait for ACK1 rdt_send(data) sndpkt = make_pkt(0, data, checksum) udt_send(sndpkt) start_timer Wait for ACK0 Wait for call 1 from above rdt_send(data) sndpkt = make_pkt(1, data, checksum) udt_send(sndpkt) start_timer rdt_rcv(rcvpkt) && ( corrupt(rcvpkt) isack(rcvpkt,1) ) Λ timeout udt_send(sndpkt) start_timer rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isack(rcvpkt,0) stop_timer rdt_rcv(rcvpkt) Λ 44

45 rdt3.0 in action 45

46 rdt3.0 in action 46

47 Performance of rdt3.0 rdt3.0 works, but performance stinks Example: 1 Gbps link, 15 ms e-e prop. delay, 1KB packet: T transmit = L (packet length in bits) R (transmission rate, bps) = 8kb/pkt 10**9 b/sec = 8 microsec U sender : utilization fraction of time sender busy sending U sender = L / R RTT + L / R = = KB pkt every 30 msec -> 33kB/sec thruput over 1 Gbps link Network protocol limits use of physical resources! 47

48 rdt3.0: stop-and-wait operation first packet bit transmitted, t = 0 last packet bit transmitted, t = L / R sender receiver RTT first packet bit arrives last packet bit arrives, send ACK ACK arrives, send next packet, t = RTT + L / R U sender = L / R RTT + L / R = =

49 可靠的資料傳輸 : 開始 我們將會 : 漸進式地建立傳送端 接收端的可靠資料傳輸協定 (rdt) 只探討單向的資料傳輸 但是控制資訊會在雙向流動! 使用有限狀態機 (FSM) 指定傳送端 接收端 導致狀態轉換的事件狀態轉換時所採取的動作 狀態 : 在這個 狀態 時 下一個狀態將唯一地被下一個事件所決定 狀態 1 事件動作 狀態 2 49

50 Rdt1.0: 使用可靠通道的可靠傳輸 底層的通道是完全可靠的 沒有位元錯誤 沒有資料遺失 傳送端和接收端擁有各自的 FSM: 傳送端將資料送入底層的通道 接收端從底層的通道接收資料 等待上層傳來的呼叫 rdt_send(data) packet = make_pkt(data) udt_send(packet) 等待下層傳來的呼叫 rdt_rcv(packet) extract (packet data) deliver_data(data) 傳送端 接收端 50

51 Rdt2.0: 可能產生位元錯誤的通道 底層的通道可能會將封包中的位元翻轉 偵測位元錯誤的檢查和 問題 : 如何回復錯誤 : 確認 (ACKs): 接收端明確地告訴傳送端封包的傳送 OK 否定確認 (NAKs): 接收端明確地告訴傳送端封包的傳送有問題 當收到 NAK 時 傳送端會重傳封包 rdt2.0 的新機制 ( 超出 rdt1.0): 錯誤偵測 接收端回饋 : 控制訊息 (ACK NAK) 接收端 -> 傳送端 51

52 rdt2.0: FSM 說明 rdt_send(data) snkpkt = make_pkt(data checksum) udt_send(sndpkt) 等到從上層傳來的呼叫 rdt_rcv(rcvpkt) && isack(rcvpkt) Λ 傳送端 等待 ACK 或者 NAK 訊息 rdt_rcv(rcvpkt) && isnak(rcvpkt) udt_send(sndpkt) 接收端 rdt_rcv(rcvpkt) && corrupt(rcvpkt) udt_send(nak) 等待從下層傳來的呼叫 rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) extract(rcvpkt data) deliver_data(data) udt_send(ack) 52

53 rdt2.0: 沒有錯誤時的運作 rdt_send(data) snkpkt = make_pkt(data checksum) udt_send(sndpkt) Wait for call from above rdt_rcv(rcvpkt) && isack(rcvpkt) Λ Wait for ACK or NAK rdt_rcv(rcvpkt) && isnak(rcvpkt) udt_send(sndpkt) rdt_rcv(rcvpkt) && corrupt(rcvpkt) udt_send(nak) Wait for call from below rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) extract(rcvpkt data) deliver_data(data) udt_send(ack) 53

54 rdt2.0: 發生錯誤的情況 rdt_send(data) snkpkt = make_pkt(data checksum) udt_send(sndpkt) Wait for call from above rdt_rcv(rcvpkt) && isack(rcvpkt) Λ Wait for ACK or NAK rdt_rcv(rcvpkt) && isnak(rcvpkt) udt_send(sndpkt) rdt_rcv(rcvpkt) && corrupt(rcvpkt) udt_send(nak) Wait for call from below rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) extract(rcvpkt data) deliver_data(data) udt_send(ack) 54

55 rdt2.0 有一個致命的缺點! 假如 ACK/NAK 損毀了會如何? 傳送端不知道接收端發生了什麼事! 沒辦法直接重傳 : 可能會重複 重複的處理 : 假如 ACK/NAK 損壞了 傳送端會重新傳送目前的封包 傳送端會在每個封包加上序號 接收端或刪掉 ( 不往上傳 ) 重複的封包 停止以及等待 傳送端傳送一個封包 並等待接收端的回應 55

56 rdt2.1: 傳送端 處理損毀的 ACK/NAK rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isack(rcvpkt) Λ rdt_rcv(rcvpkt) && ( corrupt(rcvpkt) isnak(rcvpkt) ) udt_send(sndpkt) rdt_send(data) sndpkt = make_pkt(0 data checksum) udt_send(sndpkt) 等待從上一層傳來的呼叫 0 等待 ACK 或 NAK 訊息 1 rdt_send(data) 等待 ACK 或 NAK 訊息 0 等待從上一層傳來的呼叫 1 sndpkt = make_pkt(1 data checksum) udt_send(sndpkt) rdt_rcv(rcvpkt) && ( corrupt(rcvpkt) isnak(rcvpkt) ) udt_send(sndpkt) rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isack(rcvpkt) Λ 56

57 rdt2.1: 接收端 處理損毀的 ACK/NAK rdt_rcv(rcvpkt) && (corrupt(rcvpkt) sndpkt = make_pkt(nak chksum) udt_send(sndpkt) rdt_rcv(rcvpkt) && not corrupt(rcvpkt) && has_seq1(rcvpkt) sndpkt = make_pkt(ack chksum) udt_send(sndpkt) rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && has_seq0(rcvpkt) extract(rcvpkt data) deliver_data(data) sndpkt = make_pkt(ack chksum) udt_send(sndpkt) 等待從下層傳來的 0 等待從下層傳來的 1 rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && has_seq1(rcvpkt) rdt_rcv(rcvpkt) && (corrupt(rcvpkt) sndpkt = make_pkt(nak chksum) udt_send(sndpkt) rdt_rcv(rcvpkt) && not corrupt(rcvpkt) && has_seq0(rcvpkt) sndpkt = make_pkt(ack chksum) udt_send(sndpkt) extract(rcvpkt data) deliver_data(data) sndpkt = make_pkt(ack chksum) udt_send(sndpkt) 57

58 rdt2.1: 討論 傳送端 : 在封包加入序號 兩個序號 (0 1) 就足夠了 為什麼? 必須檢查收到的 ACK/NAK 是否損毀 兩倍數量的狀態 狀態必須 記得 目前的 封包序號為 0 或是 1 接收端 : 必須確認接收端封包是否重複 狀態表示 0 或 1 是否為所預期的封包序號 注意 : 接收端無法得知它的最後一個 ACK/NAK 是否在傳送端被接收無誤 58

59 rdt2.2: 不採用 NAK 訊息的協定 與 rdt2.1 同樣的功能 但只使用 ACK 不使用 NAK 接收端傳送 ACK 表示最後一個封包接收正確 接收端必須明確地加上經過確認封包的序號 在傳送端收到重複的 ACK 導致與 NAK 相同的行為 : 重新傳送目前的封包 59

60 rdt2.2: 傳送端 接收端片段 rdt_rcv(rcvpkt) && (corrupt(rcvpkt) has_seq1(rcvpkt)) udt_send(sndpkt) rdt_send(data) sndpkt = make_pkt(0 data checksum) udt_send(sndpkt) 等待從上層傳來的呼叫 0 等待從下層傳來的呼 傳送端 FSM 片段 接收端 FSM 片段 60 等待 ACK0 叫 0 rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && has_seq1(rcvpkt) extract(rcvpkt data) deliver_data(data) sndpkt = make_pkt(ack1 chksum) udt_send(sndpkt) rdt_rcv(rcvpkt) && ( corrupt(rcvpkt) isack(rcvpkt 1) ) udt_send(sndpkt) rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isack(rcvpkt 0) Λ

61 rdt3.0: 使用會發生錯誤及遺失封包的通道 新的假設 : 底層的頻道也可能遺失封包 ( 資料或 ACK) 檢查和 序號 ACK 重傳都是有幫助的 但是卻不夠 方法 : 傳送端等待 ACK 合理的 時間 假如在這段時間內沒有收到 ACK 則重傳 假如封包 ( 或 ACK) 只是延遲了 ( 沒有遺失 ): 重傳會導致重複 但是序號的使用能夠處理這個情況 接收端必須指定確認的封包序號 需要倒數計時器 61

62 rdt3.0 傳送端 rdt_rcv(rcvpkt) Λ 等待從上一層傳來的呼叫 0 rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isack(rcvpkt 1) stop_timer timeout udt_send(sndpkt) start_timer rdt_rcv(rcvpkt) && ( corrupt(rcvpkt) isack(rcvpkt 0) ) Λ 等待 ACK 訊息 1 rdt_send(data) sndpkt = make_pkt(0 data checksum) udt_send(sndpkt) start_timer rdt_send(data) 等待 ACK 訊息 0 sndpkt = make_pkt(1 data checksum) udt_send(sndpkt) start_timer 等待從上一層傳來的呼叫 1 rdt_rcv(rcvpkt) && ( corrupt(rcvpkt) isack(rcvpkt 1) ) timeout udt_send(sndpkt) start_timer rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) && isack(rcvpkt 0) stop_timer Λ rdt_rcv(rcvpkt) Λ 62

63 rdt3.0 的運作 63

64 rdt3.0 的運作 64

65 rdt3.0 的效能 rdt3.0 能夠運作 但是效能很糟 範例 : 1 Gbps 的連結 15 毫秒終端對終端傳遞延遲 1KB 的封包 : T transmit = L ( 封包長度位元 ) R ( 傳送速率 bps) = 8kb/pkt 10**9 b/sec = 8 毫秒 U sender : 使用率 傳送端將位元傳入通道的時間比例 U sender = L / R RTT + L / R = = 每 30 毫秒 1KB 封包 -> 33kB/sec 生產量在 1 Gbps 連結上 網路協定限制了實體資源的使用! 65

66 rdt3.0: 停止並等待的機制 在 t = 0 時 傳送第 1 個封包的第 1 個位元 在 t = L / R 時 傳送第 1 個封包的最後 1 個位元 sender receiver RTT 第一個封包的第一個位元到達 第一個封包的最後一個位元到達 並且送出 ACK 在 t = RTT + L / R 時 ACK 到達 然後送出下 1 個封包 U sender = L / R RTT + L / R = =

67 Pipelined protocols 管線化協定 Pipelining: sender allows multiple, in-flight, yet-to-beacknowledged pkts 管線化 : 傳送端允許多個 飛行中的 還沒有被確認的封包 range of sequence numbers must be increased 序號的範圍必須增加 buffering at sender and/or receiver 傳送端和 / 或接收端需要暫存器 Two generic forms of pipelined protocols: go-back-n, selective repeat 兩種管線化協定的一般性型態 : 回送 N 選擇性重複 67

68 Pipelining: increased utilization 增加使用率 first packet bit transmitted, t = 0 last bit transmitted, t = L / R sender receiver RTT ACK arrives, send next packet, t = RTT + L / R first packet bit arrives last packet bit arrives, send ACK last bit of 2 nd packet arrives, send ACK last bit of 3 rd packet arrives, send ACK Increase utilization by a factor of 3! U sender = 3 * L / R RTT + L / R = =

69 管線化 : 增加使用率 傳送端 接收端 在 t = 0 時 傳送第 1 個封包的第 1 個位元 在 t = L/R 時 傳送第 1 個封包的最後一個位元 RTT 第 1 個封包的第 1 個位元到達第 1 個封包的最後 1 個位元到達 送出 ACK 第 2 個封包的最後 1 個位元到達 送出 ACK 第 3 個封包的最後 1 個位元到達 送出 ACK ACK arrives send next packet t = RTT + L / R 增加 3 倍的使用率! U sender = 3 * L / R RTT + L / R = =

70 Go-Back-N 回送 N Sender: k-bit seq # in pkt header 封包標頭的 k- 位元序號 window of up to N, consecutive unack ed pkts allowed 大小最多為 N 的 視窗 允許連續的未被確認的封包 70

71 ACK(n): ACKs all pkts up to, including seq # n - cumulative ACK ACK(n): 確認小於或等於序號 n 的所有封包 - 累積式確認 May receive duplicate ACKs (see receiver) 可能會收到重複的確認 ( 見接收端 ) Timer for each in-flight pkt 某個傳送中的封包都使用一個計時器 timeout(n): retransmit pkt n and all higher seq # pkts in window 重傳封包 n 以及在視窗中序號高於 n 的全部封包 71

72 GBN: sender extended FSM rdt_send(data) Λ base=1 nextseqnum=1 rdt_rcv(rcvpkt) && corrupt(rcvpkt) if (nextseqnum < base+n) { sndpkt[nextseqnum] = make_pkt(nextseqnum,data,chksum) udt_send(sndpkt[nextseqnum]) if (base == nextseqnum) start_timer nextseqnum++ } else refuse_data(data) Wait rdt_rcv(rcvpkt) && notcorrupt(rcvpkt) base = getacknum(rcvpkt)+1 If (base == nextseqnum) stop_timer else start_timer 72 timeout start_timer udt_send(sndpkt[base]) udt_send(sndpkt[base+1]) udt_send(sndpkt[nextseqnum-1])

73 GBN: receiver extended FSM Λ default udt_send(sndpkt) Wait expectedseqnum=1 sndpkt = make_pkt(expectedseqnum,ack,chksum) rdt_rcv(rcvpkt) && notcurrupt(rcvpkt) && hasseqnum(rcvpkt,expectedseqnum) extract(rcvpkt,data) deliver_data(data) sndpkt = make_pkt(expectedseqnum,ack,chksum) udt_send(sndpkt) expectedseqnum++ ACK-only: always send ACK for correctlyreceived pkt with highest in-order seq # may generate duplicate ACKs need only remember expectedseqnum out-of-order pkt: discard (don t buffer) -> no receiver buffering! Re-ACK pkt with highest in-order seq # 73

74 GBN: 接收端的擴充 FSM Λ default udt_send(sndpkt) 等待 expectedseqnum=1 sndpkt = make_pkt(expectedseqnum ACK chksum) 只使用 ACK: 只為接收順序正確的封包傳送 ACK 可能會產生重複的 ACK 只需要記住 expectedseqnum 順序不正確的封包 : 刪除 ( 不會暫存 ) -> 接收端沒有暫存器! 重新回應最高的順序正確封包 rdt_rcv(rcvpkt) && notcurrupt(rcvpkt) && hasseqnum(rcvpkt expectedseqnum) extract(rcvpkt data) deliver_data(data) sndpkt = make_pkt(expectedseqnum ACK chksum) udt_send(sndpkt) expectedseqnum++ 74

75 GBN in action 75

76 Selective Repeat 選擇性重複 Receiver individually acknowledges all correctly received pkts 接收端分別確認所有正確接收的封包 Buffers pkts, as needed, for eventual in-order delivery to upper layer 依需要暫存封包 最終會依序傳送到上一層 Sender only resends pkts for which ACK not received 傳送端只重傳沒有收到 ACK 的封包 Sender timer for each unacked pkt 傳送端針對每一個未確認的封包需要一個計時器 Sender window 傳送端視窗 N consecutive seq # s N 個連續的序號 Again limits seq #s of sent, unacked pkts 再次 用來限制傳送出去的 未確認的封包序號 76

77 Selective repeat: sender, receiver windows 77

78 選擇性重複 : 傳送端 接收端視窗 78

79 Selective repeat sender Data from above : If next available seq # in window, send pkt Timeout(n): Resend pkt n, restart timer ACK(n) in [sendbase,sendbase+n]: Mark pkt n as received If n smallest unacked pkt, advance window base to next unacked seq # receiver pkt n in [rcvbase, rcvbase+n-1] Send ACK(n) Out-of-order: buffer In-order: deliver (also deliver buffered, inorder pkts), advance window to next notyet-received pkt pkt n in [rcvbase- N,rcvbase-1] ACK(n) otherwise: Ignore 79

80 選擇性重複 傳送端 來自上層的資料 : 假如下一個可用的序號在視窗內 則傳送封包 timeout(n): 重送封包 n 重新啟動計時器 ACK(n) 在 [sendbase sendbase+n] 中 : 將封包 n 標示為已收到的 假如 n 為未確認的封包中最小的 將視窗的 base 往前移到下一個未回應的序號 接收端 封包 n 在 [rcvbase rcvbase+n-1] 中 傳送 ACK(n) 不正確的順序 : 暫存區 正確順序 : 遞送 ( 也遞送暫存區內順序錯誤的封包 ) 將視窗前進到下一個未接收的封包封包 n 在 [rcvbase-n rcvbase-1] 中 ACK(n) 否則 : 忽略該封包 80

81 Selective repeat in action 81

82 Selective repeat: dilemma 選擇性重複 : 困境 Example: Seq # s: 0, 1, 2, 3 Window size=3 Receiver sees no difference in two scenarios! 接收端無法分辨兩種情況的差別 Incorrectly passes duplicate data as new in (a) 不正確地重新傳送重複的資料 如同 (a) 82

83 3.5 Connection-oriented transport: TCP 連線導向傳輸 83

84 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 Point-to-point: 點對點 One sender, one receiver 一個傳送端 一個接收端 Reliable, in-order byte steam: 可靠的 有順序的位元組串流 No message boundaries 沒有 訊息界線 Pipelined: 管線化 TCP congestion and flow control set window size TCP 壅塞控制和流量控制設定視窗大小 Send & receive buffers 傳送端和接收端暫存器 socket door application writes data TCP send buffer 84 segment application reads data TCP receive buffer socket door

85 Full duplex data: 全雙工資料傳輸 Bi-directional data flow in same connection 同一個連結中 雙向的資料流 MSS: maximum segment size 最大資料分段大小 Connection-oriented: 連線導向 Handshaking (exchange of control msgs) init s sender, receiver state before data exchange 交握程序 ( 控制訊息的交換 ) 在資料開始交換之前 設定傳送端和接收端的狀態 Flow controlled: 流量控制 Sender will not overwhelm receiver 傳送端不會超過接收端 85

86 TCP segment structure URG: urgent data 緊急資料 (generally not used) ACK: ACK # valid PSH: push data now 馬上將資料送出 (generally not used) RST, SYN, FIN: connection estab 連線建立 (setup 設定, teardown 中斷, commands 指令 ) Internet checksum 網際網路檢查和 (as in UDP) 32 bits source port # dest port # head len sequence number acknowledgement number not used UAP R S F checksum Receive window Urg data pnter Options (variable length) application data (variable length) Counting by bytes of data 以資料位元組計算 (not segments 非資料分段 ) # bytes rcvr willing to accept 接收端願意接收的位元組數 86

87 TCP seq. # s and ACKs Seq. # s: byte stream number of first byte in segment s data ACKs: seq # of next byte expected from other side cumulative ACK Q: how receiver handles out-oforder segments A: TCP spec doesn t say, - up to implementor User types C host ACKs receipt of echoed C Host A Host B Seq=42, ACK=79, data = C Seq=79, ACK=43, data = C Seq=43, ACK=80 simple telnet scenario host ACKs receipt of C, echoes back C time 87

88 TCP 序號與確認 序號 : 資料分段中 第一個位元的位元組串流 編號 確認 : 另一端期待的下一個位元組序號 累積式確認 問題 : 接收端如何處理順序不正確的資料分段 答 : TCP 規格中未限制 取決於程式開發者 使用者鍵入字元 C 主機送出收到回應字元 C 的 ACK 訊息 主機 A 主機 B Seq=42 ACK=79 data = C Seq=79 ACK=43 data = C Seq=43 ACK=80 簡單的 telnet 範例 主機送出收到 C 的 ACK 訊息 然後回應字元 C 時序 88

89 TCP Round Trip Time and Timeout Q: how to set TCP timeout value? longer than RTT but RTT varies too short: premature timeout unnecessary retransmissions too long: slow reaction to segment loss Q: how to estimate RTT? SampleRTT: measured time from segment transmission until ACK receipt ignore retransmissions SampleRTT will vary, want estimated RTT smoother average several recent measurements, not just current SampleRTT 89

90 TCP 來回傳遞時間以及逾時 問 : 如何設定 TCP 的逾時值? 比 RTT 長 但是 RTT 是不固定的 太短 : 過早逾時 不需要重新傳送 太長 : 太晚對資料分段遺失作出反應 問 : 如何估計來回傳遞時間 ( RTT)? 樣本 RTT: 測量資料分段傳送出去到收到確認所需的時間 忽略重傳 樣本 RTT 會有所變動 我們想要讓預估的 RTT 更平滑 將好幾個最近的測量值做平均 而非目前的樣本 RTT 90

91 TCP Round Trip Time and Timeout EstimatedRTT = (1- α)*estimatedrtt + α*samplertt Exponential weighted moving average 指數加權移動平均值 Influence of past sample decreases exponentially fast 過去樣本的影響將以指數速率減少 Typical value 建議值 : α =

92 Example RTT estimation: RTT: gaia.cs.umass.edu to fantasia.eurecom.fr RTT (milliseconds) time (seconnds) SampleRTT Estimated RTT 92

93 TCP Round Trip Time and Timeout Setting the timeout EstimtedRTT plus safety margin large variation in EstimatedRTT -> larger safety margin First estimate of how much SampleRTT deviates from EstimatedRTT: DevRTT = (1-β)*DevRTT + β* SampleRTT-EstimatedRTT (typically, β = 0.25) Then set timeout interval: TimeoutInterval = EstimatedRTT + 4*DevRTT 93

94 TCP 來回傳遞時間以及逾時 設定逾時間隔 EstimtedRTT 加上 安全邊界 EstimatedRTT 的變動很大 -> 大的安全邊界 首先估計 SampleRTT 與 EstimatedRTT 的差距 : DevRTT = (1-β)*DevRTT + β* SampleRTT-EstimatedRTT ( 通常 β = 0.25) 接著設定逾時間隔 : TimeoutInterval = EstimatedRTT + 4*DevRTT 94

95 TCP reliable data transfer TCP creates rdt service on top of IP s unreliable service TCP 在 IP 的不可靠服務上建立 rdt 服務 Pipelined segments 管線化的分段 Cumulative acks 累積式確認 TCP uses single retransmission timer TCP 使用單一的重新傳送計時器 Retransmissions are triggered by: 重新傳送的觸發 Timeout events 逾時事件 Duplicate acks 重複的 ack Initially consider simplified TCP sender: 一開始先考慮簡化的 TCP 傳送端 Ignore duplicate acks 忽略重複的 ack Ignore flow control, congestion control 忽略流量控制 壅塞控制 95

96 TCP sender events: data rcvd from app: Create segment with seq # seq # is byte-stream number of first data byte in segment start timer if not already running (think of timer as for oldest unacked segment) expiration interval: TimeOutInterval timeout: retransmit segment that caused timeout restart timer Ack rcvd: If acknowledges previously unacked segments update what is known to be acked start timer if there are outstanding segments 96

97 TCP 傳送端事件 : 從應用程式收到資料 : 產生含有序號的資料分段 序號是資料分段中 第一個資料位元組的位元組串流編號 假如計時器尚未執行 啟動計時器 ( 將計時器想成與最久的未確認資料分段有關 ) 逾時時間 : TimeOutInterval 逾時 : 傳新傳送導致逾時的資料分段 重新啟動計時器收到 Ack: 假如確認為之前未確認的資料分段 更新已確認的狀態 假如還有未確認的資料分段 重新啟動計時器 97

98 NextSeqNum = InitialSeqNum SendBase = InitialSeqNum loop (forever) { switch(event) event: data received from application above create TCP segment with sequence number NextSeqNum if (timer currently not running) start timer pass segment to IP NextSeqNum = NextSeqNum + length(data) event: timer timeout retransmit not-yet-acknowledged segment with smallest sequence number start timer event: ACK received, with ACK field value of y if (y > SendBase) { SendBase = y if (there are currently not-yet-acknowledged segments) start timer } TCP sender (simplified) Comment: SendBase-1: last cumulatively ack ed byte Example: SendBase-1 = 71; y= 73, so the rcvr wants 73+ ; y > SendBase, so that new data is acked } /* end of loop forever */ 98

99 TCP: retransmission scenarios Host A Host B Host A Host B Seq=92, 8 bytes data Seq=92, 8 bytes data Seq=100, 20 bytes data ACK=120 ACK=100 Seq=92 timeout ACK=100 X timeout loss Seq=92, 8 bytes data Seq=92, 8 bytes data ACK=120 Seq=92 timeout ACK=100 SendBase = 100 time lost ACK scenario Sendbase = 100 SendBase = SendBase = 120 time premature timeout

100 TCP retransmission scenarios (more) Host A Host B Seq=92, 8 bytes data ACK=100 X Seq=100, 20 bytes data timeout loss ACK=120 SendBase = 120 time Cumulative ACK scenario 100

101 TCP ACK generation [RFC 1122, RFC 2581] Event at Receiver Arrival of in-order segment with expected seq #. All data up to expected seq # already ACKed Arrival of in-order segment with expected seq #. One other segment has ACK pending Arrival of out-of-order segment higher-than-expect seq. #. Gap detected Arrival of segment that partially or completely fills gap TCP Receiver action Delayed ACK. Wait up to 500ms for next segment. If no next segment, send ACK Immediately send single cumulative ACK, ACKing both in-order segments Immediately send duplicate ACK, indicating seq. # of next expected byte Immediate send ACK, provided that segment startsat lower end of gap 101

102 TCP ACK 的產生 [RFC 1122 RFC 2581] 接收端的事件 內含預設序號的資料分段按照順序到達 所有在預期序號之前的資料都已經確認 內含預期序號的資料分段按照順序到達 另一個依序到達的資料分段正在等待 ACK 傳送 未依照順序且序號超過預期序號的資料分段到達 偵測到序號中斷的情況 資料分段的到達 可以部分或完全填滿已接收資料的中斷 TCP 接收端的動作 延後出發 ACK 等待另一個應依順序到達的資料分段 等待最多 500 毫秒 若下一個依序資料分段未在此時間間隔內到達 則送出 ACK 立刻送出單一的累積式 ACK 確認這兩個依照序號到達的資料分段 立刻送出重複的 ACK 指出下一個預期到達為組的序號 ( 就是序號中斷範圍中的較低序號 ) 即刻送出 ACK 如果資料從中斷的較低序號端開始填滿 102

103 Fast Retransmit Time-out period often relatively long: long delay before resending lost packet Detect lost segments via duplicate ACKs. Sender often sends many segments back-to-back If segment is lost, there will likely be many duplicate ACKs. If sender receives 3 ACKs for the same data, it supposes that segment after ACKed data was lost: fast retransmit: resend segment before timer expires 103

104 快速重新傳送 逾時間隔通常相對地太長 : 在重傳遺失的封包前會有很長的延遲 經由重複的 ACK 偵測到資料分段的遺失 傳送端經常連續傳送許多資料分段 假如資料分段遺失了 可能會有許多大量的重複 ACK 假如傳送端接收到 3 個 ACK 它會假設已確認之後的資料已經遺失了 : 快速重新傳送 : 在計時器逾期之前 會先傳送資料分段 104

105 Fast retransmit algorithm: event: ACK received, with ACK field value of y if (y > SendBase) { SendBase = y if (there are currently not-yet-acknowledged segments) start timer } else { increment count of dup ACKs received for y if (count of dup ACKs received for y = 3) { resend segment with sequence number y } a duplicate ACK for already ACKed segment fast retransmit 105

106 TCP Flow Control Receive side of TCP connection has a receive buffer: flow control Sender won t overflow receiver s buffer by transmitting too much, too fast App process may be slow at reading from buffer Speed-matching service: matching the send rate to the receiving app s drain rate 106

107 TCP 流量控制 TCP 連線的接收端有一個接收緩衝區 : 流量控制傳送端不會傳送太多太快的資料超過接收端的緩衝區 速度調整服務 : 調整傳送端的速度與接收端應用程式能負擔的速度 相符 應用程式的行程也許會以較慢的速度從緩衝區讀取資料 107

108 TCP Flow control: how it works (Suppose TCP receiver discards out-of-order segments) spare room in buffer = RcvWindow = RcvBuffer-[LastByteRcvd - LastByteRead] Rcvr advertises spare room by including value of RcvWindow in segments Sender limits unacked data to RcvWindow guarantees receive buffer doesn t overflow 108

109 TCP 流量控制 : 如何運作 ( 假設 TCP 接收端會將順序不正確的資料分段捨棄 ) 緩衝區內的剩餘空間 = RcvWindow = RcvBuffer-[LastByteRcvd - LastByteRead] 接收端將 RcvWindow 值包含在資料分段裡 以告知剩餘的空間 傳送端限制未確認的資料在 RcvWindow 之下 保證接收端緩衝區不會溢出 109

110 TCP Connection Management Recall: TCP sender, receiver establish connection before exchanging data segments initialize TCP variables: seq. #s buffers, flow control info (e.g. RcvWindow) client: connection initiator Socket clientsocket = new Socket("hostname","port number"); server: contacted by client Socket connectionsocket = welcomesocket.accept(); 110 Three way handshake: Step 1: client host sends TCP SYN segment to server specifies initial seq # no data Step 2: server host receives SYN, replies with SYNACK segment server allocates buffers specifies server initial seq. # Step 3: client receives SYNACK, replies with ACK segment, which may contain data

111 TCP 連線管理 回想 : TCP 傳送端 接收端在交換資料分段之前 會先建立 連線 將 TCP 變數初始化 : 序號 緩衝區 流量控制資訊 ( 例如 RcvWindow) 用戶端 : 開始連線者 Socket clientsocket = new Socket("hostname" "port number"); 伺服端 : 被用戶端聯繫 Socket connectionsocket = welcomesocket.accept(); 三路交握 : 步驟 1: 用戶端主機傳送 TCP SYN 資料分段到伺服器 指定初始的序號 沒有資料步驟 2: 伺服端主機收到 SYN 以 SYNACK 資料分段回應 伺服端配置緩衝區 指定伺服端的初始序號步驟 3: 用戶端收到 SYNACK 回應 ACK 資料分段 可能含有資料 111

112 TCP Connection Management (cont.) Closing a connection: client closes socket: clientsocket.close(); close client FIN server Step 1: client end system sends TCP FIN control segment to server ACK FIN close Step 2: server receives FIN, replies with ACK. Closes connection, sends FIN. timed wait closed ACK 112

113 TCP 連線管理 ( 續 ) 關閉連線 : 用戶端關閉 socket: clientsocket.close(); 關閉 用戶端 FIN 伺服端 步驟 1: 用戶端終端系統傳送 TCP FIN 控制分段到伺服端 步驟 2: 伺服端接收到 FIN 以 ACK 回應 關閉連線 傳送 FIN timed wait ACK FIN ACK 關閉 已關閉 113

114 TCP Connection Management (cont.) Step 3: client receives FIN, replies with ACK. client server Enters timed wait - will respond with ACK to received FINs closing FIN Step 4: server, receives ACK. Connection closed. ACK FIN closing Note: with small modification, can handle simultaneous FINs. timed wait closed ACK closed 114

115 TCP 連線管理 ( 續 ) 步驟 3: 用戶端收到 FIN 回應 ACK 訊息 用戶端 伺服端 進入 等待計時 對接收到的 FIN 做確認的回應 關閉 FIN 步驟 4: 伺服端 收到 ACK 連線關閉 注意 : 做一點小修改 可以處理同時的 FIN timed wait ACK FIN ACK 關閉 已關閉 已關閉 115

116 TCP Connection Management (cont) TCP server lifecycle TCP client lifecycle 116

117 TCP 連線管理 ( 續 ) TCP 伺服端生命週期 TCP 用戶端生命週期 117

118 3.6 Principles of congestion control 118

119 Principles of Congestion Control Congestion: Informally: too many sources sending too much data too fast for network to handle 非正式地 : 太多的來源端傳送太多的資料 對網路來說太快 超過能處理的速度 Different from flow control 與流量控制不同! Manifestations 表現形式 : Lost packets (buffer overflow at routers) 封包遺失 ( 路由器緩衝區溢出 ) Long delays (queueing in router buffers) 長的延遲 ( 在路由器緩衝區佇列中等待 ) 119

120 Causes/costs of congestion 壅塞的原因和代價 : scenario 1 Two senders, two receivers 兩個傳送端 兩個接收端 Host A λ in : original data λ out One router, infinite buffers 一個路由器 無限的緩衝區 Host B unlimited shared output link buffers No retransmission 沒有重傳機制 Large delays when congested 當壅塞時會有很長的延遲 Maximum achievable throughput 最大的可達成流通量 120

121 Causes/costs of congestion: scenario 2 One router, finite buffers 一個路由器 有限的緩衝區 Sender retransmission of lost packet 傳送端會重新傳送遺失的封包 Host A λ in : original data λ' in : original data, plus retransmitted data λ out Host B finite shared output link buffers 121

122 Causes/costs of congestion: scenario 2 Always: λ = λ (goodput) in out perfect retransmission only when loss: λ > λ in out Retransmission of delayed (not lost) packet makes larger (than perfect case) for same λ out λ in R/2 R/2 R/2 R/3 λ out λ out λ out R/4 λ in R/2 λ in R/2 λ in R/2 a. b. c. costs of congestion: More work (retrans) for given goodput Unneeded retransmissions: link carries multiple copies of pkt 122

123 壅塞的原因和代價 : 情況 2 總是 : λ = λ (goodput 實際產量) in out 理想的 重新傳送 只在遺失 : λ > λ in out 傳送延遲的封包 ( 並非遺失 ) 會使的同的 λ 下 out λ 較大 ( 大於理想狀況 ) 在相 in R/2 R/2 R/2 R/3 λ out λ out λ out R/4 λ in R/2 λ in R/2 λ in R/2 a. b. c. 壅塞的 代價 : 對給定的 實際產量 (goodput) 會有更多的工作 ( 重新傳輸 ) 不需要的重新傳輸 : 連結必須負擔多個封包的副本 123

124 Causes/costs of congestion: scenario 3 Four senders 四個傳送端 Multihop paths 多次轉接路徑 Timeout/retransmit 逾時 / 重新傳送 Host A λ in : original data λ' in : original data, plus retransmitted data Q: What happens λ in as λ and in increase? finite shared output link buffers λ out Host B 124

125 Causes/costs of congestion: scenario 3 H o s t A λ o u t H o s t B Another cost of congestion 壅塞的另一個代價 : When packet dropped, any upstream transmission capacity used for that packet was wasted! 當封包被丟掉時 此封包所使用到的任何 上游 傳送容量就被浪費掉了 125

126 Approaches towards congestion control Two broad approaches towards congestion control: End-end congestion control: No explicit feedback from network Congestion inferred from end-system observed loss, delay Approach taken by TCP Network-assisted congestion control: Routers provide feedback to end systems Single bit indicating congestion (SNA, DECbit, TCP/IP ECN, ATM) Explicit rate sender should send at 126

127 壅塞控制的方法 壅塞控制的兩個主要方法 : 端點對端點壅塞控制 : 網路層並沒有提供明顯的協助 根據中端系統觀察到的遺失及延遲來判斷壅塞 TCP 採用的方法 網路協助的壅塞控制 : 路由器提供協助給終端系統 以一個位元來表示壅塞 (SNA DECbit TCP/IP ECN ATM) 傳送端應該傳送的明確速率 127

128 Case study: ATM ABR congestion control ABR: available bit rate: elastic service If sender s path underloaded : Sender should use available bandwidth If sender s path congested: Sender throttled to minimum guaranteed rate RM (resource management) cells: Sent by sender, interspersed with data cells Bits in RM cell set by switches ( networkassisted ) NI bit: no increase in rate (mild congestion) CI bit: congestion indication RM cells returned to sender by receiver, with bits intact 128

129 案例研究 : ATM ABR 壅塞控制 ABR: 可用的位元速率 : 彈性的服務 假如傳送端路徑 負載量很低 時 : 傳送端可以利用可用的頻寬 假如傳送端路徑壅塞時 : 傳送端減速到最小的保證速率 RM ( 資源管理 ) 封包單位 : 傳送端所傳送的 配置在資料封包單位中 RM 封包單位中的位元 由交換器設定 ( 網路協助 ) NI 位元 : 不增加速率 ( 輕微壅塞 ) CI 位元 : 壅塞指示 RM 封包單位的位元由接收端原封不動地送回給傳送端 129

130 Case study: ATM ABR congestion control Two-byte ER (explicit rate) field in RM cell Congested switch may lower ER value in cell Sender send rate thus maximum supportable rate on path EFCI bit in data cells: set to 1 in congested switch If data cell preceding RM cell has EFCI set, sender sets CI bit in returned RM cell 130

131 案例研究 : ATM ABR 壅塞控制 RM 封包單位中 兩個位元組的 ER ( 明確速率 ) 欄位 壅塞的交換器會降低封包單位中的 ER 值 因此 傳送端的傳送速率為路徑上最低可支援速率 資料封包單位中的 EFCI 位元 : 在壅塞的交換器中設定為 1 假如 RM 封包單位之前的資料封包的 EFCI 都被設定 則傳送端會將 CI 位元設定在回傳的 RM 封包單位中 131

132 3.7 TCP congestion control 132

133 TCP Congestion Control: details Sender limits transmission: LastByteSent-LastByteAcked Roughly, rate = CongWin RTT CongWin Bytes/sec CongWin is dynamic, function of perceived network congestion 133 How does sender perceive congestion? Loss event = timeout or 3 duplicate acks TCP sender reduces rate (CongWin) after loss event Three mechanisms: AIMD slow start conservative after timeout events

134 TCP 壅塞控制 : 細節 傳送端限制速率 : LastByteSent-LastByteAcked 大致上 rate = CongWin RTT CongWin Bytes/sec CongWin 是動態的 是察覺的網路壅塞函數 傳送端如何察覺到壅塞狀況? 遺失事件 = 逾時或 3 個重複的 ack 在遺失事件之後 TCP 傳送端會降低速率 (CongWin) 三個機制 : AIMD 緩數啟動 發生逾時事件後的保守態度 134

135 TCP congestion control: additive increase, multiplicative decrease TCP 壅塞控制 : 累積遞增 倍數遞減 Approach: increase transmission rate (window size), probing for usable bandwidth, until loss occurs 增加傳送速率 ( 視窗大小 ) 探測可用的頻寬 直到發生遺失的狀況 Additive increase 累積遞增 : increase CongWin by 1 MSS every RTT until loss detected 每個 RTT 將 CongWin 加 1 直到發生遺失 Multiplicative decrease 倍數遞減 : cut CongWin in half after loss 在發生遺失之後 將 CongWin 減為一半 Saw tooth behavior 看到鋸齒形式 : probing for bandwidth 頻寬的探測 congestion window size 24 Kbytes 16 Kbytes 8 Kbytes congestion window 135 time time

136 AIMD (Additive-Increase, Multiplicative- Decrease) 累加遞增 倍數遞減 TCP congestion control is for the sender to reduce its sending rate (by decreasing its congestion window size, CongWin) 讓傳送端在發生遺失事件時, 降低它的傳送速率 ( 減少 CongWin 大小 ) Loss CongWin size 減少一半 No loss CongWin zise 每次加 1 Additive-Increase( 累加遞增 ) 稱為 congestion avoidance( 壅塞迴避 ) 136

137 TCP Slow Start When connection begins, CongWin = 1 MSS Example: MSS = 500 bytes & RTT = 200 msec Initial rate = 20 kbps Available bandwidth may be >> MSS/RTT Desirable to quickly ramp up to respectable rate When connection begins, increase rate exponentially fast until first loss event 137

138 TCP 緩速啟動 當連線一開始時 CongWin = 1 MSS 範例 : MSS = 500 位元組 & RTT = 200 毫秒 初始速率 = 20 kbps 可用的頻寬可能 >> MSS/RTT 想要快速地增加到可接受的速率 當連結開始時 以指數型式增加速率 直到第一個遺失發生 MSS: maximum segment size 138

139 TCP Slow Start (more) When connection begins, increase rate exponentially until first loss event: Double CongWin every RTT RTT Host A Host B one segment two segments Done by incrementing CongWin for every ACK received four segments Summary: initial rate is slow but ramps up exponentially fast time 139

140 TCP 緩速啟動 ( 更多 ) 當連結開始時 以指數型式增加速率 直到第一個遺失事件發生 : 在每次的 RTT 將 CongWin 增為一倍 每次收到 ACK 時 會增加 CongWin 總結 : 開始的速率是緩慢的 但會以指數形式快速增加速率 RTT 主機 A 主機 B 第一個資料分段第二個資料分段第四個資料分段 時間 140

141 Refinement Q: When should the exponential increase switch to linear? A: When CongWin gets to 1/2 of its value before timeout. Implementation: Variable Threshold At loss event, Threshold is set to 1/2 of CongWin just before loss event 141

142 再改良 Q: 指數形式的增長什麼時候會轉換為線性的? A: 當 CongWin 到達逾時事件發生前的一半大小 實作 : 變數 Threshold 在遺失事件發生時 Threshold 會被設為遺失事件發生之前的 CongWin 的 1/2 142

143 Refinement: inferring loss After 3 dup ACKs: CongWin is cut in half Window then grows linearly But after timeout event: CongWin instead set to 1 MSS; Window then grows exponentially To a threshold, then grows linearly Philosophy: 3 dup ACKs indicates network capable of delivering some segments timeout indicates a more alarming congestion scenario 143

144 再改良 : 推論遺失 在三個重複的 ACK 之後 : CongWin 減為一半 視窗接下來會線性成長 但是在逾時事件後 : CongWin 設為 1 MSS; 視窗會以指數增長 到一個門檻 接著以線性成長 哲學 : 3 個重複的 ACKs 表示網路有能力傳送某些資料分段 逾時表示較為嚴重的壅塞狀況 144

145 Summary: TCP Congestion Control When CongWin is below Threshold, sender in slow-start phase, window grows exponentially. When CongWin is above Threshold, sender is in congestion-avoidance phase, window grows linearly. When a triple duplicate ACK occurs, Threshold set to CongWin/2 and CongWin set to Threshold. When timeout occurs, Threshold set to CongWin/2 and CongWin is set to 1 MSS. 145

146 總結 : TCP 壅塞控制 當 CongWin 在 Threshold 之下且傳送端在緩速啟動階段時 視窗以指數成長 當 CongWin 在 Threshold 之上且傳送端在壅塞避免階段 視窗以線性成長 當三個重複的 ACK 發生時 將 Threshold 設定為 CongWin/2 且 CongWin 設定為 Threshold 當逾時發生時 Threshold 設定為 CongWin/2 且 CongWin 設定為 1 MSS 146

147 TCP sender congestion control State Event TCP Sender Action Commentary Slow Start (SS) Congestion Avoidance (CA) SS or CA ACK receipt for previously unacked data ACK receipt for previously unacked data Loss event detected by triple duplicate ACK CongWin = CongWin + MSS, If (CongWin > Threshold) set state to Congestion Avoidance CongWin = CongWin+MSS * (MSS/CongWin) Threshold = CongWin/2, CongWin = Threshold, Set state to Congestion Avoidance Resulting in a doubling of CongWin every RTT Additive increase, resulting in increase of CongWin by 1 MSS every RTT Fast recovery, implementing multiplicative decrease. CongWin will not drop below 1 MSS. SS or CA Timeout Threshold = CongWin/2, CongWin = 1 MSS, Set state to Slow Start Enter slow start SS or CA Duplicate ACK Increment duplicate ACK count for segment being acked CongWin and Threshold not changed 147

148 TCP 傳送端壅塞控制 狀態 事件 TCP 傳送端動作 註解 緩速啟動 (SS) 收到下一個時確認資料的 ACK CongWin = CongWin + MSS 如果 (CongWin > Threshold) 設定狀態為 壅塞避免 導致在每個 RTT 時間內 CongWin 數值的倍增 壅塞避免 (CA) 收到下一個待確認資料的 ACK CongWin = CongWin+MSS * (MSS/CongWin) 累加遞增 導致 CongWin 在每個 RTT 時間內增加 1MSS SS or CA 偵測到三個重複 ACK 的遺失事件 Threshold = CongWin/2 CongWin = Threshold 設定狀態為 壅塞避免 快速回復 採用倍數遞減 CongWin 值不會低於 1MSS SS or CA 逾時 Threshold = CongWin/2 CongWin = 1 MSS 設定狀態為 緩速啟動 進入緩速啟動 SS or CA 重複 ACK 增加資料分段被確認的重複 ACK 記數 CongWin 及 Threshold 不會改變 148

149 TCP throughput What s the average throughout of TCP as a function of window size and RTT? Ignore slow start Let W be the window size when loss occurs. When window is W, throughput is W/RTT Just after loss, window drops to W/2, throughput to W/2RTT. Average throughout:.75 W/RTT 149

150 TCP 流通量 TCP 的平均流通量為何? 以視窗大小以及 RTT 值的函數表示? 忽略緩慢啟動階段 令 W 為遺失發生時的視窗大小 當視窗大小為 W 時 流通量為 W/RTT 在遺失發生之後 視窗馬上降為 W/2 流通量為 W/2RTT 平均流通量 :.75 W/RTT 150

151 TCP Futures: TCP over long, fat pipes Example: 1500 byte segments, 100ms RTT, want 10 Gbps throughput Requires window size W = 83,333 in-flight segments Throughput in terms of loss rate: L = MSS RTT New versions of TCP for high-speed L 151

152 TCP 的未來 :TCP 壅塞控制演化了很長的時間 範例 : 1500 位元組資料分段 100 毫秒 RTT 想要達到 10 Gbps 的流通量 需要視窗大小 W = 83,333 傳輸的資料分段 (10Gbps=(W/MSS)/RTT W=10G/(MSS*RTT) =10G/(1500*8*100ms)=83333 ) 以遺失率計算流通量 : 1.22 MSS RTT L = ( 很低的 loss rate) 我們需要高速環境下的新版 TCP! L 152

153 TCP Fairness Fairness goal: if K TCP sessions share same bottleneck link of bandwidth R, each should have average rate of R/K TCP connection 1 TCP connection 2 bottleneck router capacity R 153

154 TCP 公平性 公平性目標 : 假如有 K 條 TCP 會談連線 分享同一個瓶頸點連結的頻寬 R 每一個應該有 R/K 的平均速率 TCP 連結 1 TCP 連結 2 瓶頸點路由器容量 R 154

155 Why is TCP fair? Two competing sessions: Additive increase gives slope of 1, as throughout increases Multiplicative decrease decreases throughput proportionally R equal bandwidth share Connection 2 throughput Connection 1 throughput loss: decrease window by factor of 2 congestion avoidance: additive increase loss: decrease window by factor of 2 congestion avoidance: additive increase R 155

156 TCP 為什麼公平? 兩個互相競爭的會談連線 : 隨著流通量增加 累積遞增會導致 1 的斜率 倍數遞減會使得流通量成比例地遞減 R 平等的頻寬分享 連線 2 的流通量 遺失 : 將視窗以 1/2 為因子遞減壅塞避免 : 累積遞增 遺失 : 將視窗以 1/2 為因子遞減壅塞避免 : 累積遞增 連線 1 的流通量 R 156

157 Fairness (more) Fairness and UDP Multimedia apps often do not use TCP Do not want rate throttled by congestion control Instead use UDP: Pump audio/video at constant rate, tolerate packet loss Research area: TCP friendly Fairness and parallel TCP connections Nothing prevents app from opening parallel connections between 2 hosts. Web browsers do this Example: link of rate R supporting 9 connections; New app asks for 1 TCP, gets rate R/10 New app asks for 11 TCPs, gets R/2! 157

158 公平性 ( 更多 ) 公平性和 UDP 多媒體應用程式通常不會使用 TCP 不想藉壅塞控制限制速率 使用 UDP 來取代 : 以固定速率將音訊 / 視訊送入網路 容忍封包遺失 研究領域 : TCP 的友善性 公平性以及平行的 TCP 連結 無法防止應用程式在兩個主機間開啟平行的連線 Web 瀏覽器會這樣做 範例 : 速率 R 的連結支援 supporting 9 個程式 ; 新的應用程式要求 1 個 TCP 則得到 R/10 的速率 新的應用程式要求 11 個 TCP 則得到 R/2 的速率! 158

穨control.PDF

穨control.PDF TCP congestion control yhmiu Outline Congestion control algorithms Purpose of RFC2581 Purpose of RFC2582 TCP SS-DR 1998 TCP Extensions RFC1072 1988 SACK RFC2018 1996 FACK 1996 Rate-Halving 1997 OldTahoe

More information

第三章: 傳輸層

第三章: 傳輸層 第三章 : 傳輸層 我們的目標 : 了解傳輸層服務背後的原則 : 多工 / 解多工 可靠的資料傳輸 流量控制 壅塞控制 學習有關網際網路上的傳輸層協定 : UDP: 非預接式傳輸 TCP: 連線導向的傳輸 TCP 壅塞控制 Transport Layer 3-1 第三章 : 傳輸層 3.1 傳輸層服務 3.2 多工和解多工 3.3 非預接式傳輸 : UDP 3.4 可靠資料傳輸的原理 3.5 連線導向傳輸

More information

Microsoft Word final

Microsoft Word final 只寫答案而沒有解釋說明, 扣一半分數. 針對 63.07.72. 這個 IP address,( 以十進位表示, 要寫完整過程 ) (7%) a. 這一個 IP 屬於那個 Class 的網路? 以二進位說明 (%) 其所屬的 IP 網路表示法為何?(2%) 可用 IP 範圍?(2%) 共有幾個 IP 可用?(%) mask 的值為何?(%) b. 將此 IP 網路分成 7 subnets,subnet

More information

Microsoft PowerPoint - 第三章v6.ppt [兼容模式]

Microsoft PowerPoint - 第三章v6.ppt [兼容模式] 第三章传输层 注 : 本 PPT 来源于下面的资料, 并有所修改 All material copyright 1996-2012 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

More information

UDP 8.2 TCP/IP OSI OSI 3 OSI TCP/IP IP TCP/IP TCP/IP Transport Control Protocol TCP User Datagram Protocol UDP TCP TCP/IP IP TCP TCP/IP TC

UDP 8.2 TCP/IP OSI OSI 3 OSI TCP/IP IP TCP/IP TCP/IP Transport Control Protocol TCP User Datagram Protocol UDP TCP TCP/IP IP TCP TCP/IP TC 8 TCP/IP TCP/IP TCP OSI 8.1 OSI 4 end to end A B FTP OSI Connection Management handshake Flow Control Error Detection IP Response to User s Request TCP/IP TCP 181 UDP 8.2 TCP/IP OSI OSI 3 OSI 3 8.1 TCP/IP

More information

Microsoft PowerPoint - 数据通信-ch1.ppt

Microsoft PowerPoint - 数据通信-ch1.ppt 主 要 内 容 与 基 本 要 求 主 要 内 容 数 据 通 信 与 计 算 机 网 络 计 算 机 网 络 的 发 展 过 程 分 类 以 及 主 要 性 能 指 标 ; 分 组 交 换 的 基 本 原 理 及 其 与 电 路 交 换 报 文 交 换 的 联 系 与 区 别 ; 计 算 机 网 络 的 协 议 与 体 系 结 构 第 1 章 概 述 基 本 要 求 掌 握 分 组 交 换 电 路

More information

TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP

TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP TCP/IP : TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP 1. ASCII EBCDIC Extended Binary-Coded Decimal Interchange Code 2. / (1) (2) Single System Image SSI) (3) I/O (4) 3.OSI OSI Open System Interconnection

More information

...1 What?...2 Why?...3 How? ( ) IEEE / 23

...1 What?...2 Why?...3 How? ( ) IEEE / 23 .... IEEE 1588 2010 7 8 ( ) IEEE 1588 2010 7 8 1 / 23 ...1 What?...2 Why?...3 How? ( ) IEEE 1588 2010 7 8 2 / 23 ...1 What?...2 Why?...3 How? ( ) IEEE 1588 2010 7 8 3 / 23 IEEE 1588 ( ) IEEE 1588 2010

More information

Microsoft PowerPoint - Aqua-Sim.pptx

Microsoft PowerPoint - Aqua-Sim.pptx Peng Xie, Zhong Zhou, Zheng Peng, Hai Yan, Tiansi Hu, Jun-Hong Cui, Zhijie Shi, Yunsi Fei, Shengli Zhou Underwater Sensor Network Lab 1 Outline Motivations System Overview Aqua-Sim Components Experimental

More information

Chapter #

Chapter # 第三章 TCP/IP 协议栈 本章目标 通过本章的学习, 您应该掌握以下内容 : 掌握 TCP/IP 分层模型 掌握 IP 协议原理 理解 OSI 和 TCP/IP 模型的区别和联系 TCP/IP 介绍 主机 主机 Internet TCP/IP 早期的协议族 全球范围 TCP/IP 协议栈 7 6 5 4 3 应用层表示层会话层传输层网络层 应用层 主机到主机层 Internet 层 2 1 数据链路层

More information

BC04 Module_antenna__ doc

BC04 Module_antenna__ doc http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 1 of 10 http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 2 of 10 http://www.infobluetooth.com TEL:+86-23-68798999

More information

Microsoft PowerPoint - STU_EC_Ch08.ppt

Microsoft PowerPoint - STU_EC_Ch08.ppt 樹德科技大學資訊工程系 Chapter 8: Counters Shi-Huang Chen Fall 2010 1 Outline Asynchronous Counter Operation Synchronous Counter Operation Up/Down Synchronous Counters Design of Synchronous Counters Cascaded Counters

More information

C3_ppt.PDF

C3_ppt.PDF C03-101 1 , 2 (Packet-filtering Firewall) (stateful Inspection Firewall) (Proxy) (Circuit Level gateway) (application-level gateway) (Hybrid Firewall) 2 IP TCP 10.0.0.x TCP Any High Any 80 80 10.0.0.x

More information

IP Access Lists IP Access Lists IP Access Lists

IP Access Lists IP Access Lists IP Access Lists Chapter 10 Access Lists IP Access Lists IP Access Lists IP Access Lists Security) IP Access Lists Access Lists (Network router For example, RouterA can use an access list to deny access from Network 4

More information

Microsoft PowerPoint - Performance Analysis of Video Streaming over LTE using.pptx

Microsoft PowerPoint - Performance Analysis of Video Streaming over LTE using.pptx ENSC 427 Communication Networks Spring 2016 Group #2 Project URL: http://www.sfu.ca/~rkieu/ensc427_project.html Amer, Zargham 301149920 Kieu, Ritchie 301149668 Xiao, Lei 301133381 1 Roadmap Introduction

More information

Simulator By SunLingxi 2003

Simulator By SunLingxi 2003 Simulator By SunLingxi [email protected] 2003 windows 2000 Tornado ping ping 1. Tornado Full Simulator...3 2....3 3. ping...6 4. Tornado Simulator BSP...6 5. VxWorks simpc...7 6. simulator...7 7. simulator

More information

IP505SM_manual_cn.doc

IP505SM_manual_cn.doc IP505SM 1 Introduction 1...4...4...4...5 LAN...5...5...6...6...7 LED...7...7 2...9...9...9 3...11...11...12...12...12...14...18 LAN...19 DHCP...20...21 4 PC...22...22 Windows...22 TCP/IP -...22 TCP/IP

More information

第 1 章 概 述 1.1 计 算 机 网 络 在 信 息 时 代 中 的 作 用 1.2 计 算 机 网 络 的 发 展 过 程 *1.2.1 分 组 交 换 的 产 生 *1.2.2 因 特 网 时 代 *1.2.3 关 于 因 特 网 的 标 准 化 工 作 1.2.4 计 算 机 网 络 在

第 1 章 概 述 1.1 计 算 机 网 络 在 信 息 时 代 中 的 作 用 1.2 计 算 机 网 络 的 发 展 过 程 *1.2.1 分 组 交 换 的 产 生 *1.2.2 因 特 网 时 代 *1.2.3 关 于 因 特 网 的 标 准 化 工 作 1.2.4 计 算 机 网 络 在 计 算 机 网 络 ( 第 4 版 ) 课 件 第 1 章 计 算 机 网 络 概 述 郭 庆 北 [email protected] 2009-02-25 第 1 章 概 述 1.1 计 算 机 网 络 在 信 息 时 代 中 的 作 用 1.2 计 算 机 网 络 的 发 展 过 程 *1.2.1 分 组 交 换 的 产 生 *1.2.2 因 特 网 时 代 *1.2.3 关 于 因 特

More information

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING 前言 - Andrew Payne 目录 1 2 Firefly Basics 3 COMPONENT TOOLBOX 目录 4 RESOURCES 致谢

More information

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl SKLOIS (Pseudo) Preimage Attack on Reduced-Round Grøstl Hash Function and Others Shuang Wu, Dengguo Feng, Wenling Wu, Jian Guo, Le Dong, Jian Zou March 20, 2012 Institute. of Software, Chinese Academy

More information

PowerPoint Presentation

PowerPoint Presentation Decision analysis 量化決策分析方法專論 2011/5/26 1 Problem formulation- states of nature In the decision analysis, decision alternatives are referred to as chance events. The possible outcomes for a chance event

More information

工程师培训

工程师培训 .1 TCP/IP TCP/IP 1 .2.2.1 Host 1960 S 1970 S Host Low Speed Lines 1970 S 1980 S pc Server Local Interneting 1980 S 1990 S Branch. pc Branch. WAN Branch. pc pc IBM SNA IBM X.25 2 .2.2 OSI OSI Application

More information

國立中山大學學位論文典藏.PDF

國立中山大學學位論文典藏.PDF 國 立 中 山 大 學 企 業 管 理 學 系 碩 士 論 文 以 系 統 動 力 學 建 構 美 食 餐 廳 異 國 麵 坊 之 管 理 飛 行 模 擬 器 研 究 生 : 簡 蓮 因 撰 指 導 教 授 : 楊 碩 英 博 士 中 華 民 國 九 十 七 年 七 月 致 謝 詞 寫 作 論 文 的 過 程 是 一 段 充 滿 艱 辛 與 淚 水 感 動 與 窩 心 的 歷 程, 感 謝 這 一

More information

Microsoft Word - template.doc

Microsoft Word - template.doc HGC efax Service User Guide I. Getting Started Page 1 II. Fax Forward Page 2 4 III. Web Viewing Page 5 7 IV. General Management Page 8 12 V. Help Desk Page 13 VI. Logout Page 13 Page 0 I. Getting Started

More information

Microsoft Word - TIP006SCH Uni-edit Writing Tip - Presentperfecttenseandpasttenseinyourintroduction readytopublish

Microsoft Word - TIP006SCH Uni-edit Writing Tip - Presentperfecttenseandpasttenseinyourintroduction readytopublish 我 难 度 : 高 级 对 们 现 不 在 知 仍 道 有 听 影 过 响 多 少 那 次 么 : 研 英 究 过 文 论 去 写 文 时 作 的 表 技 引 示 巧 言 事 : 部 情 引 分 发 言 该 生 使 在 中 用 过 去, 而 现 在 完 成 时 仅 表 示 事 情 发 生 在 过 去, 并 的 哪 现 种 在 时 完 态 成 呢 时? 和 难 过 道 去 不 时 相 关? 是 所 有

More information

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS

More information

9 Internet 10 Internet

9 Internet 10 Internet 1 2 3 4 5 6 Internet 7 8 9 Internet 10 Internet 11 12 1 1.1 1.2 1.3 1.4 1.5 1.6 1.1 1.1.1 20 50 20 60 ARPANET ARPANET Internet 20 70 ISO International Organization for Standardization TCP/IP 20 90 Internet

More information

TX-NR3030_BAS_Cs_ indd

TX-NR3030_BAS_Cs_ indd TX-NR3030 http://www.onkyo.com/manual/txnr3030/adv/cs.html Cs 1 2 3 Speaker Cable 2 HDMI OUT HDMI IN HDMI OUT HDMI OUT HDMI OUT HDMI OUT 1 DIGITAL OPTICAL OUT AUDIO OUT TV 3 1 5 4 6 1 2 3 3 2 2 4 3 2 5

More information

untitled

untitled LBS Research and Application of Location Information Management Technology in LBS TP319 10290 UDC LBS Research and Application of Location Information Management Technology in LBS , LBS PDA LBS

More information

计算机网络

计算机网络 [email protected] Internet 3 James F.Kurose Keith W.Ross 4 Andrew S.Tanenbaum 3 Larry L.Peterson, Bruce S.Davie 3 1. ISO OSI/RM( ) TCP/IP ( TELNET, FTP, SMTP ) (TCP UDP) IP 2. Internet : Internet 5 (1)

More information

1505.indd

1505.indd 上 海 市 孙 中 山 宋 庆 龄 文 物 管 理 委 员 会 上 海 宋 庆 龄 研 究 会 主 办 2015.05 总 第 148 期 图 片 新 闻 2015 年 9 月 22 日, 由 上 海 孙 中 山 故 居 纪 念 馆 台 湾 辅 仁 大 学 和 台 湾 图 书 馆 联 合 举 办 的 世 纪 姻 缘 纪 念 孙 中 山 先 生 逝 世 九 十 周 年 及 其 革 命 历 程 特 展

More information

Lorem ipsum dolor sit amet, consectetuer adipiscing elit

Lorem ipsum dolor sit amet, consectetuer adipiscing elit English for Study in Australia 留 学 澳 洲 英 语 讲 座 Lesson 3: Make yourself at home 第 三 课 : 宾 至 如 归 L1 Male: 各 位 朋 友 好, 欢 迎 您 收 听 留 学 澳 洲 英 语 讲 座 节 目, 我 是 澳 大 利 亚 澳 洲 广 播 电 台 的 节 目 主 持 人 陈 昊 L1 Female: 各 位

More information

第3章 计算机网络体系结构

第3章  计算机网络体系结构 第 3 章 计 算 机 网 络 体 系 结 构 本 章 内 容 计 算 机 的 网 络 体 系 结 构 网 络 参 考 模 型 五 层 网 络 参 考 模 型 1 3.1 计 算 机 网 络 体 系 结 构 发 展 历 程 分 层 原 理 基 本 概 念 2 发 展 历 程 网 络 体 系 结 构 提 出 的 背 景 计 算 机 网 络 的 复 杂 性 异 质 性 不 同 的 通 信 介 质 有 线

More information

<4D6963726F736F667420506F776572506F696E74202D20B5DAD2BBD5C228B4F2D3A1B0E6292E707074205BBCE6C8DDC4A3CABD5D>

<4D6963726F736F667420506F776572506F696E74202D20B5DAD2BBD5C228B4F2D3A1B0E6292E707074205BBCE6C8DDC4A3CABD5D> Homeworks ( 第 三 版 ):.4 (,, 3).5 (, 3).6. (, 3, 5). (, 4).4.6.7 (,3).9 (, 3, 5) Chapter. Number systems and codes 第 一 章. 数 制 与 编 码 . Overview 概 述 Information is of digital forms in a digital system, and

More information

國立中山大學學位論文典藏

國立中山大學學位論文典藏 I II III IV The theories of leadership seldom explain the difference of male leaders and female leaders. Instead of the assumption that the leaders leading traits and leading styles of two sexes are the

More information

RAQMON Context Setting MG PDA Applications RTP / FTP/ HTTP TCP/UDP S ignaling control plane (e.g. RS VP, NS IS) Streaming Media, Transaction, Bulk dat

RAQMON Context Setting MG PDA Applications RTP / FTP/ HTTP TCP/UDP S ignaling control plane (e.g. RS VP, NS IS) Streaming Media, Transaction, Bulk dat Realtime Application QOS Monitoring (RAQMON) Dan Romascanu [email protected] 1 RAQMON Context Setting MG PDA Applications RTP / FTP/ HTTP TCP/UDP S ignaling control plane (e.g. RS VP, NS IS) Streaming

More information

<4D6963726F736F667420576F7264202D205F4230365FB942A5CEA668B443C5E9BB73A740B5D8A4E5B8C9A552B1D0A7F75FA6BFB1A4ACFC2E646F63>

<4D6963726F736F667420576F7264202D205F4230365FB942A5CEA668B443C5E9BB73A740B5D8A4E5B8C9A552B1D0A7F75FA6BFB1A4ACFC2E646F63> 運 用 多 媒 體 製 作 華 文 補 充 教 材 江 惜 美 銘 傳 大 學 應 用 中 文 系 [email protected] 摘 要 : 本 文 旨 在 探 究 如 何 運 用 多 媒 體, 結 合 文 字 聲 音 圖 畫, 製 作 華 文 補 充 教 材 當 我 們 在 進 行 華 文 教 學 時, 往 往 必 須 透 過 教 案 設 計, 並 製 作 補 充 教 材, 方 能 使 教 學

More information

1.ai

1.ai HDMI camera ARTRAY CO,. LTD Introduction Thank you for purchasing the ARTCAM HDMI camera series. This manual shows the direction how to use the viewer software. Please refer other instructions or contact

More information

Windows XP

Windows XP Windows XP What is Windows XP Windows is an Operating System An Operating System is the program that controls the hardware of your computer, and gives you an interface that allows you and other programs

More information

Module 4: Processes

Module 4:  Processes 計算機網路概論 傳輸層通訊協議 All rights reserved. No part of this publication and file may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying,

More information

Panaboard Overlayer help

Panaboard Overlayer help Panaboard Overlayer Image Capture Software for Electronic Whiteboard (Panaboard) ... 3... 5... 6... 13...14 Panaboard Overlayer 1. 2. 3. 4. 4-1. 4-2. [ / ] ( ) 4-3. 5. 6. 6-1. 6-2. [ / ] ( ) 7. Panaboard

More information

ebook140-8

ebook140-8 8 Microsoft VPN Windows NT 4 V P N Windows 98 Client 7 Vintage Air V P N 7 Wi n d o w s NT V P N 7 VPN ( ) 7 Novell NetWare VPN 8.1 PPTP NT4 VPN Q 154091 M i c r o s o f t Windows NT RAS [ ] Windows NT4

More information

Logitech Wireless Combo MK45 English

Logitech Wireless Combo MK45 English Logitech Wireless Combo MK45 Setup Guide Logitech Wireless Combo MK45 English................................................................................... 7..........................................

More information

(baking powder) 1 ( ) ( ) 1 10g g (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal D

(baking powder) 1 ( ) ( ) 1 10g g (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal D ( ) 4 1 1 1 145 1 110 1 (baking powder) 1 ( ) ( ) 1 10g 1 1 2.5g 1 1 1 1 60 10 (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal Design 1. 60 120 2. 3. 40 10

More information

國家圖書館典藏電子全文

國家圖書館典藏電子全文 i ii Abstract The most important task in human resource management is to encourage and help employees to develop their potential so that they can fully contribute to the organization s goals. The main

More information

IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I

IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I 2004 5 IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I Abstract The techniques of digital video processing, transferring

More information

<4D6963726F736F667420576F7264202D2032303130C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63>

<4D6963726F736F667420576F7264202D2032303130C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63> 2010 年 理 工 类 AB 级 阅 读 判 断 例 题 精 选 (2) Computer mouse How does the mouse work? We have to start at the bottom, so think upside down for now. It all starts with mouse ball. As the mouse ball in the bottom

More information

untitled

untitled Co-integration and VECM Yi-Nung Yang CYCU, Taiwan May, 2012 不 列 1 Learning objectives Integrated variables Co-integration Vector Error correction model (VECM) Engle-Granger 2-step co-integration test Johansen

More information

ebook140-9

ebook140-9 9 VPN VPN Novell BorderManager Windows NT PPTP V P N L A V P N V N P I n t e r n e t V P N 9.1 V P N Windows 98 Windows PPTP VPN Novell BorderManager T M I P s e c Wi n d o w s I n t e r n e t I S P I

More information

Abstract Today, the structures of domestic bus industry have been changed greatly. Many manufacturers enter into the field because of its lower thresh

Abstract Today, the structures of domestic bus industry have been changed greatly. Many manufacturers enter into the field because of its lower thresh SWOT 5 Abstract Today, the structures of domestic bus industry have been changed greatly. Many manufacturers enter into the field because of its lower threshold. All of these lead to aggravate drastically

More information

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2

More information

A Study on Grading and Sequencing of Senses of Grade-A Polysemous Adjectives in A Syllabus of Graded Vocabulary for Chinese Proficiency 2002 I II Abstract ublished in 1992, A Syllabus of Graded Vocabulary

More information

Microsoft Word - CX VMCO 3 easy step v1.doc

Microsoft Word - CX VMCO 3 easy step v1.doc Abacus Fully Automated Process of VMCO on CX, KA, CPH & KAH 16 Nov 2009 To streamline the VMCO handling on CX, KA, CPH & KAH, Abacus is pleased to inform you that manual submission of VMCO to CX/KA/CPH/KAH

More information

2

2 1 2 3 4 PHY (RAN1) LTE/LTE-A 6.3 Enhanced Downlink Multiple Antenna Transmission 6.3.1 CSI RS 6.4 Uplink Multiple Antenna Transmission 6.4.1 Transmission modes and Signalling requirements for SU-MIMO 6.5

More information

WTO

WTO 10384 200015128 UDC Exploration on Design of CIB s Human Resources System in the New Stage (MBA) 2004 2004 2 3 2004 3 2 0 0 4 2 WTO Abstract Abstract With the rapid development of the high and new technique

More information

2009.05

2009.05 2009 05 2009.05 2009.05 璆 2009.05 1 亿 平 方 米 6 万 套 10 名 20 亿 元 5 个 月 30 万 亿 60 万 平 方 米 Data 围 观 CCDI 公 司 内 刊 企 业 版 P08 围 观 CCDI 管 理 学 上 有 句 名 言 : 做 正 确 的 事, 比 正 确 地 做 事 更 重 要 方 向 的 对 错 于 大 局 的 意 义 而 言,

More information

124 第十三期 Conflicts in the Takeover of the Land in Taiwan after the Sino-Japanese War A Case in the Change of the Japanese Names of the Taiwanese Peopl

124 第十三期 Conflicts in the Takeover of the Land in Taiwan after the Sino-Japanese War A Case in the Change of the Japanese Names of the Taiwanese Peopl 123 戰後初期臺灣土地接收的糾紛 以更改日式姓名的臺人遭遇為例 124 第十三期 Conflicts in the Takeover of the Land in Taiwan after the Sino-Japanese War A Case in the Change of the Japanese Names of the Taiwanese People Abstract By Ho Fung-jiao

More information

建國科大 許您一個海闊天空的未來 建國科大本著術德兼修五育並重的教育方針 持續努力的朝向專業教學型大學邁進 期許建國的學生能成為企業所樂用的人才 建國科大多元性發展與延伸觸角 如 教學卓越計畫 產官學合作 國際交流活動等等 讓師生能充實基礎實力 更提升競爭力 不管將來是要升學或是就業 都能一帆風順

建國科大 許您一個海闊天空的未來 建國科大本著術德兼修五育並重的教育方針 持續努力的朝向專業教學型大學邁進 期許建國的學生能成為企業所樂用的人才 建國科大多元性發展與延伸觸角 如 教學卓越計畫 產官學合作 國際交流活動等等 讓師生能充實基礎實力 更提升競爭力 不管將來是要升學或是就業 都能一帆風順 校刊 Chienkuo Monthly 224 2 0 11.4.1 6 出刊 學 力 實 力 願 力 建國科技大學辦學 卓越 優質 傑出 奉准101年起以公立標準招收繁星計畫學生 焦 點 報 導 建國科技大學奉准招收繁星計畫學生 學力實力願力 自動化工程系參加 2011臺灣無人飛機設計競賽 脫穎而出 獲得五座獎盃 兩 岸 交 流 華中科技大學武昌分校金國華董事長蒞校參訪 策略聯盟計畫 建國科技大學美容系舉辦新娘造型專題競賽活動

More information

財金資訊-80期.indd

財金資訊-80期.indd IPv6 / LINE YouTube TCP/IP TCP (Transmission Control Protocol) IP (Internet Protocol) (node) (address) IPv4 168.95.1.1 IPv4 1981 RFC 791 --IP IPv4 32 2 32 42 IP (Internet Service Provider ISP) IP IP IPv4

More information

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡 Tips of the Week 课 堂 上 的 英 语 习 语 教 学 ( 二 ) 2015-04-19 吴 倩 MarriottCHEI 大 家 好! 欢 迎 来 到 Tips of the Week! 这 周 我 想 和 老 师 们 分 享 另 外 两 个 课 堂 上 可 以 开 展 的 英 语 习 语 教 学 活 动 其 中 一 个 活 动 是 一 个 充 满 趣 味 的 游 戏, 另 外

More information

计算机网络

计算机网络 (delay latency) = + + LEC. A B A 0 0 0 B .6. = 0ms, 0Mb/s, 0x0 - x0x0 =x0 bit RTT RTT (Round-Trip Time) .7 OSI/RM OSI/RM OSI/RM TCP/IP (application layer) (transport layer) (network layer)

More information

AL-M200 Series

AL-M200 Series NPD4754-00 TC ( ) Windows 7 1. [Start ( )] [Control Panel ()] [Network and Internet ( )] 2. [Network and Sharing Center ( )] 3. [Change adapter settings ( )] 4. 3 Windows XP 1. [Start ( )] [Control Panel

More information

<4D6963726F736F667420506F776572506F696E74202D20A1B6CFEEC4BFD2BB20B3F5CAB6BCC6CBE3BBFACDF8C2E7A1B7C8CECEF1C8FD20CAECCFA4544350A1A24950D0ADD2E9BACD4950B5D8D6B72E707074>

<4D6963726F736F667420506F776572506F696E74202D20A1B6CFEEC4BFD2BB20B3F5CAB6BCC6CBE3BBFACDF8C2E7A1B7C8CECEF1C8FD20CAECCFA4544350A1A24950D0ADD2E9BACD4950B5D8D6B72E707074> 项 目 一 : 初 识 计 算 机 网 络 任 务 三 熟 悉 TCP/IP 协 议 和 IP 地 址 一. 学 习 要 求 : 学 习 要 求 及 难 点 1. 了 解 IP 协 议 TCP 协 议 和 UDP 协 议 2. 熟 悉 IP 地 址 的 划 分 和 分 类 3. 了 解 IPV6 的 地 址 结 构 二. 难 点 : 1. IP 地 址 三. 学 时 : 1. 理 论 教 学 :6

More information

Microsoft PowerPoint - ATF2015.ppt [相容模式]

Microsoft PowerPoint - ATF2015.ppt [相容模式] Improving the Video Totalized Method of Stopwatch Calibration Samuel C.K. Ko, Aaron Y.K. Yan and Henry C.K. Ma The Government of Hong Kong Special Administrative Region (SCL) 31 Oct 2015 1 Contents Introduction

More information

Microsoft PowerPoint _代工實例-1

Microsoft PowerPoint _代工實例-1 4302 動態光散射儀 (Dynamic Light Scattering) 代工實例與結果解析 生醫暨非破壞性分析團隊 2016.10 updated Which Size to Measure? Diameter Many techniques make the useful and convenient assumption that every particle is a sphere. The

More information

A Study on the Relationships of the Co-construction Contract A Study on the Relationships of the Co-Construction Contract ( ) ABSTRACT Co-constructio in the real estate development, holds the quite

More information

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d WeChat Search Visual Identity Guidelines WEDESIGN 2018. 04 Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies

More information

热设计网

热设计网 例 例 Agenda Popular Simulation software in PC industry * CFD software -- Flotherm * Advantage of Flotherm Flotherm apply to Cooler design * How to build up the model * Optimal parameter in cooler design

More information

PowerPoint Presentation

PowerPoint Presentation TOEFL Practice Online User Guide Revised September 2009 In This Guide General Tips for Using TOEFL Practice Online Directions for New Users Directions for Returning Users 2 General Tips To use TOEFL Practice

More information

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot OSI OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Protocol OSI OSI OSI OSI OSI O S I 2-1 Application

More information

徐汇教育214/3月刊 重 点 关 注 高中生异性交往的小团体辅导 及效果研究 颜静红 摘 要 采用人际关系综合诊断量表 郑日昌编制并 与同性交往所不能带来的好处 带来稳定感和安全感 能 修订 对我校高一学生进行问卷测量 实验组前后测 在 够度过更快乐的时光 获得与别人友好相处的经验 宽容 量表总分和第 4 项因子分 异性交往困扰 上均有显著差 大度和理解力得到发展 得到掌握社会技术的机会 得到 异

More information

untitled

untitled Lwip Swedish Institute of Computer Science February 20, 2001 Adam Dunkels [email protected] (QQ: 10205001) (QQ: 329147) (QQ:3232253) (QQ:3232253) QQ ARM TCPIP LCD10988210 LWIP TCP/IP LWIP LWIP lwip API lwip

More information

Bus Hound 5

Bus Hound 5 Bus Hound 5.0 ( 1.0) 21IC 2007 7 BusHound perisoft PC hound Bus Hound 6.0 5.0 5.0 Bus Hound, IDE SCSI USB 1394 DVD Windows9X,WindowsMe,NT4.0,2000,2003,XP XP IRP Html ZIP SCSI sense USB Bus Hound 1 Bus

More information

LH_Series_Rev2014.pdf

LH_Series_Rev2014.pdf REMINDERS Product information in this catalog is as of October 2013. All of the contents specified herein are subject to change without notice due to technical improvements, etc. Therefore, please check

More information

Microsoft PowerPoint ARIS_Platform_en.ppt

Microsoft PowerPoint ARIS_Platform_en.ppt ARIS Platform www.ixon.com.tw ARIS ARIS Architecture of Integrated Information System Prof. Dr. Dr. h.c. mult. August-Wilhelm Scheer ARIS () 2 IDS Scheer AG International Presence >> Partners and subsidiaries

More information

L L L-1 L-1 L-1 L-1 L-1 L-2 L-1 L-1 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-3 L-3 L-3 L-3 L-2 L-2 L-2 L-2 L-2 15 14 13 12 11 10 9 8 7

L L L-1 L-1 L-1 L-1 L-1 L-2 L-1 L-1 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-3 L-3 L-3 L-3 L-2 L-2 L-2 L-2 L-2 15 14 13 12 11 10 9 8 7 Compensation Design - L L L-1 L-1 L-1 L-1 L-1 L-2 L-1 L-1 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-3 L-3 L-3 L-3 L-2 L-2 L-2 L-2 L-2 15 14 13 12 11 10 9 8 7 100,000 80,000 $ 60,000 40,000 20,000 80,000

More information

國 立 政 治 大 學 教 育 學 系 2016 新 生 入 學 手 冊 目 錄 表 11 國 立 政 治 大 學 教 育 學 系 博 士 班 資 格 考 試 抵 免 申 請 表... 46 論 文 題 目 申 報 暨 指 導 教 授... 47 表 12 國 立 政 治 大 學 碩 博 士 班 論

國 立 政 治 大 學 教 育 學 系 2016 新 生 入 學 手 冊 目 錄 表 11 國 立 政 治 大 學 教 育 學 系 博 士 班 資 格 考 試 抵 免 申 請 表... 46 論 文 題 目 申 報 暨 指 導 教 授... 47 表 12 國 立 政 治 大 學 碩 博 士 班 論 國 立 政 治 大 學 教 育 學 系 2016 新 生 入 學 手 冊 目 錄 一 教 育 學 系 簡 介... 1 ( 一 ) 成 立 時 間... 1 ( 二 ) 教 育 目 標 與 發 展 方 向... 1 ( 三 ) 授 課 師 資... 2 ( 四 ) 行 政 人 員... 3 ( 五 ) 核 心 能 力 與 課 程 規 劃... 3 ( 六 ) 空 間 環 境... 12 ( 七 )

More information

ap15_chinese_interpersoanal_writing_ _response

ap15_chinese_interpersoanal_writing_ _response 2015 SCORING GUIDELINES Interpersonal Writing: 6 EXCELLENT excellence in 5 VERY GOOD Suggests excellence in 4 GOOD 3 ADEQUATE Suggests 2 WEAK Suggests lack of 1 VERY WEAK lack of 0 UNACCEPTABLE Contains

More information

untitled

untitled MSE200 Lecture 10 (CH. 7.3-7.4) Mechanical Properties II Instructor: Yuntian Zhu Objectives/outcoes: You will learn the following: Crack growth rate during fatigue. Fatigue life of cracked coponents. Stages

More information

2. 佔 中 對 香 港 帶 來 以 下 影 響 : 正 面 影 響 - 喚 起 市 民 對 人 權 及 ( 專 制 ) 管 治 的 關 注 和 討 論 o 香 港 市 民 總 不 能 一 味 認 命, 接 受 以 後 受 制 於 中 央, 沒 有 機 會 選 出 心 中 的 理 想 特 首 o 一

2. 佔 中 對 香 港 帶 來 以 下 影 響 : 正 面 影 響 - 喚 起 市 民 對 人 權 及 ( 專 制 ) 管 治 的 關 注 和 討 論 o 香 港 市 民 總 不 能 一 味 認 命, 接 受 以 後 受 制 於 中 央, 沒 有 機 會 選 出 心 中 的 理 想 特 首 o 一 220 參 考 答 案 專 題 1. 公 民 抗 命 與 革 命 的 異 同 如 下 : 公 民 抗 命 革 命 相 同 之 處 目 的 兩 種 行 動 都 是 為 了 抗 拒 當 權 政 府 不 受 歡 迎 的 決 定 及 政 策 方 法 兩 者 都 是 在 嘗 試 其 他 合 法 的 抗 爭 行 動 後, 無 可 奈 何 的 最 後 手 段 不 同 之 處 目 的 只 是 令 政 府 的 某 些

More information

Microsoft Word - 第四組心得.doc

Microsoft Word - 第四組心得.doc 徐 婉 真 這 四 天 的 綠 島 人 權 體 驗 營 令 我 印 象 深 刻, 尤 其 第 三 天 晚 上 吳 豪 人 教 授 的 那 堂 課, 他 讓 我 聽 到 不 同 於 以 往 的 正 義 之 聲 轉 型 正 義, 透 過 他 幽 默 熱 情 的 語 調 激 起 了 我 對 政 治 的 興 趣, 願 意 在 未 來 多 關 心 社 會 多 了 解 政 治 第 一 天 抵 達 綠 島 不 久,

More information

天 主 教 輔 仁 大 學 社 會 學 系 學 士 論 文 小 別 勝 新 婚? 久 別 要 離 婚? 影 響 遠 距 家 庭 婚 姻 感 情 因 素 之 探 討 Separate marital relations are getting better or getting worse? -Exp

天 主 教 輔 仁 大 學 社 會 學 系 學 士 論 文 小 別 勝 新 婚? 久 別 要 離 婚? 影 響 遠 距 家 庭 婚 姻 感 情 因 素 之 探 討 Separate marital relations are getting better or getting worse? -Exp 天 主 教 輔 仁 大 學 社 會 學 系 學 士 論 文 小 別 勝 新 婚? 久 別 要 離 婚? 影 響 遠 距 家 庭 婚 姻 感 情 因 素 之 探 討 Separate marital relations are getting better or getting worse? -Explore the impact of emotional factors couples do not

More information

Outline Speech Signals Processing Dual-Tone Multifrequency Signal Detection 云南大学滇池学院课程 : 数字信号处理 Applications of Digital Signal Processing 2

Outline Speech Signals Processing Dual-Tone Multifrequency Signal Detection 云南大学滇池学院课程 : 数字信号处理 Applications of Digital Signal Processing 2 CHAPTER 10 Applications of Digital Signal Processing Wang Weilian [email protected] School of Information Science and Technology Yunnan University Outline Speech Signals Processing Dual-Tone Multifrequency

More information

Microsoft PowerPoint - 01-ch01-4.ppt

Microsoft PowerPoint - 01-ch01-4.ppt Chapter 01-4 TCP/IP Protocol Suite, VLANs, and VPNs WCB/McGraw-Hill The McGraw-Hill Companies, Inc., 2002 Figure 2-15 PSTN Public Switched Telephone Network Circuit-Switching Circuit-Switching Node Def:

More information

中国科学技术大学学位论文模板示例文档

中国科学技术大学学位论文模板示例文档 University of Science and Technology of China A dissertation for doctor s degree An Example of USTC Thesis Template for Bachelor, Master and Doctor Author: Zeping Li Speciality: Mathematics and Applied

More information

Microsoft Word - Final Exam Review Packet.docx

Microsoft Word - Final Exam Review Packet.docx Do you know these words?... 3.1 3.5 Can you do the following?... Ask for and say the date. Use the adverbial of time correctly. Use Use to ask a tag question. Form a yes/no question with the verb / not

More information

Stochastic Processes (XI) Hanjun Zhang School of Mathematics and Computational Science, Xiangtan University 508 YiFu Lou talk 06/

Stochastic Processes (XI) Hanjun Zhang School of Mathematics and Computational Science, Xiangtan University 508 YiFu Lou talk 06/ Stochastic Processes (XI) Hanjun Zhang School of Mathematics and Computational Science, Xiangtan University [email protected] 508 YiFu Lou talk 06/04/2010 - Page 1 Outline 508 YiFu Lou talk 06/04/2010

More information

國立桃園高中96學年度新生始業輔導新生手冊目錄

國立桃園高中96學年度新生始業輔導新生手冊目錄 彰 化 考 區 104 年 國 中 教 育 會 考 簡 章 簡 章 核 定 文 號 : 彰 化 縣 政 府 104 年 01 月 27 日 府 教 學 字 第 1040027611 號 函 中 華 民 國 104 年 2 月 9 日 彰 化 考 區 104 年 國 中 教 育 會 考 試 務 會 編 印 主 辦 學 校 : 國 立 鹿 港 高 級 中 學 地 址 :50546 彰 化 縣 鹿 港 鎮

More information

Chinese oil import policies and reforms 随 着 经 济 的 发 展, 目 前 中 国 石 油 消 费 总 量 已 经 跃 居 世 界 第 二 作 为 一 个 负 责 任 的 大 国, 中 国 正 在 积 极 推 进 能 源 进 口 多 元 化, 鼓 励 替 代

Chinese oil import policies and reforms 随 着 经 济 的 发 展, 目 前 中 国 石 油 消 费 总 量 已 经 跃 居 世 界 第 二 作 为 一 个 负 责 任 的 大 国, 中 国 正 在 积 极 推 进 能 源 进 口 多 元 化, 鼓 励 替 代 Chinese oil import policies and reforms SINOPEC EDRI 2014.8 Chinese oil import policies and reforms 随 着 经 济 的 发 展, 目 前 中 国 石 油 消 费 总 量 已 经 跃 居 世 界 第 二 作 为 一 个 负 责 任 的 大 国, 中 国 正 在 积 极 推 进 能 源 进 口 多 元 化,

More information