This document discusses different types of computer network switching, including circuit switching, packet switching, and virtual circuit switching. Circuit switching establishes a dedicated connection between nodes for the duration of a call. Packet switching divides messages into packets that are routed independently through a network on a first-come, first-served basis without dedicated connections. Virtual circuit switching combines aspects of circuit switching and packet switching by establishing paths for packets through a three-phase process of setup, data transfer using local addressing, and teardown.
This document discusses different types of computer networks, including switched, circuit-switched, packet-switched, and datagram networks. It explains that switched networks connect devices through switches that create temporary connections. Circuit-switched networks require connection setup and teardown and dedicate resources to each connection. Packet-switched networks divide messages into packets that are routed independently without resource reservation. Datagram networks treat each packet independently and use dynamic routing tables to route packets by destination address. Virtual circuit networks combine aspects of circuit-switched and datagram networks by routing packets along the same path with connection setup and teardown phases.
The document discusses different methods of switching in computer networks, including circuit switching, packet switching, and message switching. It provides details on circuit-switched networks, packet-switched networks, and virtual circuit networks. For circuit switching, it describes the setup, data transfer, and teardown phases required to establish and terminate connections. For packet switching, it compares datagram and virtual circuit approaches.
This document provides an overview of circuit-switched and datagram networks. It discusses:
- Circuit-switched networks require a setup phase to establish a dedicated connection between stations before data transfer can occur. Resources are allocated for the entire connection duration.
- Datagram networks divide messages into packets that are routed independently through the network. Packets may arrive out of order and be lost due to lack of dedicated resources.
- Switches in circuit-switched networks use space-division or time-division techniques, while packet switches contain input/output ports, a routing processor, and a switching fabric to route packets based on destination addresses in routing tables.
1. The document discusses different types of switched networks including circuit-switched, datagram, and virtual circuit networks. It describes the key characteristics of each type.
2. Circuit switching uses dedicated paths between nodes and has three phases: setup, data transfer, and teardown. Datagram networks treat each packet independently and route using destination addresses in packet headers. Virtual circuit networks combine aspects of circuit and datagram switching.
3. The structures of switches used in different networks are examined, including crossbar switches for circuit switching and various designs for packet switches like Banyan networks.
This document discusses wide area network (WAN) technologies. It begins by defining WAN characteristics such as interconnecting computers over long distances using various media. It then describes different WAN technologies including circuit-switched networks, packet-switched networks, and virtual circuit networks. Specific routing protocols and concepts are explained like distance vector routing, link state routing, static versus dynamic routing. The document concludes by listing various WAN technology options for connecting sites like dial-up, leased lines, frame relay, ATM, microwave links and satellite.
A circuit-switched network uses dedicated connections between nodes, requiring three phases of connection setup, data transfer, and teardown. Resources are reserved during setup. In contrast, a packet-switched or datagram network divides messages into packets that are routed independently through the network without resource reservation. Each switch uses a routing table to determine the next hop based on the packet's destination address. A virtual-circuit network combines aspects of circuit and datagram switching by establishing virtual circuits with resource reservation but packetizing the data. Switches in these networks use various architectures like crossbar, multistage, time-division, and space-division designs to connect inputs to outputs.
Switching concepts Data communication and networksNt Arvind
This slide explains you about the different types of sxitching networks like circuit switched network , datagram network , virtual circuit network , message switched network
The document discusses different network switching techniques including circuit switching, packet switching, datagram switching, virtual circuit networks, and message switching. It provides details on how each technique works, including setup/teardown phases for circuit switching, treating each packet independently for datagram networks, and storing entire messages at intermediate nodes for message switching. Key aspects like bandwidth efficiency and reliability are compared between the different techniques.
This document discusses circuit switching and packet switching in communication networks. It provides details on:
1. Circuit switching establishes a dedicated communication path between two stations but the capacity is wasted if no data is being sent. Packet switching divides messages into packets that are transmitted individually and resources are allocated on demand.
2. Circuit switching is used for applications like voice calls where continuous transmission is required. Packet switching provides better line efficiency since the bandwidth is shared between packets.
3. Switches can be implemented using space division or time division techniques. Common switches include crossbar switches, multistage switches, and time-space-time switches.
This document discusses different types of switched networks, including circuit-switched networks, datagram networks, and virtual-circuit networks. Circuit-switched networks use dedicated connections between stations that remain in place for the duration of a call. Datagram networks divide messages into packets that are routed independently through the network without dedicated connections. Virtual-circuit networks combine aspects of circuit-switched and datagram networks by establishing virtual circuits for packets belonging to the same data flow. The document also describes the components and operation of packet switches used in these different types of switched networks.
The document discusses circuit switching in data communication networks, describing circuit switching as a method of establishing a dedicated connection between devices using switches, which involves three phases of connection setup, data transfer, and connection teardown. Examples of circuit switched networks are provided, including the public switched telephone network and cellular data networks, and different types of switches used for circuit switching like crossbar and multistage switches are explained.
This document discusses different methods for switching data in communication networks. It describes circuit switching, packet switching, message switching, and fast packet switching. Circuit switching establishes a dedicated connection for transmission. Packet switching divides data into packets that are routed independently. Message switching stores data at switches before transmission. Fast packet switching reduces overhead to increase throughput. The document provides details on the characteristics and advantages and disadvantages of each switching method.
Dc ch10 : circuit switching and packet switchingSyaiful Ahdan
This document discusses different communication switching techniques for networks, including circuit switching and packet switching. Circuit switching establishes a dedicated communication path between stations but is inefficient for bursty data traffic. Packet switching divides messages into packets that are transmitted independently through the network, allowing dynamic sharing of network bandwidth. It supports data rate conversion and priority handling. Packet switching can use either a datagram approach, treating each packet independently, or a virtual circuit approach, pre-establishing routes for packets.
Circuit switching and packet switching are two methods for transferring data across networks. Circuit switching establishes a dedicated communication path between two stations by reserving bandwidth for the duration of the call. Packet switching breaks messages into packets that are transmitted independently across the network and reassembled at the destination. It allows for more efficient use of bandwidth by allowing packets from multiple messages to share transmission resources.
data communication and networkig fibre optical cable and non fibre cableSanthanalakshmiSelva2
this is data communicaion and networking. this is in computer network. DCN notes include transmission media Your score increases as you pick a category, fill out a long description and add more tags.
•When data streams are received from network layer, to the data link layer, the number of bits may be less than, equal to, or more than the number of bits transmitted.
•The data link layer has to detect and correct the errors.
•The data link layer breaks the bit stream into discrete frames and computes a short token called checksum.
•Checksum is calculated for each frame and it is attached to the frame when transmitted.
•When the frame arrives the destination the checksum is recomputed.
•If the newly computed value is different from the one contained in the frame, it is discarded and is resent.
This document discusses different types of switching used in computer networks. It begins by introducing circuit switching, which operates at the physical layer and establishes a dedicated connection between sender and receiver. Packet switching is then covered, including datagram networks that operate at the network layer and treat each packet independently, and virtual circuit networks that operate at the data link layer using temporary virtual circuit identifiers to route frames. The document also discusses different types of switches including space division switches like crossbar switches and time division switches. Key aspects like setup, data transfer, and teardown phases are compared for different switching techniques.
The document discusses data link layer concepts including frame format, switching, and virtual circuit switching. It provides details on:
- The components of an Ethernet frame including preamble, start frame delimiter, destination/source addresses, length/type field, and data.
- How layer 2 switches work by looking at frame addresses rather than network layer headers to decide whether to forward, flood, or drop frames.
- Virtual circuit switching which establishes a connection between source and destination before sending data and uses a virtual circuit identifier in packet headers to route packets through switches along the established path.
Switching types-circuit, packet and messageJebaRaj26
A switched network uses switches to connect devices and allow communication between them. Switches create temporary connections between devices on the network and forward data using MAC addresses. There are different switching techniques including circuit switching, packet switching, and message switching. Circuit switching establishes a dedicated connection for data transfer while packet and message switching break messages or data into smaller packets or messages that are transmitted individually through the network.
Circuit and Packet Switching Methods PresentationNiharikaDubey17
This document discusses two main types of switching technologies used in communications networks: circuit switching and packet switching. Circuit switching establishes a dedicated communication path for the duration of a connection, while packet switching breaks messages into packets that are transmitted individually and reassembled at the destination. Packet switching provides better line efficiency since the bandwidth is shared dynamically between users, and allows for variable data rates and prioritization of packets. Virtual circuits are a form of packet switching that pre-establishes a route for packets to follow, avoiding per-packet routing decisions.
These slides cover a topic on Multiplexing in Data Communication. All the slides are explained in a very simple manner. It is useful for engineering students & also for the candidates who want to master data communication & computer networking.
A switched network consists of interconnected switches that create temporary connections between linked devices. There are three main types of switched networks: circuit-switched networks reserve dedicated resources for the entire data transfer between two stations, datagram networks allocate resources on demand without reservation, and virtual-circuit networks exhibit characteristics of both by reserving resources for packets belonging to the same source and destination but allowing variable delays. Switches can be constructed as single-stage crossbar switches or multistage switches using various designs like Clos networks to reduce the number of crosspoints.
This document discusses wide area network (WAN) technologies. It begins by defining WAN characteristics such as interconnecting computers over long distances using various media. It then describes different WAN technologies including circuit-switched networks, packet-switched networks, and virtual circuit networks. Specific routing protocols and concepts are explained like distance vector routing, link state routing, static versus dynamic routing. The document concludes by listing various WAN technology options for connecting sites like dial-up, leased lines, frame relay, ATM, microwave links and satellite.
A circuit-switched network uses dedicated connections between nodes, requiring three phases of connection setup, data transfer, and teardown. Resources are reserved during setup. In contrast, a packet-switched or datagram network divides messages into packets that are routed independently through the network without resource reservation. Each switch uses a routing table to determine the next hop based on the packet's destination address. A virtual-circuit network combines aspects of circuit and datagram switching by establishing virtual circuits with resource reservation but packetizing the data. Switches in these networks use various architectures like crossbar, multistage, time-division, and space-division designs to connect inputs to outputs.
Switching concepts Data communication and networksNt Arvind
This slide explains you about the different types of sxitching networks like circuit switched network , datagram network , virtual circuit network , message switched network
The document discusses different network switching techniques including circuit switching, packet switching, datagram switching, virtual circuit networks, and message switching. It provides details on how each technique works, including setup/teardown phases for circuit switching, treating each packet independently for datagram networks, and storing entire messages at intermediate nodes for message switching. Key aspects like bandwidth efficiency and reliability are compared between the different techniques.
This document discusses circuit switching and packet switching in communication networks. It provides details on:
1. Circuit switching establishes a dedicated communication path between two stations but the capacity is wasted if no data is being sent. Packet switching divides messages into packets that are transmitted individually and resources are allocated on demand.
2. Circuit switching is used for applications like voice calls where continuous transmission is required. Packet switching provides better line efficiency since the bandwidth is shared between packets.
3. Switches can be implemented using space division or time division techniques. Common switches include crossbar switches, multistage switches, and time-space-time switches.
This document discusses different types of switched networks, including circuit-switched networks, datagram networks, and virtual-circuit networks. Circuit-switched networks use dedicated connections between stations that remain in place for the duration of a call. Datagram networks divide messages into packets that are routed independently through the network without dedicated connections. Virtual-circuit networks combine aspects of circuit-switched and datagram networks by establishing virtual circuits for packets belonging to the same data flow. The document also describes the components and operation of packet switches used in these different types of switched networks.
The document discusses circuit switching in data communication networks, describing circuit switching as a method of establishing a dedicated connection between devices using switches, which involves three phases of connection setup, data transfer, and connection teardown. Examples of circuit switched networks are provided, including the public switched telephone network and cellular data networks, and different types of switches used for circuit switching like crossbar and multistage switches are explained.
This document discusses different methods for switching data in communication networks. It describes circuit switching, packet switching, message switching, and fast packet switching. Circuit switching establishes a dedicated connection for transmission. Packet switching divides data into packets that are routed independently. Message switching stores data at switches before transmission. Fast packet switching reduces overhead to increase throughput. The document provides details on the characteristics and advantages and disadvantages of each switching method.
Dc ch10 : circuit switching and packet switchingSyaiful Ahdan
This document discusses different communication switching techniques for networks, including circuit switching and packet switching. Circuit switching establishes a dedicated communication path between stations but is inefficient for bursty data traffic. Packet switching divides messages into packets that are transmitted independently through the network, allowing dynamic sharing of network bandwidth. It supports data rate conversion and priority handling. Packet switching can use either a datagram approach, treating each packet independently, or a virtual circuit approach, pre-establishing routes for packets.
Circuit switching and packet switching are two methods for transferring data across networks. Circuit switching establishes a dedicated communication path between two stations by reserving bandwidth for the duration of the call. Packet switching breaks messages into packets that are transmitted independently across the network and reassembled at the destination. It allows for more efficient use of bandwidth by allowing packets from multiple messages to share transmission resources.
data communication and networkig fibre optical cable and non fibre cableSanthanalakshmiSelva2
this is data communicaion and networking. this is in computer network. DCN notes include transmission media Your score increases as you pick a category, fill out a long description and add more tags.
•When data streams are received from network layer, to the data link layer, the number of bits may be less than, equal to, or more than the number of bits transmitted.
•The data link layer has to detect and correct the errors.
•The data link layer breaks the bit stream into discrete frames and computes a short token called checksum.
•Checksum is calculated for each frame and it is attached to the frame when transmitted.
•When the frame arrives the destination the checksum is recomputed.
•If the newly computed value is different from the one contained in the frame, it is discarded and is resent.
This document discusses different types of switching used in computer networks. It begins by introducing circuit switching, which operates at the physical layer and establishes a dedicated connection between sender and receiver. Packet switching is then covered, including datagram networks that operate at the network layer and treat each packet independently, and virtual circuit networks that operate at the data link layer using temporary virtual circuit identifiers to route frames. The document also discusses different types of switches including space division switches like crossbar switches and time division switches. Key aspects like setup, data transfer, and teardown phases are compared for different switching techniques.
The document discusses data link layer concepts including frame format, switching, and virtual circuit switching. It provides details on:
- The components of an Ethernet frame including preamble, start frame delimiter, destination/source addresses, length/type field, and data.
- How layer 2 switches work by looking at frame addresses rather than network layer headers to decide whether to forward, flood, or drop frames.
- Virtual circuit switching which establishes a connection between source and destination before sending data and uses a virtual circuit identifier in packet headers to route packets through switches along the established path.
Switching types-circuit, packet and messageJebaRaj26
A switched network uses switches to connect devices and allow communication between them. Switches create temporary connections between devices on the network and forward data using MAC addresses. There are different switching techniques including circuit switching, packet switching, and message switching. Circuit switching establishes a dedicated connection for data transfer while packet and message switching break messages or data into smaller packets or messages that are transmitted individually through the network.
Circuit and Packet Switching Methods PresentationNiharikaDubey17
This document discusses two main types of switching technologies used in communications networks: circuit switching and packet switching. Circuit switching establishes a dedicated communication path for the duration of a connection, while packet switching breaks messages into packets that are transmitted individually and reassembled at the destination. Packet switching provides better line efficiency since the bandwidth is shared dynamically between users, and allows for variable data rates and prioritization of packets. Virtual circuits are a form of packet switching that pre-establishes a route for packets to follow, avoiding per-packet routing decisions.
These slides cover a topic on Multiplexing in Data Communication. All the slides are explained in a very simple manner. It is useful for engineering students & also for the candidates who want to master data communication & computer networking.
A switched network consists of interconnected switches that create temporary connections between linked devices. There are three main types of switched networks: circuit-switched networks reserve dedicated resources for the entire data transfer between two stations, datagram networks allocate resources on demand without reservation, and virtual-circuit networks exhibit characteristics of both by reserving resources for packets belonging to the same source and destination but allowing variable delays. Switches can be constructed as single-stage crossbar switches or multistage switches using various designs like Clos networks to reduce the number of crosspoints.
This document is the first chapter of a C++ basics textbook. It introduces fundamental C++ concepts like variables, data types, operators, input/output, and libraries. It provides examples of simple C++ programs and explains concepts like variables, data types, arithmetic operations, literals and constants, input/output streams, and basic program style guidelines. It emphasizes that C++ is case sensitive, variables must be declared before use, and care must be taken with numeric precision in expressions and calculations.
This document discusses threads and multithreaded programming. It covers thread libraries like Pthreads, Windows threads and Java threads. It discusses implicit threading techniques like thread pools and OpenMP. Issues with multithreaded programming like signal handling, thread cancellation and thread-local storage are examined. Operating system support for threads on Windows and Linux is also overviewed.
In this paper, the cost and weight of the reinforcement concrete cantilever retaining wall are optimized using Gases Brownian Motion Optimization Algorithm (GBMOA) which is based on the gas molecules motion. To investigate the optimization capability of the GBMOA, two objective functions of cost and weight are considered and verification is made using two available solutions for retaining wall design. Furthermore, the effect of wall geometries of retaining walls on their cost and weight is investigated using four different T-shape walls. Besides, sensitivity analyses for effects of backfill slope, stem height, surcharge, and backfill unit weight are carried out and of soil. Moreover, Rankine and Coulomb methods for lateral earth pressure calculation are used and results are compared. The GBMOA predictions are compared with those available in the literature. It has been shown that the use of GBMOA results in reducing significantly the cost and weight of retaining walls. In addition, the Coulomb lateral earth pressure can reduce the cost and weight of retaining walls.
Jamuna river is a morphologically very dynamic river. It carries a vast sediment load from the erosive foothills of Himalaya mountain. The length of the Jamuna River is 220 km. For this research work Jamalpur district is selected to assess morphological changes using hydrodynamic, Artificial intelligence and google satellite images. First, the hydrodynamic model was calibrated and validated at Kazipur station for the years 2018 and 2019 respectively. Then, left overbank maximum discharge, water level, velocity, the slope was extracted from HEC-RAS 1D at 300 m interval interpolated cross-section. Then, this cross-section was exported as a shapefile. In google earth, the erosion rate was measured corresponding to this interpolated cross-section. The results of the hydrodynamic model were given as input variable and erosion rate as an output variable in Machine learning and deep learning technique. Calibration and validation of the regression model was done for the years 2018 and 2019 respectively. This research work can be helpful to locate the area which are vulnerable to bank erosion.
Espresso PD Official MP_eng Version.pptxNingChacha1
Cosmetic standards in manufacturing play a crucial role in ensuring the visual quality of products meets customer expectations while maintaining functional integrity. In industries such as electronics, automotive, and consumer goods, cosmetic defects—though often non-functional—can impact brand perception, product desirability, and customer satisfaction.
### **Introduction to Cosmetic Standards in Manufacturing**
Cosmetic standards refer to the guidelines set by manufacturers to evaluate the appearance of a product. These guidelines define acceptable and unacceptable visual defects, ensuring products present a clean, professional look. While minor imperfections may be permissible, consistent and visible defects can lead to customer complaints or reduced marketability.
### **Key Cosmetic Defects in Manufacturing**
Manufacturing processes can introduce various cosmetic defects, including:
- **Scratches and Scuffs**: Surface-level marks that occur during handling, assembly, or packaging.
- **Dents and Deformations**: Physical damage to materials due to improper handling or tooling issues.
- **Color Variations**: Differences in shading or texture due to material inconsistencies or environmental factors during production.
- **Molding Defects**: Injection molding processes can introduce flow lines, sink marks, or flash, affecting the visual quality of plastic components.
- **Print and Label Imperfections**: Misaligned text, smudging, or incomplete printing can impact branding and identification.
- **Paint or Coating Defects**: Issues such as peeling, chipping, or uneven application affecting surface finish.
- **Contaminations and Foreign Material**: Dust, hair, or other particles embedded in the product can be perceived as poor workmanship.
### **Defining Cosmetic Acceptance Criteria**
Manufacturers typically establish cosmetic acceptance criteria based on industry standards, customer expectations, and internal quality requirements. These criteria specify:
- **Defect Classification**: Minor, major, or critical defects based on impact on functionality and aesthetics.
- **Inspection Methods**: Visual inspection under controlled lighting conditions and specific angles.
- **Measurement Tools**: Rulers, calipers, or digital inspection systems for consistency in defect evaluation.
- **Pass/Fail Guidelines**: Clear thresholds for acceptable and non-acceptable defects.
### **Inspection and Quality Control Methods**
To enforce cosmetic standards, manufacturers implement stringent inspection processes, including:
- **Automated Vision Systems**: Using AI-powered cameras to detect surface irregularities.
- **Manual Inspection**: Trained personnel evaluating each unit based on predefined standards.
- **Sampling Plans**: Statistical methods such as AQL (Acceptable Quality Limit) to ensure representative evaluation.
- **Defect Tagging and Sorting**: Classifying defective units for rework, scrapping, or customer review.
Presently, the mesh embedment in masonry is becoming a trendy research topic. In this paper, the mesh embedded masonry prism was cast and tested. The experimental data were used for the analytical modelling. Compressive strength (CS) test was conducted for forty five masonry prism specimens with and without poultry netting mesh (PNM) embedment in the bed joints. The small mesh embedment in the masonry prism provides the better strength improvement as well as the endurance. The size of masonry prism was 225×105×176 mm. Uniformity was maintained in all prisms as per the guidelines given in ASTM C1314. Compressive strength experimental results are compared with a new proposed regression equation. The equation needs nine input parameters and two adjustment coefficients. The masonry mortar strength and mesh embedment are considered as input parameter. The experimental results were predicted by proposed Artificial Neural Network model. The validated results were gives better and more accuracy compared to the statistical and MLRPM models.
May 2025 - Top 10 Read Articles in Network Security and Its ApplicationsIJNSA Journal
The International Journal of Network Security & Its Applications (IJNSA) is a bi monthly open access peer-reviewed journal that publishes articles which contribute new results in all areas of the computer Network Security & its applications. The journal focuses on all technical and practical aspects of security and its applications for wired and wireless networks. The goal of this journal is to bring together researchers and practitioners from academia and industry to focus on understanding Modern security threats and countermeasures, and establishing new collaborations in these areas.
AI-Powered Data Management and Governance in RetailIJDKP
Artificial intelligence (AI) is transforming the retail industry’s approach to data management and decisionmaking. This journal explores how AI-powered techniques enhance data governance in retail, ensuring data quality, security, and compliance in an era of big data and real-time analytics. We review the current landscape of AI adoption in retail, underscoring the need for robust data governance frameworks to handle the influx of data and support AI initiatives. Drawing on literature and industry examples, we examine established data governance frameworks and how AI technologies (such as machine learning and automation) are augmenting traditional data management practices. Key applications are identified, including AI-driven data quality improvement, automated metadata management, and intelligent data lineage tracking, illustrating how these innovations streamline operations and maintain data integrity. Ethical considerations including customer privacy, bias mitigation, transparency, and regulatory compliance are discussed to address the challenges of deploying AI in data governance responsibly.
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFTKyohei Ito
DeFAI Mint: Vive Trading as NFT.
Welcome to the future of crypto investing — radically simplified.
"DeFAI Mint" is a new frontier in the intersection of DeFi and AI.
At its core lies a simple idea: what if _minting one NFT_ could replace everything else? No tokens to pick.
No dashboards to manage. No wallets to configure.
Just one action — mint — and your belief becomes an AI-powered investing agent.
---
In a market where over 140,000 tokens launch daily, and only experts can keep up with the volatility.
DeFAI Mint offers a new paradigm: "Vibe Trading".
You don’t need technical knowledge.
You don’t need strategy.
You just need conviction.
Each DeFAI NFT carries a belief — political, philosophical, or protocol-based.
When you mint, your NFT becomes a fully autonomous AI agent:
- It owns its own wallet
- It signs and sends transactions
- It trades across chains, aligned with your chosen thesis
This is "belief-driven automation". Built to be safe. Built to be effortless.
- Your trade budget is fixed at mint
- Every NFT wallet is isolated — no exposure beyond your mint
- Login with Twitter — no crypto wallet needed
- No \$SOL required — minting is seamless
- Fully autonomous, fully on-chain execution
---
Under the hood, DeFAI Mint runs on "Solana’s native execution layer", not just as an app — but as a system-level innovation:
- "Metaplex Execute" empowers NFTs to act as wallets
- "Solana Agent Kit v2" turns them into full-spectrum actors
- Data and strategies are stored on distributed storage (Walrus)
Other chains can try to replicate this.
Only Solana makes it _natural_.
That’s why DeFAI Mint isn’t portable — it’s Solana-native by design.
---
Our Vision?
To flatten the playing field.
To transform DeFi × AI from privilege to public good.
To onboard 10,000× more users and unlock 10,000× more activity — starting with a single mint.
"DeFAI Mint" is where philosophy meets finance.
Where belief becomes strategy.
Where conviction becomes capital.
Mint once. Let it invest. Live your life.
2. Index
• Circuit Switching
• Packet switching (datagram switching)
• Packet switching (virtual-circuit switching)
• Structure of switch
3. Switching
• how to connect Whenever we have multiple devices?
– make a point-to-point connection between each pair of devices (a mesh
topology) ?
– make a connection between a central device and every other device (a star
topology)?
• impractical and wasteful when applied to very large networks.
– The number and length of the links require too much infrastructure to be
cost-efficient
– the majority of those links would be idle most of the time.
• A better solution is switching.
• A switched network consists of a series of interlinked nodes, called
switches creating temporary connections between two or more
devices linked to the switch.
4. Switched Network
The end systems (communicating devices) are labeled A, B, C, D, and so on,
switches are labeled I, II, III, IV, and V
5. Switching Methods
Today the tendency in packet switching is to combine datagram networks and
virtualcircuit networks.
Networks route the first packet based on the datagram addressing idea, but then create
a virtual-circuit network for the rest of the packets coming from the same source and
going to the same destination.
6. CIRCUIT-SWITCHED NETWORKS
• each connection uses only one dedicated
channel on each link. Each link is normally
divided into n channels by using FDM or TDM
7. CIRCUIT-SWITCHED NETWORKS
• Circuit switching takes place at the physical layer
• Before starting communication, make a reservation for the
resources ( Setup Phase )
• resources, such as channels (bandwidth in FDM and time slots
in TDM), switch buffers, switch processing time, …
• Data transferred between the two stations are not packetized
(physical layer transfer of the signal).
• There is no addressing involved during data transfer. The
switches route the data based on their occupied band (FDM)
or time slot (TDM).
• there is end-to-end addressing used during the setup phase
8. CIRCUIT-SWITCHED NETWORKS
Example 1
• Telephone 1 is connected to telephone 7; 2 to 5; 3 to 8; and 4 to 6
• The situation may change when new connections are made
10. CIRCUIT-SWITCHED NETWORKS
• Setup Phase
– Before the two parties can communicate, a dedicated circuit needs to be
established.
– connection setup means creating dedicated channels between the switches.
– end-to-end addressing is required for creating a connection between two end
systems. These can be, for example, the addresses of the computers assigned
by the administrator in a TDM network, or telephone numbers in an FDM
network.
• Data Transfer Phase
– After the establishment of the dedicated circuit (channels), the two parties can
transfer data
• Teardown Phase
– When one of the parties needs to disconnect, a signal is sent to each switch to
release the resources
11. CIRCUIT-SWITCHED NETWORKS
• Efficiency
– are not as efficient as the other two types of
networks because resources are allocated during
the entire duration of the connection and are
unavailable to other connections.
• Delay
– the delay in this type of network is minimal
12. CIRCUIT-SWITCHED NETWORKS
Delay
• delay caused by the setup is the sum of four parts:
– the propagation time of the source computer request (slope of the first gray
box),
– the request signal transfer time (height of the first gray box),
– the propagation time of the acknowledgment from the destination computer
(slope of the second gray box),
– the signal transfer time of the acknowledgment (height of the second gray
box).
• The delay due to data transfer is the sum of two parts:
– the propagation time (slope of the colored box)
– data transfer time (height of the colored box), which can be very long.
• The third box shows the time needed to tear down the circuit.
– We have shown the case in which the receiver requests disconnection, which
creates the maximum delay.
14. Circuit-Switched Technology in Telephone
Networks
• telephone companies usef circuit switched
approach
– the telephone number is used as the global
address
– signaling system (called SS7) is used for the setup
and teardown phases.
15. DATAGRAM NETWORKS
• messages needs to be divided into packets of fixed or
variable size
• there is no resource allocation for a packet and are
allocated on demand
• The allocation is done on a firstcome, first-served basis
• each packet is treated independently of all others
• Packets in this approach are referred to as datagrams
• Datagram switching is normally done at the network
layer
16. DATAGRAM NETWORKS
• may travel different paths to reach their
destination
– out of order Transfer
– different delays between the Packets
– Packets may be lost or dropped
– In most protocols, it is the responsibility of an upper-
layer protocol to reorder the datagrams or ask for lost
datagrams before passing them on to the application.
– There are no setup or teardown phases
(connectionless networks )
18. Routing Table
• If there are no setup or teardown phases, how are the
packets routed to their destinations in a datagram
network?
• each switch has a routing table which is based on the
destination address
• The destination addresses and the corresponding
forwarding output ports are recorded in the tables
• In table of a circuit switched network , each entry is
created when the setup phase is completed and
deleted when the teardown phase is over.
19. Routing Table
• Every packet in a datagram network carries
destination address of the packet.
• the routing table is consulted to find the
corresponding port through which the packet
should be forwarded
• The address remains the same during the
entire journey of the packet opposite in a
virtual-circuit-switched network
20. Efficiency
• better than that of a circuit-switched network
• resources are allocated only when there are
packets to be transferred
21. Delay
• May be greater delay in a datagram network
than in a virtual-circuit network
• each packet may experience a wait at a switch
before it is forwarded
• the delay is not uniform for the packets of a
message
22. Delay
three transmission times (3T),
three propagation delays (slopes 3't of the lines),
two waiting times (WI + w2)
ignore the processing time in each switch.
The total delay is Total delay =3T + 3t + WI + W2
23. Datagram Networks in the Internet
• Internet has chosen the datagram approach to
switching at the network layer.
• uses the universal addresses defined in the
network layer to route packets from the
source to the destination
24. VIRTUAL-CIRCUIT NETWORKS
• is a cross between a circuit-switched network and a datagram network
• As in a circuit-switched network, there are setup and teardown phases
• Resources can be allocated during the setup phase, as in a circuit-switched
network, or on demand, as in a datagram network.
• As in a datagram network, data are packetized
• each packet carries an address in the header. the address in the header has
local jurisdiction. HOW?
– The answer will be clear when we discuss virtual-circuit identifiers in the next
section.
• all packets follow the same path established during the connection.
• A virtual-circuit network is normally implemented in the data link layer
– circuit-switched network is implemented in the physical layer
– and a datagram network in the network layer.
– But this may change in the future.
26. VIRTUAL-CIRCUIT NETWORKS
• Addressing
– global Addressing
– Local Addressing
• Global Addressing
– A source or a destination needs to have a global address that
can be unique and is used only to create a virtual-circuit
identifier
• Virtual-Circuit Identifier
– The identifier that is actually used for data (VCI)
– VCI does not need to be a large since each switch can use its
own unique set of VCls
28. Three Phases
• Setup phase
– the source and destination use their global
addresses to help switches make table entries for
the connection
• data transfer phase
– We discuss first in the next section
• Teardown phase
– the source and destination inform the switches to
delete the corresponding entry
29. Data Transfer Phase
• switch holds four pieces of information for
each virtual circuit that is already set up
31. Setup Phase
• setup request
a) Source A sends a setup frame to switch 1.
b) Switch 1 receives the setup request frame. It knows that a frame going from A to B
goes out through port 3. How? The switch, in the setup phase, acts as a packet
switch so through routing table .The switch creates an entry in its table for this virtual
circuit, but fill three of the four columns. The switch assigns the incoming port (1)
and chooses an available incoming VCI (14) and the outgoing port (3). It does not yet
know the outgoing VCI, which will be found during the acknowledgment step. The
switch then forwards the frame through port 3 to switch 2.
c) Switch 2 receives the setup request frame. The same events happen here as at switch
1;
d) …
e) Destination B receives the setup frame, and if it is ready to receive frames from A, it
assigns a VCI to the incoming frames that come from A, in this case 77. This VCI lets
the destination know that the frames come from A, and not other sources
acknowledgment
33. Setup Phase/Acknowledge
A. The destination sends an acknowledgment to switch 3. The acknowledgment
carries the global source and destination addresses. The frame also carries VCI
77, chosen by the destination as the incoming VCI for frames from A. Switch 3
uses this VCI to complete the outgoing VCI column for this entry. Note that 77 is
the incoming VCI for destination B, but the outgoing VCI for switch 3.
B. Switch 3 sends an acknowledgment to switch 2 that contains its incoming VCI in
the table, chosen in the previous step. Switch 2 uses this as the outgoing VCI in
the table.
C. Switch 2 sends an acknowledgment to switch 1 that contains its incoming VCI in
the table, chosen in the previous step. Switch 1 uses this as the outgoing VCI in
the table.
D. Finally switch 1 sends an acknowledgment to source A that contains its incoming
VCI in the table, chosen in the previous step.
E. The source uses this as the outgoing VCI for the data frames to be sent to
destination B.
35. Teardown Phase
A. source A, after sending all frames to B, sends
a special frame called a teardown request
B. Destination B responds with a teardown
confirmation frame
C. switches delete the corresponding entry from
their tables
36. Efficiency
• resource reservation in a virtual-circuit
network can be made during the setup or on-
demand during the data transfer phase
– In first case, the delay for each packet is the same
– in second case, each packet may encounter
different delays
• big advantage: even if resource allocation is
on demand, The source can check the
availability of the resources
37. Delay in Virtual-Circuit Networks
• one-time delay for setup (in two direction)
• one-time delay for teardown (in one direction)
• If resources are allocated during setup phase,
there is no wait time for individual packets.
Total delay =
3T+ 3t + setup delay + teardown delay
ignore the processing time in each switch
40. Space-Division Switch
• the paths in the circuit are separated from one
another spatially
• used in both analog and digital networks
41. Circuit Switch
• A crossbar switch connects n inputs to m
outputs in a grid, using electronic
microswitches (transistors) at each crosspoint
• The major limitation of this design is the
number of crosspoints required
• inefficient because statistics show that, in
practice, fewer than 25 percent of the
crosspoints are in use at any given time.
43. Multistage Switch
• combines crossbar switches in several (normally
three) stages
• N*N crosspoint in a single crossbar, but at a time
one row or column is active for any connection
• First stage: N/n crossbar each n * k crosspoint
• Second stage: k crossbar each N/n * N/n
crosspoint
• Third stage: N/n crossbars, each k x n crosspoint
45. Multistage Switch/ Example1
• Design a three-stage, 200 x 200 switch , k =4 and n =20
• First stage:
– N/n or 10 crossbars, each of size 20 x 4.
• Second Stage:
– 4 crossbars, each of size 10 x 10.
• Third Stage:
– 10 crossbars, each of size 4 x 20.
• The total number of crosspoints:
– 2000 crosspoints. This is 5 percent of the number of
crosspoints in a single-stage switch (200 x 200 = 40,000).
46. Blocking in multiStage Switch
• The multistage switch has one drawback:
– blocking during periods
• multistage switching is to share the crosspoints in the middle-stage
crossbars
• In a single-stage switch, there is always a path
• only 4 of the second 20 inputs can use the switch at a time (every n
user can just have k simultaneous connection)
• The small number of crossbars at the middle
• stage creates blocking.
• In large systems, the number of stages can be increased to cut
down on the number of crosspoints required. As the number of
stages increases, possible blocking increases as well
47. multiStage non-blocking Switch
• Clos rule: In a nonblocking switch, (k>> 2n-1)
• number of crosspoints is still smaller than that
in a single-stage switch
• minimize the number of crosspoints with a
fixed N by using the Clos criteria. We can take
the derivative of the equation with respect to
n (the only variable) and find the value of n
that makes the result zero
48. Multistage Switch/ Example2
• Redesign the previous three-stage, 200 x 200 switch, using
the Clos criteria with a minimum number of crosspoints
– n = (200/2)1/2, or n = 10.
– k = 2n - 1 = 19.
– total number of crosspoints is 20(10 X 19) + 19(10 X 10) + 20(19
XlO) = 9500. 24 percent that of a single-stage switch
– single-stage switch, we need 200 X 200 =40,000 crosspoints
• Close non-blocking rule: if a telephone company needs to
provide a switch to connect 100,000 telephones in a city, it
needs 200 million crosspoints!!!!!!!!!
• So we accept blocking
49. Time-Division Switch
• Today, telephone companies use time-division
switching or a combination of space- and
time-division switches
• Time-division switching uses time-division
multiplexing (TDM) inside a switch
– most popular technology is called the time-slot
interchange (TSI).
51. Time- and Space-Division Switch
Combinations
• Space-division
– Advantage: it is instantaneous
– Disadvantage: is blocking
• time-division switching
– Advantage: it needs no crosspoints
• Disadvantage: in the case of TSI, Each time slot must be
stored by the RAM, then retrieved and passed on. Creates
Delay
• combine space and time-division technologies
– switches that are optimized both physically (the number of
crosspoints) and temporally (the amount of delay).
52. Time- and Space-Division Switch
Combinations
• two time stages and one space stage and has
12 inputs and 12 outputs.
• The result is , average delay is one-third
• The middle stage is a spacedivision switch
54. Input Port
• performs the physical and data link functions
of the packet switch
– The packet is decapsulated from the frame.
– Errors are detected and corrected
• the input port has buffers to hold the packet
before it is directed to the switching fabric
55. Output Port
• outgoing packets are queued, then the packet
is encapsulated in a frame
• physical layer functions are applied to the
frame to create the signal
56. ROuting Processor
• performs the functions of the network layer
• The destination address is used to find the
address of the next hop and the output port
based on Routing Table
• In the newer packet switches, this function of
the routing processor is being moved to the
input ports to facilitate and expedite the
process.
58. Banyan Switch
• Banyan Switch is a multistage switch with
microswitches at each stage that route the
packets based on the output port represented as
a binary string
– For n inputs and n outputs, have (log n based 2) stages
with n/2 microswitches at each stage
– The first stage routes the packet based on the high-
order bit of the binary string.
– The second stage routes the packet based on the
second high-order bit, and so on
60. Batcher-Banyan Switch
• The problem in banyan switch is the possibility of internal
collision even when two packets are not heading for the
same output port.
• solve this problem by sorting the arriving packets based on
their destination port
• trap is added between the Batcher switch and the banyan
switch
• The trap module prevents packets with the same output
destination from passing to the banyan switch
simultaneously
• if there is more than one, they wait for the next tick