Data Data Communication Communications Data and the OSI Model
Operating Systems Network, Communication, OSI
Transcript of Operating Systems Network, Communication, OSI
![Page 1: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/1.jpg)
Lecture 11Operating Systems
Network, Communication, OSI
Lecturer: Sumaira Hussain
S.M.I University
![Page 2: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/2.jpg)
Operating System
An operating system (OS) is software that manages computer hardware and software resources and provides common services for computer programs
![Page 3: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/3.jpg)
Core Tasks of an OSProcessor managementMemory managementDevice managementStorage managementApplication InterfaceUser Interface
![Page 4: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/4.jpg)
![Page 5: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/5.jpg)
Processor ManagementThe CPU executes each process a bit at a time. The CPU's clock times the execution of a process, and when a time limit is reached, then the clock signals the CPU that it is time to switch to another process.
The CPU executes just one process, and the processes that are ready and waiting for their turn at execution are kept in a queue (a waiting line, like at the post office) in primary storage.
![Page 6: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/6.jpg)
Memory ManagementStraight forward for a single-user, single taskingEach app must have enough private memory in which to executeApp can neither run into the private memory space of another app, nor be run into by another appDifferent types of memory (e.g. main, cache) in the system must be used properly, so that each app can run most effectively
![Page 7: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/7.jpg)
Storage ManagementThe OS manages storage through one of its sub-modules, the File ManagerA file system is a collection of directories, subdirectories, and files organized in a logical order.File manager maintains an index of the filenames & where they are located on the disk.File manager make it easy to find the required file in a logical and timely fashion.
![Page 8: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/8.jpg)
Device ManagementApplications talk to devices through the OS and OS talks to and manages devicesthrough Device DriversExample: When we print to a laser printer, we do not need to know its details. All wedo is to tell the printer device driver about what needs to be printed and it takes care of the details
![Page 9: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/9.jpg)
Application InterfaceApp developers do not need to know much about the hardware, while they are developing their appThe OS provides all apps with a straight-forward and consistent interface to the HWExample: An app uses the OS to store data on the disk drive. For that, the app does not need to know about the exact physical characteristics of that drive; it just tells the OS to do that through the app interface, and the OS takes cares of all the details of the task
![Page 10: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/10.jpg)
User InterfaceUsers communicate with the computer using a consistent user interface provided by the OSThis UI can be a command-line interface in which a user types in the commands.Example:
copy a:/file1.html c:/file1.htmlOr, it can be a graphical UI, where Windows, Icons, Menus, and a Pointing device (such as a mouse) is used to receive and display information. Example:With the help of the mouse, drag file1.html from drive a to drive c
![Page 11: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/11.jpg)
Types of OS
Real-Time Operating System (RTOS)Single-User, Single TaskSingle-User, Multi-TaskingMulti-User
![Page 12: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/12.jpg)
Real Time Operating SystemsUsed to run computers embedded in machinery, robots, scientific instruments and industrial systemsTypically, it has little user interaction capability, and no end-user utilities, since the system will be a "sealed box" when delivered for useExamples: Wind River, QNX, Real-time Linux, Real-time Windows NTAn important part of an RTOS is managing the resources of the computer so that a particular operation executes in precisely the same amount of time every time it occursIn a complex machine, having a part move more quickly just because system resources are available may be just as catastrophic as having it not move at all because the systemwas busy
![Page 13: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/13.jpg)
Single-User, Single TaskOS are designed to manage the computer so that one user can effectively do one thing at a timeThe Palm OS used in many palmtop computers (PDA’s) is an example of a single-user, single-task OS
Single-User, Multi-TaskingMost popular OSUsed by most all PC’s and LaptopsExamples: Windows, Mac OS, LinuxLets a single user interact with several programs, simultaneously
![Page 14: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/14.jpg)
Multi-UserA multi-user OS allows many users to take advantage of the computer's resources, simultaneouslyThe OS must make sure that the requirements of the various users are balanced, and that the programs they are using each have sufficient and separate resources so that a problem with one user doesn't affect any of the other usersExamples: Linux, Unix, VMS and mainframe OS, such as MVS
![Page 15: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/15.jpg)
Computer Communications Process in which two or more computers or devices transfer data, instructions, and information
![Page 16: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/16.jpg)
Uses of Computing Communication
Internet E-Mail Instant Messaging FTP Newsgroups Chat Rooms Web Folders Fax Machine or Computer Fax/Modem Video Conferencing Internet telephony (enables you to talk to other people over the
Internet Sometimes called Voice over IP ) Internet printing (allows you to print to network printer from
anywhere in the world )
![Page 17: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/17.jpg)
Computer NetworkMultiple computers that are connected together to share information and other resources
![Page 18: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/18.jpg)
Components of Computer Networks
1. Computers2. Network Interface Cards (NIC)3. Hub4. Cables5. Routers6. Protocol
![Page 19: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/19.jpg)
Network Interface Card
I/O device that plugs into the computerEnables it to communicate over a network
![Page 20: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/20.jpg)
Hub
The network traffic controllerDevice that provides central point for cables in network Components of Conventional Computer Networks
![Page 21: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/21.jpg)
CablesAre either electrical or opticalNot required at all for wireless networksWire, cable, and other tangible materials used to send communications signals
![Page 22: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/22.jpg)
RoutersConnects computers and transmits data to correct destination on network Routers forward data on Internet using fastest available path
![Page 23: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/23.jpg)
Protocol
Rules governing communications over the networkExample:OSI Model
![Page 24: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/24.jpg)
OSI Model1)Application Layer
2)Presentation Layer
3)Session Layer
4)Transport Layer
5)Network Layer
6)Data Link Layer
7)Physical Layer
![Page 25: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/25.jpg)
![Page 26: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/26.jpg)
![Page 27: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/27.jpg)
Type of Computer Networksaccording to the distance between nodes
LAN
MAN
WAN
![Page 28: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/28.jpg)
LANNetwork in limited geographical area such as home or office building
![Page 29: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/29.jpg)
MANconnects LANs in city or town
![Page 30: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/30.jpg)
WANNetwork that covers large geographic area using many types of media
Internet is world’s largest WAN
![Page 31: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/31.jpg)
Network Topologies
Client-ServerPoint to PointStarBusRing
![Page 32: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/32.jpg)
Client-ServerOne or more computers act as server and other computers, or clients, access server
![Page 33: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/33.jpg)
Point to PointSimple network that connects fewer than 10 computers
Each computer, or peer, has equal capabilities
![Page 34: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/34.jpg)
BusAll computers and devices connect to central cable, or bus No server is requiredOne computer sends data to another by broadcasting the address of the receiver and the data over the busAll the computers in the network look at the address simultaneously, and the intended recipient accepts the data
![Page 35: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/35.jpg)
RingCable forms closed ring, or loop, with all computers and devices arranged along ring
Data travels from device to device around entire ring, in one direction
No server is required
![Page 36: Operating Systems Network, Communication, OSI](https://reader036.fdocuments.net/reader036/viewer/2022070521/58ef63a11a28ab2d6a8b462d/html5/thumbnails/36.jpg)
StarAll devices connect to a central device, called hub
All data transferred from one computer to another passes through hub
This topology allows multiple messages to be sent simultaneously