计算机网络第一章--计算机网络概述

it2024-01-28  61

计算机网络概述

计算及网络在信息时代的作用

#mermaid-svg-3c1hLsoHyD3SJqFM .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .label text{fill:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .node rect,#mermaid-svg-3c1hLsoHyD3SJqFM .node circle,#mermaid-svg-3c1hLsoHyD3SJqFM .node ellipse,#mermaid-svg-3c1hLsoHyD3SJqFM .node polygon,#mermaid-svg-3c1hLsoHyD3SJqFM .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-3c1hLsoHyD3SJqFM .node .label{text-align:center;fill:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .node.clickable{cursor:pointer}#mermaid-svg-3c1hLsoHyD3SJqFM .arrowheadPath{fill:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-3c1hLsoHyD3SJqFM .flowchart-link{stroke:#333;fill:none}#mermaid-svg-3c1hLsoHyD3SJqFM .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-3c1hLsoHyD3SJqFM .edgeLabel rect{opacity:0.9}#mermaid-svg-3c1hLsoHyD3SJqFM .edgeLabel span{color:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-3c1hLsoHyD3SJqFM .cluster text{fill:#333}#mermaid-svg-3c1hLsoHyD3SJqFM div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-3c1hLsoHyD3SJqFM .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-3c1hLsoHyD3SJqFM text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-3c1hLsoHyD3SJqFM .actor-line{stroke:grey}#mermaid-svg-3c1hLsoHyD3SJqFM .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-3c1hLsoHyD3SJqFM #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .sequenceNumber{fill:#fff}#mermaid-svg-3c1hLsoHyD3SJqFM #sequencenumber{fill:#333}#mermaid-svg-3c1hLsoHyD3SJqFM #crosshead path{fill:#333;stroke:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .messageText{fill:#333;stroke:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-3c1hLsoHyD3SJqFM .labelText,#mermaid-svg-3c1hLsoHyD3SJqFM .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-3c1hLsoHyD3SJqFM .loopText,#mermaid-svg-3c1hLsoHyD3SJqFM .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-3c1hLsoHyD3SJqFM .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-3c1hLsoHyD3SJqFM .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-3c1hLsoHyD3SJqFM .noteText,#mermaid-svg-3c1hLsoHyD3SJqFM .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-3c1hLsoHyD3SJqFM .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-3c1hLsoHyD3SJqFM .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-3c1hLsoHyD3SJqFM .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-3c1hLsoHyD3SJqFM .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3c1hLsoHyD3SJqFM .section{stroke:none;opacity:0.2}#mermaid-svg-3c1hLsoHyD3SJqFM .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-3c1hLsoHyD3SJqFM .section2{fill:#fff400}#mermaid-svg-3c1hLsoHyD3SJqFM .section1,#mermaid-svg-3c1hLsoHyD3SJqFM .section3{fill:#fff;opacity:0.2}#mermaid-svg-3c1hLsoHyD3SJqFM .sectionTitle0{fill:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .sectionTitle1{fill:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .sectionTitle2{fill:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .sectionTitle3{fill:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3c1hLsoHyD3SJqFM .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-3c1hLsoHyD3SJqFM .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3c1hLsoHyD3SJqFM .grid path{stroke-width:0}#mermaid-svg-3c1hLsoHyD3SJqFM .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-3c1hLsoHyD3SJqFM .task{stroke-width:2}#mermaid-svg-3c1hLsoHyD3SJqFM .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3c1hLsoHyD3SJqFM .taskText:not([font-size]){font-size:11px}#mermaid-svg-3c1hLsoHyD3SJqFM .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3c1hLsoHyD3SJqFM .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-3c1hLsoHyD3SJqFM .task.clickable{cursor:pointer}#mermaid-svg-3c1hLsoHyD3SJqFM .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-3c1hLsoHyD3SJqFM .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-3c1hLsoHyD3SJqFM .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-3c1hLsoHyD3SJqFM .taskText0,#mermaid-svg-3c1hLsoHyD3SJqFM .taskText1,#mermaid-svg-3c1hLsoHyD3SJqFM .taskText2,#mermaid-svg-3c1hLsoHyD3SJqFM .taskText3{fill:#fff}#mermaid-svg-3c1hLsoHyD3SJqFM .task0,#mermaid-svg-3c1hLsoHyD3SJqFM .task1,#mermaid-svg-3c1hLsoHyD3SJqFM .task2,#mermaid-svg-3c1hLsoHyD3SJqFM .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-3c1hLsoHyD3SJqFM .taskTextOutside0,#mermaid-svg-3c1hLsoHyD3SJqFM .taskTextOutside2{fill:#000}#mermaid-svg-3c1hLsoHyD3SJqFM .taskTextOutside1,#mermaid-svg-3c1hLsoHyD3SJqFM .taskTextOutside3{fill:#000}#mermaid-svg-3c1hLsoHyD3SJqFM .active0,#mermaid-svg-3c1hLsoHyD3SJqFM .active1,#mermaid-svg-3c1hLsoHyD3SJqFM .active2,#mermaid-svg-3c1hLsoHyD3SJqFM .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-3c1hLsoHyD3SJqFM .activeText0,#mermaid-svg-3c1hLsoHyD3SJqFM .activeText1,#mermaid-svg-3c1hLsoHyD3SJqFM .activeText2,#mermaid-svg-3c1hLsoHyD3SJqFM .activeText3{fill:#000 !important}#mermaid-svg-3c1hLsoHyD3SJqFM .done0,#mermaid-svg-3c1hLsoHyD3SJqFM .done1,#mermaid-svg-3c1hLsoHyD3SJqFM .done2,#mermaid-svg-3c1hLsoHyD3SJqFM .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-3c1hLsoHyD3SJqFM .doneText0,#mermaid-svg-3c1hLsoHyD3SJqFM .doneText1,#mermaid-svg-3c1hLsoHyD3SJqFM .doneText2,#mermaid-svg-3c1hLsoHyD3SJqFM .doneText3{fill:#000 !important}#mermaid-svg-3c1hLsoHyD3SJqFM .crit0,#mermaid-svg-3c1hLsoHyD3SJqFM .crit1,#mermaid-svg-3c1hLsoHyD3SJqFM .crit2,#mermaid-svg-3c1hLsoHyD3SJqFM .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-3c1hLsoHyD3SJqFM .activeCrit0,#mermaid-svg-3c1hLsoHyD3SJqFM .activeCrit1,#mermaid-svg-3c1hLsoHyD3SJqFM .activeCrit2,#mermaid-svg-3c1hLsoHyD3SJqFM .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-3c1hLsoHyD3SJqFM .doneCrit0,#mermaid-svg-3c1hLsoHyD3SJqFM .doneCrit1,#mermaid-svg-3c1hLsoHyD3SJqFM .doneCrit2,#mermaid-svg-3c1hLsoHyD3SJqFM .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-3c1hLsoHyD3SJqFM .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-3c1hLsoHyD3SJqFM .milestoneText{font-style:italic}#mermaid-svg-3c1hLsoHyD3SJqFM .doneCritText0,#mermaid-svg-3c1hLsoHyD3SJqFM .doneCritText1,#mermaid-svg-3c1hLsoHyD3SJqFM .doneCritText2,#mermaid-svg-3c1hLsoHyD3SJqFM .doneCritText3{fill:#000 !important}#mermaid-svg-3c1hLsoHyD3SJqFM .activeCritText0,#mermaid-svg-3c1hLsoHyD3SJqFM .activeCritText1,#mermaid-svg-3c1hLsoHyD3SJqFM .activeCritText2,#mermaid-svg-3c1hLsoHyD3SJqFM .activeCritText3{fill:#000 !important}#mermaid-svg-3c1hLsoHyD3SJqFM .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3c1hLsoHyD3SJqFM g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-3c1hLsoHyD3SJqFM g.classGroup text .title{font-weight:bolder}#mermaid-svg-3c1hLsoHyD3SJqFM g.clickable{cursor:pointer}#mermaid-svg-3c1hLsoHyD3SJqFM g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-3c1hLsoHyD3SJqFM g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-3c1hLsoHyD3SJqFM .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-3c1hLsoHyD3SJqFM .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-3c1hLsoHyD3SJqFM .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-3c1hLsoHyD3SJqFM .dashed-line{stroke-dasharray:3}#mermaid-svg-3c1hLsoHyD3SJqFM #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-3c1hLsoHyD3SJqFM #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-3c1hLsoHyD3SJqFM #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-3c1hLsoHyD3SJqFM #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-3c1hLsoHyD3SJqFM #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-3c1hLsoHyD3SJqFM #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-3c1hLsoHyD3SJqFM #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-3c1hLsoHyD3SJqFM #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-3c1hLsoHyD3SJqFM .commit-id,#mermaid-svg-3c1hLsoHyD3SJqFM .commit-msg,#mermaid-svg-3c1hLsoHyD3SJqFM .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3c1hLsoHyD3SJqFM .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3c1hLsoHyD3SJqFM .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3c1hLsoHyD3SJqFM g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3c1hLsoHyD3SJqFM g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-3c1hLsoHyD3SJqFM g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-3c1hLsoHyD3SJqFM g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-3c1hLsoHyD3SJqFM g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-3c1hLsoHyD3SJqFM g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-3c1hLsoHyD3SJqFM .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-3c1hLsoHyD3SJqFM .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-3c1hLsoHyD3SJqFM .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-3c1hLsoHyD3SJqFM .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-3c1hLsoHyD3SJqFM .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-3c1hLsoHyD3SJqFM .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-3c1hLsoHyD3SJqFM .edgeLabel text{fill:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3c1hLsoHyD3SJqFM .node circle.state-start{fill:black;stroke:black}#mermaid-svg-3c1hLsoHyD3SJqFM .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-3c1hLsoHyD3SJqFM #statediagram-barbEnd{fill:#9370db}#mermaid-svg-3c1hLsoHyD3SJqFM .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-3c1hLsoHyD3SJqFM .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-3c1hLsoHyD3SJqFM .statediagram-state .divider{stroke:#9370db}#mermaid-svg-3c1hLsoHyD3SJqFM .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-3c1hLsoHyD3SJqFM .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-3c1hLsoHyD3SJqFM .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-3c1hLsoHyD3SJqFM .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-3c1hLsoHyD3SJqFM .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-3c1hLsoHyD3SJqFM .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-3c1hLsoHyD3SJqFM .note-edge{stroke-dasharray:5}#mermaid-svg-3c1hLsoHyD3SJqFM .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '"trebuchet ms", verdana, arial';--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive}#mermaid-svg-3c1hLsoHyD3SJqFM .error-icon{fill:#522}#mermaid-svg-3c1hLsoHyD3SJqFM .error-text{fill:#522;stroke:#522}#mermaid-svg-3c1hLsoHyD3SJqFM .edge-thickness-normal{stroke-width:2px}#mermaid-svg-3c1hLsoHyD3SJqFM .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-3c1hLsoHyD3SJqFM .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-3c1hLsoHyD3SJqFM .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-3c1hLsoHyD3SJqFM .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-3c1hLsoHyD3SJqFM .marker{fill:#333}#mermaid-svg-3c1hLsoHyD3SJqFM .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-3c1hLsoHyD3SJqFM { color: rgba(0, 0, 0, 0.75); font: ; } 21世纪 数字化 网络化 信息化 三网 电信网络 计算机网络 有线电视网络 因特网 其他网络

因特网概述

网络分类

网络:许多计算机连接在一起;互联网:internet许多网络连接在一起;因特网:Internet 全球最大的一个互联网

因特网发展的三个阶段

上世纪60年代到80年代中期 单个网络ARPANET向互联网发展的过程上世纪80年代中期到90年代初 三级结构的因特网多层次ISP结构的因特网

多层次ISP结构的互联网

中国互联网

ISP、企业网以及网民

因特网的标准化工作

http://www.isoc.org http://www.IAB.org

1.3互联网的组成

#mermaid-svg-oGGtHtwPBuQYeQNV .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .label text{fill:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .node rect,#mermaid-svg-oGGtHtwPBuQYeQNV .node circle,#mermaid-svg-oGGtHtwPBuQYeQNV .node ellipse,#mermaid-svg-oGGtHtwPBuQYeQNV .node polygon,#mermaid-svg-oGGtHtwPBuQYeQNV .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-oGGtHtwPBuQYeQNV .node .label{text-align:center;fill:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .node.clickable{cursor:pointer}#mermaid-svg-oGGtHtwPBuQYeQNV .arrowheadPath{fill:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-oGGtHtwPBuQYeQNV .flowchart-link{stroke:#333;fill:none}#mermaid-svg-oGGtHtwPBuQYeQNV .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-oGGtHtwPBuQYeQNV .edgeLabel rect{opacity:0.9}#mermaid-svg-oGGtHtwPBuQYeQNV .edgeLabel span{color:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-oGGtHtwPBuQYeQNV .cluster text{fill:#333}#mermaid-svg-oGGtHtwPBuQYeQNV div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-oGGtHtwPBuQYeQNV .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-oGGtHtwPBuQYeQNV text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-oGGtHtwPBuQYeQNV .actor-line{stroke:grey}#mermaid-svg-oGGtHtwPBuQYeQNV .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-oGGtHtwPBuQYeQNV #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .sequenceNumber{fill:#fff}#mermaid-svg-oGGtHtwPBuQYeQNV #sequencenumber{fill:#333}#mermaid-svg-oGGtHtwPBuQYeQNV #crosshead path{fill:#333;stroke:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .messageText{fill:#333;stroke:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-oGGtHtwPBuQYeQNV .labelText,#mermaid-svg-oGGtHtwPBuQYeQNV .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-oGGtHtwPBuQYeQNV .loopText,#mermaid-svg-oGGtHtwPBuQYeQNV .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-oGGtHtwPBuQYeQNV .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-oGGtHtwPBuQYeQNV .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-oGGtHtwPBuQYeQNV .noteText,#mermaid-svg-oGGtHtwPBuQYeQNV .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-oGGtHtwPBuQYeQNV .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-oGGtHtwPBuQYeQNV .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-oGGtHtwPBuQYeQNV .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-oGGtHtwPBuQYeQNV .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-oGGtHtwPBuQYeQNV .section{stroke:none;opacity:0.2}#mermaid-svg-oGGtHtwPBuQYeQNV .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-oGGtHtwPBuQYeQNV .section2{fill:#fff400}#mermaid-svg-oGGtHtwPBuQYeQNV .section1,#mermaid-svg-oGGtHtwPBuQYeQNV .section3{fill:#fff;opacity:0.2}#mermaid-svg-oGGtHtwPBuQYeQNV .sectionTitle0{fill:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .sectionTitle1{fill:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .sectionTitle2{fill:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .sectionTitle3{fill:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-oGGtHtwPBuQYeQNV .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-oGGtHtwPBuQYeQNV .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-oGGtHtwPBuQYeQNV .grid path{stroke-width:0}#mermaid-svg-oGGtHtwPBuQYeQNV .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-oGGtHtwPBuQYeQNV .task{stroke-width:2}#mermaid-svg-oGGtHtwPBuQYeQNV .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-oGGtHtwPBuQYeQNV .taskText:not([font-size]){font-size:11px}#mermaid-svg-oGGtHtwPBuQYeQNV .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-oGGtHtwPBuQYeQNV .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-oGGtHtwPBuQYeQNV .task.clickable{cursor:pointer}#mermaid-svg-oGGtHtwPBuQYeQNV .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-oGGtHtwPBuQYeQNV .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-oGGtHtwPBuQYeQNV .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-oGGtHtwPBuQYeQNV .taskText0,#mermaid-svg-oGGtHtwPBuQYeQNV .taskText1,#mermaid-svg-oGGtHtwPBuQYeQNV .taskText2,#mermaid-svg-oGGtHtwPBuQYeQNV .taskText3{fill:#fff}#mermaid-svg-oGGtHtwPBuQYeQNV .task0,#mermaid-svg-oGGtHtwPBuQYeQNV .task1,#mermaid-svg-oGGtHtwPBuQYeQNV .task2,#mermaid-svg-oGGtHtwPBuQYeQNV .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-oGGtHtwPBuQYeQNV .taskTextOutside0,#mermaid-svg-oGGtHtwPBuQYeQNV .taskTextOutside2{fill:#000}#mermaid-svg-oGGtHtwPBuQYeQNV .taskTextOutside1,#mermaid-svg-oGGtHtwPBuQYeQNV .taskTextOutside3{fill:#000}#mermaid-svg-oGGtHtwPBuQYeQNV .active0,#mermaid-svg-oGGtHtwPBuQYeQNV .active1,#mermaid-svg-oGGtHtwPBuQYeQNV .active2,#mermaid-svg-oGGtHtwPBuQYeQNV .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-oGGtHtwPBuQYeQNV .activeText0,#mermaid-svg-oGGtHtwPBuQYeQNV .activeText1,#mermaid-svg-oGGtHtwPBuQYeQNV .activeText2,#mermaid-svg-oGGtHtwPBuQYeQNV .activeText3{fill:#000 !important}#mermaid-svg-oGGtHtwPBuQYeQNV .done0,#mermaid-svg-oGGtHtwPBuQYeQNV .done1,#mermaid-svg-oGGtHtwPBuQYeQNV .done2,#mermaid-svg-oGGtHtwPBuQYeQNV .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-oGGtHtwPBuQYeQNV .doneText0,#mermaid-svg-oGGtHtwPBuQYeQNV .doneText1,#mermaid-svg-oGGtHtwPBuQYeQNV .doneText2,#mermaid-svg-oGGtHtwPBuQYeQNV .doneText3{fill:#000 !important}#mermaid-svg-oGGtHtwPBuQYeQNV .crit0,#mermaid-svg-oGGtHtwPBuQYeQNV .crit1,#mermaid-svg-oGGtHtwPBuQYeQNV .crit2,#mermaid-svg-oGGtHtwPBuQYeQNV .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-oGGtHtwPBuQYeQNV .activeCrit0,#mermaid-svg-oGGtHtwPBuQYeQNV .activeCrit1,#mermaid-svg-oGGtHtwPBuQYeQNV .activeCrit2,#mermaid-svg-oGGtHtwPBuQYeQNV .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-oGGtHtwPBuQYeQNV .doneCrit0,#mermaid-svg-oGGtHtwPBuQYeQNV .doneCrit1,#mermaid-svg-oGGtHtwPBuQYeQNV .doneCrit2,#mermaid-svg-oGGtHtwPBuQYeQNV .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-oGGtHtwPBuQYeQNV .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-oGGtHtwPBuQYeQNV .milestoneText{font-style:italic}#mermaid-svg-oGGtHtwPBuQYeQNV .doneCritText0,#mermaid-svg-oGGtHtwPBuQYeQNV .doneCritText1,#mermaid-svg-oGGtHtwPBuQYeQNV .doneCritText2,#mermaid-svg-oGGtHtwPBuQYeQNV .doneCritText3{fill:#000 !important}#mermaid-svg-oGGtHtwPBuQYeQNV .activeCritText0,#mermaid-svg-oGGtHtwPBuQYeQNV .activeCritText1,#mermaid-svg-oGGtHtwPBuQYeQNV .activeCritText2,#mermaid-svg-oGGtHtwPBuQYeQNV .activeCritText3{fill:#000 !important}#mermaid-svg-oGGtHtwPBuQYeQNV .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-oGGtHtwPBuQYeQNV g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-oGGtHtwPBuQYeQNV g.classGroup text .title{font-weight:bolder}#mermaid-svg-oGGtHtwPBuQYeQNV g.clickable{cursor:pointer}#mermaid-svg-oGGtHtwPBuQYeQNV g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-oGGtHtwPBuQYeQNV g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-oGGtHtwPBuQYeQNV .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-oGGtHtwPBuQYeQNV .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-oGGtHtwPBuQYeQNV .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-oGGtHtwPBuQYeQNV .dashed-line{stroke-dasharray:3}#mermaid-svg-oGGtHtwPBuQYeQNV #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-oGGtHtwPBuQYeQNV #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-oGGtHtwPBuQYeQNV #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-oGGtHtwPBuQYeQNV #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-oGGtHtwPBuQYeQNV #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-oGGtHtwPBuQYeQNV #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-oGGtHtwPBuQYeQNV #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-oGGtHtwPBuQYeQNV #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-oGGtHtwPBuQYeQNV .commit-id,#mermaid-svg-oGGtHtwPBuQYeQNV .commit-msg,#mermaid-svg-oGGtHtwPBuQYeQNV .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-oGGtHtwPBuQYeQNV .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-oGGtHtwPBuQYeQNV .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-oGGtHtwPBuQYeQNV g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-oGGtHtwPBuQYeQNV g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-oGGtHtwPBuQYeQNV g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-oGGtHtwPBuQYeQNV g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-oGGtHtwPBuQYeQNV g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-oGGtHtwPBuQYeQNV g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-oGGtHtwPBuQYeQNV .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-oGGtHtwPBuQYeQNV .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-oGGtHtwPBuQYeQNV .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-oGGtHtwPBuQYeQNV .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-oGGtHtwPBuQYeQNV .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-oGGtHtwPBuQYeQNV .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-oGGtHtwPBuQYeQNV .edgeLabel text{fill:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-oGGtHtwPBuQYeQNV .node circle.state-start{fill:black;stroke:black}#mermaid-svg-oGGtHtwPBuQYeQNV .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-oGGtHtwPBuQYeQNV #statediagram-barbEnd{fill:#9370db}#mermaid-svg-oGGtHtwPBuQYeQNV .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-oGGtHtwPBuQYeQNV .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-oGGtHtwPBuQYeQNV .statediagram-state .divider{stroke:#9370db}#mermaid-svg-oGGtHtwPBuQYeQNV .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-oGGtHtwPBuQYeQNV .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-oGGtHtwPBuQYeQNV .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-oGGtHtwPBuQYeQNV .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-oGGtHtwPBuQYeQNV .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-oGGtHtwPBuQYeQNV .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-oGGtHtwPBuQYeQNV .note-edge{stroke-dasharray:5}#mermaid-svg-oGGtHtwPBuQYeQNV .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '"trebuchet ms", verdana, arial';--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive}#mermaid-svg-oGGtHtwPBuQYeQNV .error-icon{fill:#522}#mermaid-svg-oGGtHtwPBuQYeQNV .error-text{fill:#522;stroke:#522}#mermaid-svg-oGGtHtwPBuQYeQNV .edge-thickness-normal{stroke-width:2px}#mermaid-svg-oGGtHtwPBuQYeQNV .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-oGGtHtwPBuQYeQNV .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-oGGtHtwPBuQYeQNV .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-oGGtHtwPBuQYeQNV .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-oGGtHtwPBuQYeQNV .marker{fill:#333}#mermaid-svg-oGGtHtwPBuQYeQNV .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-oGGtHtwPBuQYeQNV { color: rgba(0, 0, 0, 0.75); font: ; } 因特网 边缘部分 核心部分 客户服务器方式 对等方式 电路交换 报文交换 分组交换

因特网=边缘部分+核心部分=资源子网+通信子网

因特网边缘部分

主机之间的通讯方式
客户服务器方式(Client/Server方式–C/S方式)对等(Peer-to-Peer方式–P2P)方式

因特网的核心部分
数据交换方式
电路交换(Circuit Switching)报文交换(Message Switching)分组交换(Packet Switching)
电路交换方式(Circuit Switching)

面向连接

步骤

建立连接:申请占用通信资源通话:一直占用通信资源释放连接:释放通信资源

电路交换适合于数据量很大的实时性传输:核心路由器之间可以使用电路交换

分组交换方式(Packet Switching)

步骤

在发送端将数据分成多组。将每一段数据头部加上首部信息,行成多组报文。发送接收端分别接收到各组报文,组合变成发送端发送的数据

分组交换总结

优点:高效,灵活,迅速,可靠缺点:时延,开销
报文交换
报文一般比分组长的多报文交换的时延较长
三种交换方式的比较

计算机网络的类别

计算机网络最简单的定义:一些互相连接的、自治的计算机集合

作用范围:广域网WAN、城域网MAN、局域网LAN、个人区域网PAN使用者:公用网Public Network、专用网Private Network拓扑结构:总线型、环型、星型、树型、网状交换方式:电路交换网、报文交换网、分组交换网工作方式:资源子网、通信子网、接入网

计算机网络性能

性能指标

速率:连接在计算机网络上的主机在数字信道上传送数据位数的速率,也称为data rate或bit rate。单位是b/s, kb/s, Mb/s, Gb/s.宽带:数据通信领域中,数字信道所能传送的最高数据率,单位是 b/s, kb/s, Mb/s, Gb/s.吞吐量:即在单位时间内通过某个网络的数据量,单位b/s, Mb/s, 等.时延:发送时延、传播时延、处理时延、排队时延时延宽带积:时延带宽积=传播时延*宽带往返时间:从发送方发送数据开始,到发送方收到接收方确认。利用率:信道利用率、网络利用率。

非性能指标

费用质量标准化可靠性可拓展性可升级管理与维护

计算机网络的体系结构

基本概念

ISO:国际便准化组织OSI/RM:互联网法律上的国际标准TCP/IP Suite:因特网事实上的国际标准Network Protocols:数据交换遵守的规则、标准或约定网络体系结构:计算机网络各层及其协议的集合

开放系统信息交换设计的几个概念

实体(entity):交换信息的硬件或软件进程协议(protocol):控制两个对等实体通信的规则服务(service):下层向上层提供服务,上层需要使用下层提供的服务来实现本层的功能服务访问点(SAP):相邻两层实体间交换信息的地方

五层协议对应的数据单元

物理层===========0110101010100000100100数据链路层========数据帧网络层============IP数据报(IP分组)运输层============运输层报文应用层============应用层(传输数据单元PDU)

最新回复(0)