What is a Communication Network
There is a network surrounding us at all times, such as telephone networks, telegraph networks, television networks, computer networks, etc.; even within our bodies, there are many network systems, such as the nervous system and the digestive system. The most typical example is the computer network, which is a combination of computer technology and communication technology.

The Evolution of Computer Networks

Main Characteristics of Computer Networks
-
Resource Sharing -
Information Transmission and Centralized Processing
-
Load Balancing and Distributed Processing -
Integrated Information Services

Definitions of LAN, MAN, and WAN
LAN (Local Area Network)
Typically refers to a collection of computers, printers, modems, or other devices that can be interconnected within a few kilometers through some medium.
Common Network Topologies

Circuit Switching and Packet Switching
-
Advantages: Low latency, transparent transmission -
Disadvantages: Fixed bandwidth, low network resource utilization, slow initial connection establishment
-
Advantages: Multiplexing, high network resource utilization -
Disadvantages: High latency, poor real-time performance, complex device functions
Performance Standards of Computer Networks
Bandwidth
Describes the amount of data that can be transmitted from one node to another within a certain time frame, usually measured in bps, for example, Ethernet bandwidth is 10Mbps, Fast Ethernet is 100Mbps.
Delay
Protocols and Standards
What is a Network Protocol?
-
A network protocol is a set of formats and agreements established in advance to allow different devices in the network to communicate data.
-
A network protocol is a normative description of a series of rules and agreements that defines how network devices exchange information.
Data Communication Standards are divided into two categories: De Facto and De Jure
-
De Facto Standard: A standard that has been widely used and accepted in practice without being recognized by an organizational body.
-
De Jure Standard: A standard established by an officially recognized organization.
Standardization Organizations
-
International Organization for Standardization (ISO)
-
Institute of Electrical and Electronics Engineers (IEEE)
-
American National Standards Institute (ANSI)
-
Electronic Industries Alliance (EIA/TIA)
-
International Telecommunication Union (ITU)
-
Internet Engineering Task Force (IETF)
-
Research Task Force (IRTF)
-
Internet Assigned Numbers Authority (IANA)

OSI RM: Open Systems Interconnection Reference Model
The OSI Reference Model has the following advantages:
-
Simplifies related network operations
-
Provides compatibility and standard interfaces between devices
-
Facilitates standardization work
-
Structurally separable
-
Easy to implement and maintain


Overview of the TCP/IP Protocol Stack
TCP/IP originated from a packet switching network research project funded by the US government in the late 1960s and has developed into the most commonly used networking form between computers by the 1990s. TCP/IP is a truly open system, as its protocol suite definitions and various implementations can be obtained publicly for free or at a low cost. TCP/IP is the foundation of the “global internet” or “Internet”.
Similar to the OSI Reference Model, the TCP/IP peer model is also divided into different layers, each responsible for different communication functions. The five-layer peer model is a combination of the OSI and TCP/IP models.

TCP/IP Protocol Stack

Functions of the Physical Layer

Physical Layer Media and Devices
Functions of the Data Link Layer
Data Link Layer Protocols

Functions and Devices of the Network Layer

-
Addressing: The network layer assigns identifiers to each node, which is the network address. Address allocation also provides a basis for path selection from source to destination. -
Routing: A key function of the network layer is to determine how to route data from source to destination. After calculating the route, network layer devices forward data packets according to the routing information. Devices that perform routing at the network layer are called routers. -
Congestion Management: If too many data packets are transmitted simultaneously over the network, congestion may occur, leading to data loss or delays. The network layer is also responsible for controlling congestion on the network. -
Interconnecting Heterogeneous Networks: Communication links and media types are diverse, and each link has its specific communication regulations. The network layer must be able to operate across various links and media types to provide communication services across multiple segments.
Network Layer Protocols

Functions of the Transport Layer
-
Segmenting upper layer data -
Establishing end-to-end connections
-
Transmitting data from one host to another -
Ensuring data is transmitted in order, reliably, and correctly
-
Segmenting data sent from the application layer to the network layer or merging data segments sent from the network layer to the application layer. -
Establishing end-to-end connections, mainly establishing logical connections for data flow transmission.
-
Sending data segments from one host to another. During transmission, checksums are calculated, and flow control ensures data correctness, preventing buffer overflow. -
Some transport layer protocols ensure data delivery correctness. This mainly ensures that the same data is neither transmitted multiple times nor lost during transmission. It also ensures that the order of data packet reception matches the order of sending.

Comparison of Major Transport Layer Protocols

Functions of the Application Layer
-
Providing interfaces for users and processing specific applications -
Data encryption, decryption, compression, and decompression
-
Defining standards for data representation
