You are on page 1of 2

3.

Network Layer:
*Tiếng Anh:
Router (Source): Routers operate at the Network Layer and play a crucial role in routing packets from the
source to the destination. They determine the best path for packets based on their routing tables.
Path to Devices (Destination): Devices such as printers and computers are considered destinations for
packets. Each device has a unique IP address that the Network Layer uses to identify the source and
destination of each packet.
Routing and Packet Forwarding: When a packet arrives at a router, the Network Layer decides the next
node to which the packet should be forwarded. This process is called packet forwarding.
Logical Addressing: Each device in the network receives a unique address, known as an IP address, which
the Network Layer uses to identify the source and destination of each packet.
*Tiếng Việt:
Bộ định tuyến (Nguồ n): Bộ định tuyến hoạ t độ ng ở Lớ p mạ ng và đóng vai trò quan trọ ng trong việc
định tuyến các gói từ nguồ n đến đích. Họ xác định đườ ng dẫ n tố t nhấ t cho các gói dự a trên bả ng định
tuyến củ a họ .
Đườ ng dẫ n đến thiết bị (Đích): Các thiết bị như máy in và máy tính đượ c coi là đích đến củ a các gói tin.
Mỗ i thiết bị có mộ t địa chỉ IP duy nhấ t mà Lớ p mạ ng sử dụ ng để xác định nguồ n và đích củ a mỗ i gói.
Định tuyến và chuyển tiếp gói: Khi mộ t gói đến bộ định tuyến, Lớ p mạ ng sẽ quyết định nút tiếp theo mà
gói sẽ đượ c chuyển tiếp. Quá trình này đượ c gọ i là chuyển tiếp gói.
Địa chỉ logic: Mỗ i thiết bị trong mạ ng nhậ n đượ c mộ t địa chỉ duy nhấ t, đượ c gọ i là địa chỉ IP, mà Lớ p
mạ ng sử dụ ng để xác định nguồ n và đích củ a mỗ i gói.

4.Transport Layer:
*Tiếng Anh:
Function of Transport Layer:
Data Segmentation: The Transport Layer divides data from applications in higher layers into smaller units
called “segments” (for TCP) or “datagrams” (for UDP). These units are then sent across the network.
Connection Establishment: When necessary, the Transport Layer establishes a connection between the
source and destination. This process involves parameter setup and acknowledgment of readiness for data
exchange.
Ensuring Reliable Data Transfer: The Transport Layer uses ACK bits to ensure that packets have been
successfully delivered to the destination without errors. If errors occur, it requests retransmission.
Flow Control: The Transport Layer controls the rate of data transmission to prevent overload. This is
often done using sliding window protocols.
Error Detection and Correction: The Transport Layer uses checksums to detect errors in data and requests
retransmission if needed.
Characteristics of Transport Layer:
Service-Point Addressing: The Transport Layer adds a header with an address called a “service-point
address” or “port address.” This allows multiple applications to run concurrently on the same computer.
Data from Higher Layers: The Transport Layer receives data from higher layers, segments it, and sends it
to the Network Layer for transmission across the network.
*Tiếng Việt:
Chứ c nă ng củ a Transport Layer:
Chia nhỏ dữ liệu: Lớ p vậ n chuyển chia dữ liệu từ các ứ ng dụ ng ở các lớ p trên thành các đơn vị nhỏ hơn
đượ c gọ i là “phân đoạ n” (đố i vớ i TCP) hoặ c “datagrams” (đố i vớ i UDP). Các đơn vị này đượ c gử i qua
mạ ng.
Tạ o kết nố i: Khi cầ n thiết, Transport Layer tạ o kết nố i giữ a nguồ n và đích. Quá trình này bao gồ m thông
số cài đặ t và dữ liệu trao đổ i sẵ n có đượ c xác thự c.
Đả m bả o truyền dữ liệu đáng tin cậ y: Lớ p vậ n chuyển sử dụ ng các bit ACK để đả m bả o rằ ng các phầ n
dữ liệu đã đượ c gử i đến đích mà không bị lỗ i. Nếu có lỗ i, nó sẽ yêu cầ u gử i lạ i.
Kiểm soát luồ ng dữ liệu: Lớ p vậ n chuyển Kiểm soát tố c độ truyền dữ liệu để tránh quá tả i. Điều này
thườ ng đượ c thự c hiện bằ ng cách sử dụ ng cử a sổ trượ t giao thứ c (giao thứ c cử a sổ trượ t).
Phát hiện và sử a lỗ i: Lớ p vậ n chuyển sử dụ ng tổ ng kiểm tra để phát hiện lỗ i trong dữ liệu và yêu cầ u
gử i lạ i nếu cầ n.
Đặ c điểm củ a Transport Layer:
Địa chỉ dịch vụ : Lớ p vậ n chuyển thêm vào tiêu đề mộ t địa chỉ đượ c gọ i là “địa chỉ điểm dịch vụ ” hoặ c
“địa chỉ cổ ng”. Điều này cho phép nhiều ứ ng dụ ng chạ y cùng lúc trên cùng mộ t máy tính.
Dữ liệu đến từ lớ p trên: Lớ p vậ n chuyển nhậ n dữ liệu từ lớ p trên, chia nhỏ và gử i đến Lớ p mạ ng để
truyền qua mạ ng.

You might also like