{"format":"brushup-mindmap-v1","id":"06-application","title":"应用层【王道】","structure":"logic-right","theme":"auto","root":{"id":"514a6185443aa77c0a532a2095","topic":"第六章 应用层","expanded":true,"children":[{"id":"7891761c-d8e8-4e1d-b77b-d70a1b259ac8","topic":"应用层概述","expanded":true,"children":[{"id":"000a87c3-4945-42e5-b7f4-380d481a114d","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-b8d1ef221e5456.png"},"children":[{"id":"88791ff8-6377-4bae-b88d-107e493f6b69","topic":"解决通过应用进程的交互来实现特定网络应用的问题","expanded":true},{"id":"6e44ea62-0075-4472-9543-1b9cdcfea2d0","topic":"解决进程之间基于网络的通信问题","expanded":true},{"id":"2c726453-487d-4a02-9e44-021eb2011a08","topic":"解决分组在多个网络上传输（路由）的问题","expanded":true},{"id":"06bc8801-f0ca-4d17-ba90-d17d3ff7f375","topic":"解决分组在一个网络（或一段链路）上的传输的问题","expanded":true},{"id":"9b93418f-8d49-42bb-a30e-023d6c947fd5","topic":"解决使用何种信号来传输比特的问题","expanded":true}]},{"id":"f943e23a-2530-460d-af42-9f855ad32d05","topic":"应用层是计算机网络体系结构的最顶层，是设计和建立计算机网络的最终目的，也是计算机网络中发展最快的部分","expanded":true,"style":{"branchColor":"#EA8ABA"}},{"id":"dbabce0a-8896-4401-a8d2-cba1e163cc4d","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-cf92e124292ad1.png","width":306.39,"height":162.84}}]},{"id":"9ad95d0f97dbb58d6bec3ae613","topic":"网络应用模型","expanded":true,"style":{"borderColor":"#FF9F00"},"children":[{"id":"e24766f4-7943-4c89-aa89-2b1b71e9bd2f","topic":"客户/服务器方式（C/S方式）","expanded":true,"children":[{"id":"2f760f3c-bfa4-4dda-9cfc-a1afc9399984","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-b95229ef62202f.png","width":434.28,"height":149.91},"children":[{"id":"b59b877b-434f-40e7-a0e1-758bc59171ab","topic":"客户和服务器是指通信中所涉及的两个应用进程","expanded":true},{"id":"3386787a-4914-4b1e-ade0-5f3957638e76","topic":"客户/服务器方式所描述的是进程之间服务和被服务的关系","expanded":true},{"id":"34a65ce1-438e-4a0f-afd3-fd79adb73ce0","topic":"客户是服务请求方，服务器是服务提供方","expanded":true},{"id":"31b09306-2e1a-4745-ae36-4885f3595bd8","topic":"主要特征","expanded":true,"children":[{"id":"6e55b7de-0ca7-436d-92b8-f0f8f88f7924","topic":"服务器总是处于运行状态，并等待客户的服务请求。服务器具有固定端口号，而运行服务器的主机也有固定IP地址","expanded":true},{"id":"0bb21985-585c-4517-8cc3-1df6e725ace3","topic":"可扩展性不强","expanded":true}]},{"id":"e4100673-f615-4989-b069-051e6f885a29","topic":"C/S模型的应用","expanded":true,"children":[{"id":"c590ff8f-c2a9-426a-93a0-2919ef34db9c","topic":"Web、FTP、远程登录、电子邮件","expanded":true}]}]}]},{"id":"2b37299e-3390-4f1c-9f2c-1162de79e05a","topic":"对等方式（P2P方式）","expanded":true,"style":{"branchColor":"#15831C"},"children":[{"id":"b19a5883-eb64-4ef8-9624-ef656f767f9e","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-34522a017d3ec7.png","width":429.51,"height":166.52},"children":[{"id":"bfac7c0a-741a-45cc-b3fd-93b7be07a6fd","topic":"概述","expanded":true,"children":[{"id":"b1799f23-8e87-479a-950d-c2cf3cf3ffa6","topic":"没有固定的服务请求者和服务提供者，分布在网络边缘各端系统中的应用进程是对等的，被称为对等方。对等方相互之间直接通信，每个对等方既是服务的请求者，又是服务的提供者","expanded":true}]},{"id":"7a6c71a1-0afc-44c5-a53b-7cd8a13615f1","topic":"优点","expanded":true,"children":[{"id":"d1a625ed-bd21-4c5b-b8a3-77a48f5952f7","topic":"减轻了服务器的计算压力，消除了对某个服务器的完全依赖，提高了效率和资源利用率","expanded":true},{"id":"236e54f6-db2b-45c3-901a-ba147af5ecc1","topic":"可扩展性好，系统每增加一个对等方，不仅增加的是服务的请求者，也增加了服务提供者，系统性能不会因规模的增大而降低","expanded":true},{"id":"1d23d9ab-fae0-41a0-aec7-175aa98afe1a","topic":"具有成本上的优势，通常不需要庞大的服务器设施和服务器带宽","expanded":true},{"id":"057459de-f08a-4eb0-9aab-647527bf19bd","topic":"网络健壮性强，单个结点的失效不会影响其他部分的结点","expanded":true}]},{"id":"a4911ce8-e9bd-415b-865f-a29f60ef5482","topic":"缺点","expanded":true,"children":[{"id":"6e85b4a1-5020-4a52-9967-6d6180560e1b","topic":"占用较多的内存，影响整机速度","expanded":true},{"id":"37ab9295-d5e5-4024-9b4d-e0941daeac2e","topic":"P2P下载会对硬盘造成较大损伤","expanded":true},{"id":"5a00aa32-e022-479a-a1fe-a43b080a564f","topic":"使网络变得非常拥塞","expanded":true}]},{"id":"dc69864f-8261-41b6-bb10-20e53a50e375","topic":"P2P应用","expanded":true,"children":[{"id":"e4263870-261f-4184-ba9d-74cef42d7ce2","topic":"PPlive、Bittorrent等","expanded":true}]}]}]}]},{"id":"2a19e4d663c864a7cfb368866d","topic":"域名系统（DNS）","expanded":true,"children":[{"id":"ac75657a-da1d-4a4c-bb73-65ad15ee334c","topic":"基本概述","expanded":true,"children":[{"id":"49c5aa6b-fdeb-44c5-9460-4545c64fa865","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-763d38cc1fdf48.png","width":257.33,"height":173.64},"children":[{"id":"94768747-6075-4a3a-afac-277a7cd64389","topic":"域名系统（DNS）是因特网使用的命名系统，用来把便于人们记忆的具有特殊含义的域名（如www.baidu.com）转变为便于机器处理的IP地址","expanded":true},{"id":"6c44c2df-15ae-4e79-a265-8c63d41d78c2","topic":"DNS系统采用C/S模型，运行在UDP上，端口 53","expanded":true},{"id":"bb4a84b2-3799-43fa-ad69-18e3d54f9302","topic":"Internet上提供访问的主机一定要有IP地址，域名不一定","expanded":true,"style":{"borderColor":"#EB4D3D"},"children":[{"id":"a0698eba-af40-47e3-8d02-564423e23f97","topic":"同一域名在不同时间可能解析不同IP地址，多个域名可以指向同一台主机IP地址","expanded":true,"style":{"borderColor":"#EB4D3D"}}]}]}]},{"id":"9eaba9e8-13a8-4981-91fb-aa1d835a6691","topic":"域名系统DNS","expanded":true,"style":{"branchColor":"#BA69C8"},"children":[{"id":"609c7979-15f9-47d7-9c64-623dda91ff65","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-6b6dc5a4beb63a.png","width":421.63,"height":22.45},"children":[{"id":"6de44614-db0d-4f42-82a5-24cae7553b46","topic":"因特网采用层次树状结构的域名结构","expanded":true},{"id":"5f76e22b-cd6b-4b83-b154-7992a0a76004","topic":"域名的结构由若干个分量组成，各分量之间用“点”隔开，分别代表不同级别的域名","expanded":true}]},{"id":"4e1567c0-fbaf-40a4-87bc-812e629f2c13","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-a301238500d29b.png","width":423.9,"height":83},"children":[{"id":"be6d8121-9ca4-4aa7-8f83-db49c6f86fd8","topic":"域名规则","expanded":true,"children":[{"id":"fcd507f9-157d-4316-b7fa-d4ddd352b2e9","topic":"英文+数字+“-”，不区分大小写，不超过63个字符","expanded":true}]},{"id":"79a94735-7da8-4eac-8cca-afab2ca8dc06","topic":"各级域名由其上一级的域名管理机构管理，域名系统既不规定一个域名包含多少个下级域名，也不规定每一级的域名代表什么意思","expanded":true}]}]},{"id":"26eb3332-be7f-4ab7-9e78-1dd6f91d899d","topic":"域名服务器","expanded":true,"children":[{"id":"38f89254-dfe3-44a5-b38e-b243761b72c5","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-ab74bac2e4daba.png","width":524.49,"height":240.55},"children":[{"id":"a41f308d-3ee7-479e-ac2b-c4100e07a73a","topic":"概述","expanded":true,"children":[{"id":"f13a196d-6359-4968-89b4-9035ac45c6bd","topic":"因特网的域名系统被设计成一个联机分布式的数据库系统，并采用客户/服务器模型","expanded":true}]},{"id":"1dbeaef9-6fba-45dd-b21b-7b650e239c52","topic":"分类","expanded":true,"children":[{"id":"5b42efec-06ac-4cbf-bf85-2557c8499d4b","topic":"根域名服务器","expanded":true,"children":[{"id":"5fa513d8-4a8e-4c7c-8129-7c41a60804f1","topic":"是最高层次的域名服务器，所有的根域名服务器都知道所有的顶级域名服务器的IP地址","expanded":true}]},{"id":"652b31bd-22fa-4eaa-b819-942c8af0d88f","topic":"顶级域名服务器","expanded":true,"children":[{"id":"ea60fce9-5411-4062-8bdd-b6c67425400b","topic":"负责管理在顶级域名服务器注册的所有二级域名","expanded":true},{"id":"36db6773-abb9-499d-89b6-c6343a9b2d32","topic":"收到DNS查询请求时，就给出相应的回答","expanded":true}]},{"id":"d3ba0c9c-e6c6-41d6-bb65-a79d9b172b49","topic":"授权域名服务器（权限域名服务器）","expanded":true,"children":[{"id":"dc9936ee-886a-44ef-919d-3e75ef596c5a","topic":"每台主机都必须在授权域名服务器处登记","expanded":true},{"id":"430398d2-6681-418c-b5b6-b30cf0a6cb1e","topic":"授权域名服务器总能将管辖的域名转变为该域名的IP地址","expanded":true,"style":{"borderColor":"#EB4D3D"}}]},{"id":"8322e59e-0f87-4ed3-9c25-70d2574ed17e","topic":"本地域名服务器","expanded":true,"children":[{"id":"fa0350e8-9c23-4b53-ac7a-2e58b59979e3","topic":"当一台主机发出DNS查询请求时，这个查询请求报文就发送给该主机的本地域名服务器（每个ISP，或一所大学，一个专业都可以拥有一个本地域名服务器）","expanded":true}]}]}]}]},{"id":"6005c3fb-f275-461b-8084-5e668b707b34","topic":"域名解析过程","expanded":true,"style":{"borderColor":"#E32C2D","branchColor":"#BA69C8"},"children":[{"id":"27d833a6-66b5-4342-9412-76a5f8f986a8","topic":"递归查询","expanded":true,"children":[{"id":"1b64b5d8-ba4f-4550-ae45-d53cdbe08193","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-f12ce3d6a8e0a5.png","width":339.33,"height":274.05}}]},{"id":"e196c8ef-badc-4606-9f67-a1928ef5447b","topic":"迭代查询","expanded":true,"children":[{"id":"4972a516-87be-47fa-9e78-30a7f2506c0b","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-6b6db78fcdab41.png","width":336.39,"height":315.78}}]},{"id":"b7ff94d6-5080-492f-9da3-aacdde4b49a5","topic":"高速缓存","expanded":true,"children":[{"id":"eb1f6ee6-58cd-448b-8dee-f73956399907","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-d123e5844ad879.png","width":544.24,"height":220.14},"children":[{"id":"4f2fa3c7-1ee4-45a8-a88b-191ad8ce6d77","topic":"为了提高DNS的查询效率，并减轻根域名服务器的负荷和减少因特网上的DNS查询报文数量","expanded":true},{"id":"01445b86-af21-4b49-b770-ac40cfeff168","topic":"域名和IP地址的映射不是永久的，域名服务器将在一段时间后丢弃高速缓存中的信息","expanded":true},{"id":"729734e9-d515-4029-99c0-d647abc52b6c","topic":"不但本地域名服务器需要高速缓存，用户主机也需要（主机启动时从本地域名服务器下载域名和IP地址的数据库）","expanded":true}]}]}]},{"id":"29ff4c23-2996-4971-bf07-011fa2236291","topic":"例题讲解（我记得当时听讲解听的很怪）","expanded":true,"style":{"borderColor":"#E32C2D"},"children":[{"id":"f98b39b8-3923-47f1-bd90-aac29eaff036","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-0b5deba157c56c.png","width":558.12,"height":260.22}}]}]},{"id":"918a24f6be69d624a65a4a7f29","topic":"文件传输协议（FTP）","expanded":true,"children":[{"id":"654972ed-87f5-4377-ba26-06af92bada18","topic":"概述","expanded":true,"children":[{"id":"4bb5ad87-64f2-4dc2-9a93-0745b0fdc4ba","topic":"文件传输协议FTP是因特网上使用最广泛的文件传送协议","expanded":true},{"id":"62a88e13-1c4f-4d84-b373-7d093d30a40b","topic":"功能","expanded":true,"children":[{"id":"28893cb9-8e08-4c39-b88b-84051c4dac0b","topic":"屏蔽了各计算机系统的细节，适合于在异构网络中任意计算机之间传送文件","expanded":true},{"id":"89b4fca3-704c-4d53-a930-0f1203b716ed","topic":"提供交互式的访问，允许客户指明文件的类型与格式，允许文件由存取权限","expanded":true,"style":{"borderColor":"#EB4D3D"}},{"id":"aa136447-b4df-4429-947b-4a3dee7038d3","topic":"以匿名方式提供公用文件共享的能力","expanded":true}]},{"id":"b3bf88ca-15e7-4dd0-9998-eaac40a2dd8c","topic":"工作方式","expanded":true,"children":[{"id":"02ce79e0-d66d-4076-acbf-e7bb74280e72","topic":"客户/服务器方式+TCP","expanded":true},{"id":"9582b021-f19b-44cc-81b4-95f85d550786","topic":"服务器进程","expanded":true,"children":[{"id":"013da0a2-511a-48a0-b766-372bfd7a2968","topic":"主进程：负责接收新的请求；若干从属进程：处理单个请求","expanded":true}]}]}]},{"id":"10211470-a57a-4751-9e3f-a87ba0d2274d","topic":"过程","expanded":true,"style":{"borderColor":"#E32C2D","branchColor":"#EA8ABA"},"children":[{"id":"23e5767c-b69d-4eda-8afe-15bd907cc537","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-b206d60eeb3c82.png","width":601.49,"height":291.82},"children":[{"id":"704a72b9-0255-45c1-90a2-5876fa8e2ace","topic":"FTP客户和服务器之间要建立以下两个并行的TCP连接","expanded":true},{"id":"9099cf18-3b2c-401d-8508-35468c974d3d","topic":"控制连接","expanded":true,"children":[{"id":"310c4562-75bb-4391-965e-e438cccdebc3","topic":"在整个会话期间一直保持打开，用于传送FTP相关控制命令","expanded":true}]},{"id":"b900e293-66b1-4233-9019-1feb91e2b2ad","topic":"数据连接（带外传送）","expanded":true,"children":[{"id":"61e8431d-9c53-4ca6-a380-4ae39230b649","topic":"用于文件传输，在每次文件传输时才建立，传输结束就关闭","expanded":true}]},{"id":"02405b61-dd68-439a-8b86-ac1793a0d665","topic":"默认情况下，FTP使用TCP 21端口号进行控制连接，TCP 20端口进行数据连接（主动方式使用TCP 20端口，被动方式由服务器和客户端自行协商决定）","expanded":true},{"id":"0e41f4a1-0054-49f7-972c-8f2abd969514","topic":"传输模式","expanded":true,"children":[{"id":"9589a203-9bfa-443d-8f3d-fbdaf9709f9e","topic":"文本模式：ASCII模式","expanded":true},{"id":"82dfdfe6-907c-4e19-9ffc-f323b6913f43","topic":"二进制模式：Binary模式","expanded":true}]}]}]}]},{"id":"c74bb5e92db82de29af60b6621","topic":"电子邮件（E-mail）","expanded":true,"children":[{"id":"d3ffd181-3da0-4f1b-8690-a66f69c2584c","topic":"电子邮件系统的组成结构","expanded":true,"children":[{"id":"0b390c39-9eda-484b-8c9f-3396b3bb20cb","topic":"用户代理","expanded":true,"children":[{"id":"f4b23cd7-e36c-4f8c-9f8a-228cd91d08e9","topic":"用户与电子邮件系统的接口","expanded":true}]},{"id":"86fca469-b15b-46f6-bd88-bd11f9cb39da","topic":"邮件服务器","expanded":true,"children":[{"id":"67ae3913-5e94-4905-8498-7973233be4c2","topic":"组成电子邮件系统的核心，功能是发送和接收邮件，同时向用户回报发送情况","expanded":true}]},{"id":"1140f7e0-0e81-45e5-82fc-1bec1ecdb909","topic":"邮件发送协议和读取协议","expanded":true,"children":[{"id":"abd8e8d7-73a1-4f67-868b-74d2792548d2","topic":"SMTP：邮件发送协议，用于用户代理向邮件服务器发送邮件或在邮件服务器之间发送邮件","expanded":true},{"id":"0cbab8d9-727d-4f49-a0d6-dc4f46b9b393","topic":"POP3：邮件读取协议，用于用户代理从邮件服务器读取邮件","expanded":true}]}]},{"id":"ac2dfe36-a8f0-4770-a2f1-00a1cf349889","topic":"电子邮件的收发过程","expanded":true,"style":{"borderColor":"#E32C2D","branchColor":"#15831C"},"children":[{"id":"e05d3d3c-36cb-4dbe-976f-7798d98300d7","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-d83b5c583d70b4.png","width":585.58,"height":280.43}}]},{"id":"baf493f3-93c8-4a61-afef-f9c8c0e91bb9","topic":"简单邮件传输协议 SMTP","expanded":true,"children":[{"id":"bc7712ef-fc95-4a6d-907b-a4a62fc8e657","topic":"概述","expanded":true,"children":[{"id":"27b48c29-729c-4a7c-bf7d-407ac6df3928","topic":"一种提供可靠且有效的电子邮件传输协议，它控制两个互相通信的SMTP进程交换信息","expanded":true},{"id":"d1a1662f-b70c-4cac-8f45-662d002dbc8c","topic":"使用C/S方式","expanded":true,"children":[{"id":"10766bd7-f2f5-4824-90bf-497194a0b7ce","topic":"发送邮件的SMTP进程是SMTP客户","expanded":true,"children":[{"id":"00a56f6e-3fe3-484c-83f6-447fc1f5a661","topic":"负责接收邮件的SMTP进程是SMTP服务器","expanded":true}]}]},{"id":"e9b4c6f5-0bf6-431c-824d-c17ed6a61f94","topic":"TCP连接，端口号：25","expanded":true}]},{"id":"2e3c60ce-7308-4a77-9e4b-b741642f10e9","topic":"通信阶段","expanded":true,"children":[{"id":"3432891d-b8be-4142-bcb9-4f59c7617c0d","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-04dd19f7edefba.png","width":768,"height":362.34}}]},{"id":"9c72502a-de3b-4d7d-86cd-7b7aaf7adced","topic":"缺点","expanded":true,"children":[{"id":"0ffb1af8-2951-476d-9619-7ddec8a32535","topic":"不能传送可执行文件或其他二进制对象","expanded":true},{"id":"d8f23b3d-9d95-441f-8885-1c2450c4b01f","topic":"仅限于传送7位ASCII码，不能传送其他非英语国家的文字","expanded":true},{"id":"20046c85-e3c5-47a9-b815-3f6503479b00","topic":"会拒绝超过一定长度的邮件","expanded":true}]}]},{"id":"5560a347-7a81-4b44-9388-fdc4de629c7a","topic":"多用途网际邮件扩充 MIME","expanded":true,"style":{"borderColor":"#FF9F00","branchColor":"#15831C"},"children":[{"id":"958d2d94-fa79-48f4-bb6d-f88ad14c2dc8","topic":"为解决SMTP传送非ASCII码文本的问题","expanded":true,"children":[{"id":"73596110-cbd9-4ffb-b51e-0d73c50d7c9e","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-a14b845ef8c828.png","width":364.69,"height":174.91},"children":[{"id":"ca8d76da-bea7-4296-902a-eceb20cb97a5","topic":"增加了5个新的邮件首部字段，这些字段提供了有关邮件主体的信息","expanded":true},{"id":"7cd07113-b80d-4566-97c9-6cbb0e9133a1","topic":"定义了许多邮件内容的格式，对多媒体电子邮件的表示方式进行了标准化","expanded":true},{"id":"42395fd8-5f07-4abe-a89a-cfed9e63a021","topic":"定义了传送编码，可对任何内容格式进行转换，而不会被邮件系统改变","expanded":true}]}]}]},{"id":"4c821977-d2fc-4fae-ba08-4411f35d23bc","topic":"邮局协议 POP3","expanded":true,"children":[{"id":"e6ad0ae9-a1d5-46dd-80cc-dbe173a6f7d0","topic":"概述","expanded":true,"children":[{"id":"ab1b5ed8-fa00-45dd-ab02-c21c169ef378","topic":"当用户读取邮件时，用户代理向邮件服务器发出请求，拉取用户邮箱中的邮件","expanded":true},{"id":"1d1bb8a4-880f-4ae8-9081-abea21ce8acc","topic":"使用客户/服务器的工作方式","expanded":true,"children":[{"id":"ad0f8d8c-fa65-4a20-a09b-169487ecdac2","topic":"基于TCP连接的C/S方式，端口号：110","expanded":true}]}]},{"id":"f7032f3b-9c0c-4a02-9ab2-5e1316a1e32d","topic":"工作方式：下载并保留/下载并删除","expanded":true}]},{"id":"524af295-88cb-401b-b671-552c0dd8c475","topic":"因特网报文存取协议 IMAP4","expanded":true,"style":{"branchColor":"#15831C"},"children":[{"id":"e1c39b43-9030-4d13-a5ab-0921e0f5fd2d","topic":"允许用户代理只获取报文的某些部分，用户打开邮箱时，可以看到邮件首部。若用户需要打开某邮件，邮件才会下载到计算机上","expanded":true},{"id":"d29ae782-37db-482a-b2ab-832178e32190","topic":"为了用户提供了创建文件夹，在不同文件夹之间移动邮件及在远程文件夹中查询邮件的命令，为此IMAP服务器维护了会话用户的状态信息","expanded":true},{"id":"dab02554-9d8f-4f77-8692-c0fb0f257af0","topic":"基于TCP连接的C/S方式，端口号143","expanded":true,"children":[{"id":"2d34abd7-59bf-4ee7-82a4-70a32d234e29","topic":"IMAP和POP3都使用明文传输密码","expanded":true,"style":{"borderColor":"#EB4D3D"}}]}]},{"id":"91a1164e-19b2-438a-86a7-036ddf45c295","topic":"基于万维网的电子邮件","expanded":true,"children":[{"id":"f7f72549-7223-4e2a-a911-208ec4fe59a6","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-381efe1e4e84f6.png","width":529.52,"height":141.38},"children":[{"id":"62d53f7e-ec95-4aac-ad6a-f70c67311269","topic":"用户浏览器与Hotmail或Gmail的邮件服务器之间的邮件发送或接收使用HTTP，在不同邮件服务器之间传送邮件时使用SMTP","expanded":true}]}]}]},{"id":"511270b9-69bc-4fa2-82e6-676e3a336f5a","topic":"万维网（WWW）","expanded":true,"children":[{"id":"2e4193e9-a9ed-4a37-913c-494d4c6da4fb","topic":"WWW的概念与组成结构","expanded":true,"children":[{"id":"5afe4511-0f15-476f-9f1c-e6cf7efff22a","topic":"万维网 WWW","expanded":true,"children":[{"id":"c9e60d8c-e711-4391-b703-cc0304155775","topic":"是一个资料空间，资源由一个全域“统一资源定位符”（URL）标识，通过超文本传输协议（HTTP）传送给使用者","expanded":true}]},{"id":"028e279d-0942-4d49-ba84-e618ad5a2600","topic":"内核部分标准构成","expanded":true,"children":[{"id":"8039357b-07e9-4468-a4d8-275ddde17891","topic":"统一资源定位符（URL）","expanded":true,"children":[{"id":"52a0b7bd-122e-4326-b0ae-6e4e5b923246","topic":"负责标识万维网上的各种文档，并使每个文档有唯一标识符","expanded":true,"children":[{"id":"0cb5af2e-a11c-483d-91ee-309804cb8c26","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-65bead35a2754c.png","width":406.8,"height":41.3}}]}]},{"id":"edc6dd59-3e40-465f-a032-22728c56e693","topic":"超文本传输协议（HTTP）","expanded":true,"children":[{"id":"e101269a-423b-4e12-b5cf-66aae6960640","topic":"应用层协议，使用TCP进行可靠传输，是客户与服务器程序交互必须严格遵守的协议","expanded":true}]},{"id":"88c1ad27-5619-460b-9150-59e85015fa38","topic":"超文本标记语言（HTML）","expanded":true,"children":[{"id":"9450679b-0d54-4e5b-ae19-aae5cb13f37b","topic":"文档结构的标记语言，它使用一些约定的标记对页面上的各种信息（文字、声音、图像、视频）、格式进行描述","expanded":true}]}]},{"id":"16266664-e2c1-41bf-a3c5-c4f65848546c","topic":"工作流程","expanded":true,"children":[{"id":"9c4a8be2-382f-4f99-a942-d89a9e1611b1","topic":"Web用户使用浏览器（指定URL）与Web服务器建立连接，并发送浏览请求","expanded":true},{"id":"a84a7dd1-c883-463c-a0a1-2a404ff0dd6f","topic":"Web服务器把URL转换为文件路径，并返回信息给Web浏览器","expanded":true},{"id":"f656cc3c-9ad1-4ce0-bc76-981b4c3c901e","topic":"通信完成，关闭连接","expanded":true}]}]},{"id":"4b5627a9-db1d-45ae-b402-841430875754","topic":"超文本传输协议 HTTP","expanded":true,"style":{"borderColor":"#E32C2D","branchColor":"#BA69C8"},"children":[{"id":"3e2619be-800a-4d9f-a9ac-b574b245a7ef","topic":"概述","expanded":true,"children":[{"id":"d442bc51-3746-4f78-b06e-265c19d6791b","topic":"概念","expanded":true,"children":[{"id":"c14780c2-0bf7-434c-ad83-78c02f9566d3","topic":"HTTP定义了浏览器（万维网客户进程）怎样向万维网服务器请求万维网文档，以及服务器怎样把文档传送给浏览器","expanded":true}]},{"id":"fb31441a-0793-45f8-ba84-811013fe78a2","topic":"特点","expanded":true,"children":[{"id":"c866ca90-2189-4077-b3b8-16a5334860ca","topic":"无状态（同一个客户第二次访问同一个服务器的页面，服务器的响应过程与第一次相同）","expanded":true,"children":[{"id":"433213e3-c6b8-4724-8fbd-178ed2b68df0","topic":"引出Cookie技术","expanded":true}]},{"id":"a43b0cf2-ff94-419c-9320-8fdb98fbe85c","topic":"基于TCP，保证数据可靠传输","expanded":true}]}]},{"id":"6ced551b-3773-4258-a90d-0140ca99a9eb","topic":"HTTP的操作过程","expanded":true,"children":[{"id":"656baa18-3f4e-423c-8123-5597d3f66505","topic":"每个万维网站点都有一个服务器进程，不断监听TCP端口 80，当监听到连接请求后，便与浏览器建立连接","expanded":true},{"id":"af952bfb-7e89-4437-b8c4-0286e1bc39aa","topic":"TCP连接建立后，浏览器就向服务器发送请求获取某个Web页面的HTTP请求","expanded":true},{"id":"48e5b3b8-a314-4447-b47d-696251289a34","topic":"服务器收到HTTP请求后，将构建所请求Web页的必须信息，并通过HTTP响应返回给浏览器","expanded":true},{"id":"df510e7b-5355-4977-bffd-a863bd9295cc","topic":"浏览器将信息进行解释，然后将Web页显示给用户，TCP连接释放","expanded":true}]},{"id":"e38b2e6e-129e-4c65-819f-fb9d825de9d2","topic":"网站访问实例","expanded":true,"children":[{"id":"c427eebc-fcfd-4301-bbbd-36b6406f73b7","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-b9b47a79b5dca5.png","width":595.79,"height":271.46}}]},{"id":"cb9fda36-37d9-425a-ac85-b2ce06fb0588","topic":"非持续连接","expanded":true,"children":[{"id":"4309adf9-6a73-4b8c-afc0-9787ebd96601","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-88dcfcf4e2bad8.png","width":327.91,"height":299.18},"children":[{"id":"058e2aba-7d0c-4590-87fa-8bb507ab5ae1","topic":"HTTP/1.0采用非持续连接方式","expanded":true,"children":[{"id":"28ae9092-47ec-4aea-aa99-25ca157145d5","topic":"每个页面元素对象的传输都需要单独建立一个TCP连接","expanded":true}]}]}]},{"id":"9beec037-c9e2-4133-951a-695f2d47a42b","topic":"持续连接（非流水线）","expanded":true,"children":[{"id":"95eedea7-fdb5-4c9d-851f-b94fdb6aa29f","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-8ee7bbb9c3cfd8.png","width":352.87,"height":407.55},"children":[{"id":"ef14c9bb-f711-451e-b686-20bc46516d03","topic":"HTTP/1.1采用持续连接","expanded":true,"children":[{"id":"e22d5648-b5aa-4e8c-a4ed-48f6de298eaf","topic":"指万维网服务器在发送响应后仍然保持这条连接，使同一个客户可以继续在这条连接上传送后续的HTTP请求与响应报文","expanded":true}]},{"id":"61eea5d0-1bfc-4503-9587-737c6ff89779","topic":"非流水线","expanded":true,"children":[{"id":"515a28b9-4cfb-4acc-a029-5651e58f0bf8","topic":"客户在收到前一个响应后，才能发出下一个请求","expanded":true}]},{"id":"c4094135-93fd-4f48-a52b-a56d9d4e260f","topic":"HTTP/1.1为了进一步提高效率，可采用流水线方式","expanded":true,"children":[{"id":"c12ab0a3-d8e2-495a-be30-57b821bdd4d7","topic":"客户每遇到一个对象引用，就立即发出一个请求","expanded":true},{"id":"6f8286bc-69eb-4a10-b8f1-d992f3d47952","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-c8ec87e8045a05.png","width":306.71,"height":333.71}}]}]}]}]},{"id":"dcb967b2-6a22-46e9-bd80-44484a21a2b5","topic":"HTTP的报文结构","expanded":true,"children":[{"id":"8789a882-4b69-40e6-b979-2bf5719bcc3b","topic":"HTTP是面向文本的，报文中每个字段都是一些ASCII码，并且长度不固定","expanded":true},{"id":"a0be7823-08b4-4591-8f0a-f571c4cb7d2c","topic":"报文类型","expanded":true,"children":[{"id":"877e0d4c-4d0d-4c8c-8882-fe9b1dcb9f72","topic":"请求报文：从客户向服务器发送的请求报文","expanded":true,"children":[{"id":"8ce78010-0b5e-4e54-ab12-9755b0ef0016","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-db2918bdd86ba7.png","width":339.63,"height":239.47},"children":[{"id":"f7fbbae3-fe04-46cd-84e7-2902608a922a","topic":"HTTP 请求报文示例","expanded":true,"children":[{"id":"872c5242-e011-4a54-9ce4-b46c19f3c38d","topic":"图示","expanded":true,"style":{"borderColor":"#EB4D3D"},"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-a4acb8b6957b85.png","width":319.11,"height":256.87}}],"note":"请求行：指明方法 GET、URL、HTTP 版本\n首部行的开始：指明服务器的域名\n告诉服务器发送完请求的文档后就可释放连接\n告诉服务器浏览器的类型及版本\n告诉服务器用户希望优先得到中文版本的文档\n报文的最后还有一个空行","code":{"lang":"plaintext","code":"GET /index.htm HTTP/1.1\nHost: www.hnust.cn\nConnection: close\nUser-Agent: Mozilla/5.0\nAccept-Language: cn","tokens":[[{"text":"GET /index.htm HTTP/1.1"}],[{"text":"Host: www.hnust.cn"}],[{"text":"Connection: close"}],[{"text":"User-Agent: Mozilla/5.0"}],[{"text":"Accept-Language: cn"}]]}}]}]},{"id":"8cb385e1-8633-4057-bd6d-594e2e167cdf","topic":"响应报文：从服务器到客户的回答","expanded":true,"children":[{"id":"7463b764-f523-448a-b0da-69e090122c27","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-013f5356703801.png","width":328.29,"height":223.24},"children":[{"id":"5cdd2af6-a82c-4f29-a87b-c6dd5b60509b","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-6c85f8ab94636d.png","width":512.45,"height":122.38}}]}]}]}]},{"id":"b6ef36e9-5d37-4127-82bf-6a57639c0313","topic":"Cookie","expanded":true,"style":{"borderColor":"#FF9F00","branchColor":"#BA69C8"},"children":[{"id":"9108339f-06d6-4cba-b15d-c34c821ce405","topic":"概念","expanded":true,"children":[{"id":"712c3d79-2256-44b3-816a-2a5cfa9582b8","topic":"Cookie提供了一种机制使得万维网服务器能够“记住”用户，是一种对无状态的HTTP进行状态化的技术","expanded":true}]},{"id":"b3c48f1b-45ad-447a-bdb0-d7e83bc7a417","topic":"过程","expanded":true,"children":[{"id":"93e59c16-32a8-42fe-8732-eb2755b8bee2","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-fa2dd94f6ee10e.png","width":576.3,"height":257.94}}]}]},{"id":"474790bb-a879-48c1-8f31-042a39ada457","topic":"万维网缓存与代理技术","expanded":true,"children":[{"id":"2ae2f7af-6445-4be5-bcf3-95f0784ec6c2","topic":"图示","expanded":true,"image":{"src":"https://gastigado.cnies.org/d/BrushUP/mm-cabcbd02655815.png","width":481.74,"height":217.03}}]}]}]},"relations":[{"id":"41f22b9e-298b-4864-8b6e-1e055b3fb375","from":"958d2d94-fa79-48f4-bb6d-f88ad14c2dc8","to":"9c72502a-de3b-4d7d-86cd-7b7aaf7adced","bidirectional":false}]}