URLs, DNS and bit streaming
導入済み
23:35
ネットワーク
You tap send. In less than a second, your message leaps out of your phone, races across your city, dives under an ocean through a cable, and surfaces on…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| text file/tekst faɪl/ | A file that stores data as a sequence of encoded characters. |
| distributed system/ˈdɪstrɪbjuːtɪd ˈsɪstəm/ | A group of connected computers that share work across a network. |
| servers/ˈsɜːvəz/ | A computer or program that provides services or resources in response to requests from clients. |
| name space | A set of names used to identify resources in a system. |
| Domain Name System/dəˈmeɪn neɪm ˈsɪstəm/ | ドメインネームシステム |
| Uniform Resource Locator/ˈjuːnɪfɔːm rɪˈzɔːs ləʊˈkeɪtə/ | 統一资源定位符 |
| web/web/ | A collection of linked pages and other resources accessed through the internet. |
| protocol/ˈprəʊtəkɒl/ | プロトコル |
| domain name/dəˈmeɪn neɪm/ | ドメイン名 |
| path/pæθ/ | The part of a web address that identifies a resource on a server. |
| port number | A number that identifies a service on a computer connected to a network. |
| query string | The part of a web address that sends extra information to the server. |
| IP addresses | Numerical addresses used to identify devices and deliver data across networks. |
| browser | A program used to access and display pages on the web. |
| resolver/rɪˈzɒlvə/ | リゾルバー |
| cached | Stored for a time so that it can be used again quickly. |
| root server | A DNS server that directs a resolver to the correct top-level domain server. |
| top-level domain server | A DNS server that directs a resolver to the authoritative server for a domain. |
| authoritative server | A DNS server that holds and returns records for a domain. |
| DNS hierarchy | The organised levels of DNS servers used to find domain information. |
| HTTP request/ˌeɪtʃ tiː tiː ˈpiː rɪˈkwest/ | A message sent to a server to ask for a web resource. |
| routers/ˈruːtəz/ | Network devices that forward packets between networks using destination addresses and routing information. |
| DNS record | A stored piece of information about a domain, such as its IP address. |
| Bit streaming/bɪt ˈstriːmɪŋ/ | The continuous sending of media data so it can be played as it arrives. |
| multimedia/ˌmʌltɪˈmiːdiːə/ | Content that combines forms of media such as sound, pictures and video. |
| Real-time/rɪəl taɪm/ | Describes streaming that sends content as it is captured. |
| latency/ˈleɪtənsi/ | The time between sending data and its arrival at the destination. |
| On-demand/ɒn dɪˈmænd/ | Describes streaming that plays stored content when the viewer chooses. |
| buffer/ˈbʌfə/ | バッファ |
| bit rate/bɪt reɪt/ | ビットレート |
| bits/bɪts/ | The smallest units of data, each having a value of zero or one. |
| broadband speed | The rate at which data can travel over a broadband connection. |
| Lossy/ˈlɒsi/ | Describing compression that discards some original information so it cannot be perfectly recovered. |
| compression/kəmˈpreʃn/ | 圧縮 |
| bandwidth/ˈbændwɪdθ/ | The frequency range carried by a signal or channel; in networking, often used for its data transfer capacity. |
| frames/freɪmz/ | Individual images shown in sequence to make a video. |
| packet/ˈpækɪt/ | Units of data sent through a network, containing payload and control information such as addressing details. |
| sample/ˈsæmpl/ | To record a signal's value at a selected time or position; the recorded measurement is also called a sample. |
| encoded | Changed into a suitable form for storing, sending or processing data. |
インターネットを動かした電話帳
- 1983年以前、インターネット上のすべてのコンピュータは、スタンフォードの単一のマシンから1つのテキストファイルHOSTS.TXTをダウンロードして他のコンピュータを見つける方法を取っていた。新しいコンピュータが追加されるたびにファイルは拡大し、全員が再取得していた。
- ポール・モックアペトリスはこのファイルを分散型サーバーシステムに置き換え、各サーバーが名空間の自身の部分に対して応答するようになった。これをドメインネームシステムと呼んだ。
- これがあなたが12桁の数字ではなく名前を入力する理由であり、ウェブサイトが場所を変えてもあなたに知らせない理由である。
- この授業は、入力するアドレス、それを検索するシステム、そして動画が到着し切る前に視聴者に届く仕組みである。
URL
- URL (Uniform Resource Locator) はWeb上の1つのリソースを特定する:
https://www.example.com/about/contact.html。 - プロトコル
httpsは取得方法を指定する。ドメインネームwww.example.comは人間の読みやすい形でサーバーを命名する。パス/about/contact.htmlはそのサーバー上のファイル名を示す。 - URLには
?の後にポート番号やクエリ文字列を含むこともあるが、試験で求めるのはプロトコル、ドメイン、パスの3つである。

In https://www.example.com/about/contact.html, what is https?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
https is the protocol; www.example.com is the domain name; /about/contact.html is the path.
Match each part of https://www.example.com/about/contact.html to its name.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
A URL is protocol + domain name + path — the protocol says how, the domain says which server, the path says which resource.
ドメインネームシステム
- コンピュータは名前でなくIPアドレスにデータを送信します。ドメインネームシステム(DNS)とは、ドメイン名をIPアドレスに変換する分散型サーバーのセットです。
- ブラウザはレゾルバに照会します。もしレゾルバにキャッシュされていない場合、ルートサーバーに問い合わせ、
.comに対するトップレベルドメインサーバーへの参照を受け取り、そこからexample.comに対する権限あるサーバーへ誘導され、最終的にIPアドレスが返されます。 - ブラウザはそのIPアドレスに接続し、パスを要求します。この一連の照会はミリ秒単位で完了し、キャッシュされるため、ほぼ繰り返しません。

レゾルバ、ルート、トップレベルドメイン、権限あるサーバー:その後ブラウザが接続

How DNS finds a website
Step through a DNS lookup. The network routes by IP, not by name — so before anything loads, DNS must turn the domain name into an IP address.
The Domain Name System (DNS) mainly:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
DNS resolves human-readable domain names to the numeric IP addresses the network actually uses.
演習例:入力されたアドレスからページが読み込まれるまで
- ユーザーがURLを入力します。ブラウザはプロトコル、ドメイン名、パスを分離します。
- ブラウザはドメイン名をDNSレゾルバに送信し、権限あるサーバーがサーバーのIPアドレスを返すまでDNS階層を順に照会します。
- ブラウザはそのIPアドレスに接続し、パスに対するHTTPリクエストを送信します。
- サーバーがページを返信し、ブラウザが描画します。4つのステップがあり、その中でDNSのステップが最も見落とされがちです。

Put a DNS lookup in order, from typing the address to loading the page.
難易度 3/5 · 200 コイン + 今日初回達成時の小ボーナス
The resolver walks the hierarchy (root → TLD → authoritative) until it gets the IP, then the browser connects.
DNSが存在する理由
- 人間は名前を記憶しますが、ルーターは数字にデータを配送します。DNSはこれら両方を同時に実現させます。
- サイトが新しいサーバーへ移行したり、複数のサーバーに分散したりする場合、DNSレコードを変更すればよく、ユーザーは同じ名前を入力するだけで済みます。
- システムは分散されているため単一のサーバーがすべての名前を保持せず、かつ各レベルでキャッシュされるため、負荷が分散されます。
Why does the web use DNS rather than having users type IP addresses? Select すべて that apply.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
DNS is about names, flexibility and distribution. The lookup adds a few milliseconds; it does not speed up the page itself.
ビストリーミング
- ビストリーミングは、マルチメディアを一度にダウンロードするのではなく、受信側が到着したまま連続したストリームとして再生する方法です。
- リアルタイムストリーミングは、スポーツ中継やビデオ通話のように、撮影と同時に送信されます。巻き戻しができず、低レイテンシが不可欠です。
- オンデマンドストリーミングは、サーバーに既に保存されたファイルを再生します。一時停止や巻き戻しが可能であり、サーバーが先送り送信することもできます。

バッファはネットワークとプレイヤーの間に位置しています

Streaming media plays as it arrives, without first downloading the whole file.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
That is the defining feature of streaming — the receiver plays the stream as it comes in (with a small buffer), rather than waiting for a full download.
Compared with real-time (live) streaming, on-demand streaming:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
On-demand content is pre-recorded, so you can pause/rewind and the server can buffer well ahead. Live streaming can't be rewound and needs low latency.
バッファとビットレート
- バッファは再生開始前に数秒間のデータを保持するため、ネットワークの一時的な低下で映像が止まるのを防ぎます。オンデマンドストリーミングは大幅に先行してバッファリングできますが、ライブストリーミングは少ししかバッファリングできず、否则ライブではなくなります。
- ビットレートはストリームに必要な毎秒のビット数です。ブロードバンド速度より低い値に保たなければ、データ到達が再生速度を下回り、再生が停止します。
- 可逆圧縮(ロス圧縮)によりビットレートを抑えます:動画像は小さなデータ損失を隠蔽し、ストリームは帯域幅に収まる必要があります。

Why does a streaming player use a buffer?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
The buffer holds a few seconds ahead of what is playing, so short slow-downs in the network don't cause the playback to stall.
For a stream to play without stalling, its bit rate must stay ____ the broadband speed of the connection.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
If more bits per second are needed than the connection delivers, data arrives more slowly than it is played and the buffer empties.
演習例:なぜライブストリーミング前に圧縮するのか?
- 動画がリアルタイムでストリーミングされる前に圧縮される理由を説明せよ。
- 非圧縮ストリームには接続以上の帯域幅が必要となるため、フレームが到着が遅れて再生が停止してしまう。
- 圧縮によりビット数を削減し、ビットレートをブロードバンド速度以下に保ち、遅延を小さくする。
- 両端でのストレージ容量とコストを削減できる。ライブストリーミングでは遅刻したパケットは単に破棄されるのみであり、待機することはできない。
演習例:リアルタイムパイプライン
- ライブイベントが視聴者にストリーミングされる仕組みを記述せよ。
- カメラとマイクがイベントをキャプチャおよびサンプリングする。データはサイズを縮小するための圧縮を用いてエンコードされる。
- ストリームはパケットとしてネットワークを通じて送信される。視聴者のデバイスは少しバッファリングした後再生を開始し、到着が遅すぎるパケットは破棄する。
- オンデマンドと比較すると:ファイルはすでに存在するためサーバーは先送りでき、バッファを大きくでき、視聴者は一時停止や巻き戻しが可能である。

Put the stages of real-time streaming in order.
難易度 3/5 · 200 コイン + 今日初回達成時の小ボーナス
Capture, encode, send, play. The compression happens before sending, which is what keeps the bit rate inside the bandwidth.
見落としやすいポイント
- DNSは名前をIPアドレスに変換するものであり、試験答案において逆方向に行うことはなく、またページを搬送するのはDNSではない。
- リアルタイムストリーミングもバッファを使用することは可能だが、それは小さいものに限られる。しかし、巻き戻しはできない。
- ビットレートは接続の速度と比較される。ビットレートが高い場合、ストリームが停止する。それぞれが何を示しているかを述べよ。
- URLのプロトコル部分は
httpsであり、wwwではない。wwwはドメイン名の一部である。
In a real-time stream, a packet that arrives too late is held until it can be played in its proper place.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
A live stream cannot wait: a late packet is dropped and playback continues. Only on-demand streaming can afford to wait, because it buffers far ahead.
理解できましたか
- URL = プロトコル + ドメイン名 + パス;DNS はレゾルバ → ルート → トップレベル → 権限あるサーバーの経路を経てドメイン名をIPアドレスに変換する
- DNSは人間が名前を使用し、ルーターが数字を使用し、サイトが名前を変えずに移動できるようにするために存在する
- ビストリーミングは到着したままメディアを再生する:リアルタイムはライブで巻き戻しができない、オンデマンドは保存されており、可能である
- バッファはネットワークの低下をカバーする;ビットレートはブロードバンド速度以下に保たれなければならないため、ストリーミングはロス圧縮を使用する
何が問題でしたか?この内容はサイトの運営チームだけが確認します。