Application-layer protocols
導入済み
11:12
プロトコルが必要な理由
2台のコンピュータが会話したいと考えていますが、片方がデータを某方向に送信し、もう片方が全く異なる形で期待しています。結果はごちゃ混ぜになり——二人の人が…話しているようなものです。
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| email/ˈiːmeɪl/ | A service for sending and receiving messages over the internet. |
| mail program | Software used to send, receive and manage email messages. |
| download/ˈdaʊnləʊd/ | To receive data from another computer and save it locally. |
| delete/dɪˈliːt/ | To remove a record from a table. |
| server/ˈsɜːvə/ | A computer or program that provides services or resources in response to requests from clients. |
| protocols/ˈprəʊtəkɒlz/ | An agreed set of rules governing communication between devices or systems. |
| application layer/ˌæplɪˈkeɪʃn ˈleɪə/ | アプリケーション層 |
| web/web/ | A collection of linked pages and other resources accessed through the internet. |
| file transfer | The process of sending files from one device to another over a network. |
| peer-to-peer/pɪə tə pɪə/ | ピア・トゥ・ピア |
| HTTP/ˌeɪtʃ tiː tiː ˈpiː/ | 超文本転送プロトコル |
| HTTPS/ˌeɪtʃ tiː tiː piː ˈes/ | 安全超文本転送プロトコル |
| browser | A program used to access and display pages on the web. |
| web pages | Documents on the web that a browser can display. |
| TCP/ˌtiː siː ˈpiː/ | A transport protocol that establishes a connection and delivers data reliably and in order. |
| port/pɔːt/ | In this hardware topic, a physical socket or connection used to attach a peripheral. |
| TLS/ˌtiː el ˈes/ | 転送層セキュリティ |
| encrypted/enˈkrɪptɪd/ | Changed into a form that cannot be understood without the correct key. |
| ciphertext/ˈsaɪfətekst/ | Information transformed by encryption into a form intended to be unreadable without the appropriate key. |
| certificate/səˈtɪfɪkət/ | A digital document that helps prove the identity of a website. |
| FTP/ˌef tiː ˈpiː/ | ファイル転送プロトコル |
| client/ˈklaɪənt/ | A device or program that requests a service or resource from a server. |
| upload | To send data from a device to another computer over a network. |
| credentials | Information used to confirm a user's identity when accessing a system. |
| SMTP/ˌes em tiː ˈpiː/ | 簡易メール転送プロトコル |
| POP3/pɒp ˈθriː/ | Download mail to one device, usually deleting it from the server. |
| IMAP/ˈaɪmæp/ | インターネットメッセージアクセスプロトコル |
| internet/ˈɪntənet/ | A worldwide system of interconnected networks using Internet Protocol. |
| push/pʊʃ/ | To send data to another computer without waiting for a request. |
| synchronises | Keeps data and its state consistent across a server and devices. |
| folders | Containers used to organise files and other folders in a file system. |
| read flags | Marks that record whether messages have been read. |
| frames/freɪmz/ | Individual images shown in sequence to make a video. |
| BitTorrent/bɪt ˈtɒrənt/ | A peer-to-peer protocol: there is no single server holding the file for everyone. |
| tracker/ˈtrækə/ | A server that helps computers sharing a file find each other. |
| peers | Computers that share file pieces directly with one another. |
| in parallel/ɪn ˈpærəlel/ | At the same time, rather than one after another. |
| bandwidth/ˈbændwɪdθ/ | The frequency range carried by a signal or channel; in networking, often used for its data transfer capacity. |
| operating system/ˈɒpəreɪtɪŋ ˈsɪstəm/ | System software that manages hardware resources and provides services for applications. |
| bottleneck/ˈbɒtəlnek/ | A part of a system that limits its overall speed or capacity. |
| single point of failure/ˈsɪŋɡl pɔɪnt ɒv ˈfeɪlɪə/ | One part whose failure can cause the whole system to stop working. |
| authenticated/ɔːˈθentɪkeɪtɪd/ | Describes an identity that has been checked and confirmed. |
なぜどのデバイスでもインボックスが見た目が変わらないのか
- ラップトップ上でメールを開き、次にスマホで開く。同じメッセージが表示され、既読としてマークしたものは両方とも既読状態となる。
- これは直感的ではありません。20年間、通常の做法はメールプログラムがすべてをダウンロードしてサーバーから削除することで、最初にメールを取得したデバイスだけがそれを持っていたからです。
- どちらの動作も現在使用されており、その選択とは同じタスクを持つが設計が正反対である2つのプロトコルの間で選ぶことです。
- このレッスンはシラバスで指定されているアプリケーション層のプロトコルです:ウェブ、ファイル転送、3つのメールプロトコル、ピア・トゥ・ピア。
ウェブ: HTTPとHTTPS
- HTTPはブラウザがサーバーからウェブページとそのリソースを取得する方法です。通常、ポート80上でTCPの上で動作します。
- HTTPSはTLS内部で運ばれるHTTPであり、トラフィックは暗号化され、ポート443上使用されます。
- HTTPSが追加するもの: パス上での盗聴者は暗号文しか見ず、サーバーは証明書で自身の証明を行い、改ざんを検出できます。データがプライベート whenever 必要なら使用してください。今日では常にそうなります。
Network route lab
Follow data from a device through network hardware and protocols.
HTTPS is:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
HTTPS runs HTTP over TLS encryption (port 443), protecting the data in transit.
What does HTTPS add over plain HTTP? Select すべて that apply.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
TLS supplies confidentiality, authentication and integrity. Compression is a separate feature of HTTP itself.
ファイル転送: FTP
- FTPはクライアントとサーバー間でファイルを転送します:アップロード、ダウンロード、リスト表示、名前変更、削除。
- HTTPはブラウザがレンダリングする文書やリソース向けに設計されていますが、この手法はファイル全体を扱うことを想定しています。
- 標準のFTPは認証情報を平文で送信するため、セキュリティ上の懸念がある用途では安全な代替方式に置き換えられています。
メール: SMTP, POP3, IMAP
- SMTP はメールを送信します:クライアントから outgoing サーバーへ、そしてサーバー同士がインターネットを介して通信します。これはメールのプッシュ側です。
- POP33 メールをダウンロードして1台のデバイスに保存し、通常サーバーから削除します。メールはそのデバイス上に存在します。
- IMAP はメールをサーバー上に残したまま、すべてのデバイス間で状態、フォルダ、既読フラグ、削除操作などを同期します。メールはサーバー内に留まります。

これらのプロトコルのすべてが、このようなフレーム内に格納されます

Which protocol is used to SEND email?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
SMTP sends mail; POP3 and IMAP are used to receive/read it.
IMAP leaves mail on the server and syncs it across all your devices, while POP3 typically downloads the mail and deletes it from the server.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
That is why IMAP shows the same inbox on your phone and laptop, whereas POP3 ties mail to one device.
演習問題:メールプロトコルの選択
- ユーザーはスマートフォン、ラップトップ、デスクトップPCでメールを確認したいと考えており、すべてのデバイスで同じ Inbox を保持したいとします。どの受信プロトコルが適切であり、その理由は?
- IMAP: メッセージはサーバーに留まり、クライアントが同期するため、あるデバイスで既読または分類されたメッセージは他のデバイスでも同様に反映されます。
- 別のユーザーには古いラップトップしかなく、 mailbox の容量制限が小さく、インターネット接続も頻繁に途切れます。POP3: メールをラップトップにダウンロードしサーバーから削除することで容量が解放され、オフラインでも閲覧可能になります。
- 決定的な要因は デバイスの数 と メールの保管場所 です。SMTP はどちらにも当てはまらない回答です:SMTP は単に送信するのみだからです。

A user reads mail on three devices and wants read messages marked read everywhere. Which protocol receives the mail?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
IMAP leaves the mail on the server and synchronises state across devices. POP3 downloads to one device and usually deletes; SMTP sends.
POP3 downloads mail to one device and usually ____ it from the server.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
That frees the mailbox quota and suits a single device used offline, but the mail then exists only on that device.
このカードは修正されたため、翻訳が更新されるまで英語で表示されます。
Peer-to-peer: BitTorrent
- BitTorrent 比特洪流 is a peer-to-peer 对等网络 protocol: there is no single server holding the file for everyone.
- The file is split into pieces. A tracker 追踪服务器 helps peers 对等节点 find each other, and each peer then downloads pieces from many other peers in parallel 并行 while uploading the pieces it already has.
- The effect: the more popular a file, the more peers there are to serve it, so the load spreads instead of concentrating. A single server would need bandwidth 带宽 proportional to the number of downloaders.

Every downloader is also an uploader
BitTorrent reduces load on any single server because it:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
As a peer-to-peer protocol, each peer shares pieces, so no single server carries the whole load.
演習問題:大容量リリースにおけるピア・トゥ・ピアの理由
- 無料のOSが4GBのファイルとして公開され、1百万人が初日にダウンロードしました。BitTorrentが単一のWebサーバーよりも適している理由を説明してください。
- With HTTP, one server must send 4 GB a million times, so its bandwidth and cost scale with the number of downloaders, and it becomes the bottleneck and a single point of failure.
- BitTorrentの場合、ファイルはセグメントに分割され、各ピアはすでに受け取ったセグメントをアップロードするため、.capacity がダウンロード数とともに 増加 します(消費されるのではなく)。
- この答えは、負荷の内容、その去向、そして需要が増加した場合の結果を述べています。

With BitTorrent, the more people download a file, the more capacity there is to serve it.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Every peer uploads the pieces it already has, so capacity grows with demand. A single server's bandwidth is consumed by demand instead.
プロトコル一覧
| プロトコル | 役割 |
|---|---|
| HTTP | Webページを取得、TCP上のポート80 |
| HTTPS | TLS内のHTTP、暗号化済み、ポート443 |
| FTP | サーバーとの間でのファイル全体の転送 |
| SMTP | メール送信、クライアントからサーバーへ、およびサーバー同士間 |
| POP3 | メールを1台のデバイスにダウンロード、通常はサーバーから削除 |
| IMAP | メールをサーバーに残し、デバイス間で同期 |
| BitTorrent | ファイルセグメントのピア・トゥ・シェアリング |

Match each protocol to its use.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
HTTP = web, FTP = files, SMTP = sending email (POP3/IMAP receive it).
見落としやすいポイント
- SMTPは送信、POP3とIMAPは受信です。メール送信方法に関する質問には唯一の正解があります。
- IMAPとPOP3の違いは メールの保管場所 にあります:サーバー上での同期か、ダウンロード後削除かです。
- HTTPSはHTTPとは異なるプロトコルではなく、TLS上のHTTP であり、TLSが暗号化を追加するものです。
- BitTorrentは負荷を分散させるのは すべてのピアがアップロードするから です。「速いから」という理由だけでは点数を得られません。
理解できましたか
- HTTP はTCP上でWebページを取得し、HTTPS は TLS 内の同一プロトコルで暗号化・認証されており、FTP はファイル全体を移動させます。
- SMTP はメールを送信し、POP3 はダウンロードして通常は削除し、IMAP はサーバーに残してすべてのデバイスを同期します。
- デバイスの数とメールの保管場所に基づいてメールプロトコルを選択します。
- BitTorrent はピア・トゥ・ピア:多数のピアからのセグメントを並列に取得し、すべてのダウンロードerが同時にアップロードするため、需要に応じて容量が増加します。
何が問題でしたか?この内容はサイトの運営チームだけが確認します。