Lecture 5 A Secondary Storage Device: CD-ROM (sections 3.4 – 3.6)

Slides:



Advertisements
Similar presentations
Secondary Storage Devices: Magnetic Disks
Advertisements

Chapter 4 Storing Information in a Computer Peter Nortons Introduction to Computers.
10/5: Data storage concepts What is data storage? Types of storage –magnetic, optical, magneto-optical, solid state Storage characteristics Magnetic storage:
Peripheral Storage Devices
Faculty of Information Technology Department of Computer Science Computer Organization Chapter 7 External Memory Mohammad Sharaf.
Computer Studies Today Chapter 18 1 »Two main types of secondary storage devices: –Magnetic storage devices –Optical storage devices.
1 Disks Introduction ***-. 2 Disks: summary / overview / abstract The following gives an introduction to external memory for computers, focusing mainly.
Lesson 9 Types of Storage Devices.
Types Of Storage Device
Computer Memory/Storage Device
Storing Data: Disks and Files: Chapter 9
January 25 & 27, Csci 2111: Data and File Structures Week3, Lecture 1 & 2 Secondary Storage and System Software: CD-ROM & Issues in Data Management.
1 Storing Digital Audio. 2 Storage  There are many different types of storage medium and encoding methods for the storage of digital audio  CD  DVD.
Chapter 3 Secondary Storage
Storage Device Computer Component : Storage Device (External Memory, Secondary Memory, Secondary Storage) Storage Types Magnetic Types Optical Types.
Storage INFO 1. Key areas File Compression Types of Storage –Internal/External, Magnetic Storage, Hard Disks, Floppy, Optical Storage, Flash Memory, Online.
Presented by: Manjeet Singh. Secondary Storage Devices Magnetic media Tape Disks Optical Media Compact Discs CD-R, WORM (Write Once, Read Many) CD-RW.
1 Part I: Machine Architecture 4 A major process in the development of a science is the construction of theories that are confirmed or rejected by experimentation.
L/O/G/O External Memory Chapter 3 (C) CS.216 Computer Architecture and Organization.
Storing Data On Your Computer Chapter 12, Exploring the Digital Domain.
A Secondary Storage: CD – ROM Dr. Robert J. Hammell Assistant Professor Towson University Computer and Information Sciences Department 8000 York Road -
Chapter 7 External Memory Computer Architecture Chapter Seven: External Memory.
January 18 & 20, Files Secondary Storage and System Software: Magnetic Disks &Tapes.
CS 111 – Aug – 1.3 –Information arranged in memory –Types of memory –Disk properties Commitment for next day: –Read pp , In other.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 17 – The CD-ROM Drive.
Information and Coding Theory Some applications of error correcting codes. Juris Viksna, 2015.
STORAGE IN COMPUTER By- Upendra Sharma. STORAGE DEVICE We can use storage device to save data in computer. It is divided in two parts- 1. Primary memory.
COEN 180 Optical Storage. Store data based on the optical properties of a device. Strong, established market for removable media. Small market for archival.
OCR GCSE Computing Chapter 2: Secondary Storage. Chapter 2: Secondary storage Computers are able to process input data and output the results of that.
Disks Chapter 5 Thursday, April 5, Today’s Schedule Input/Output – Disks (Chapter 5.4)  Magnetic vs. Optical Disks  RAID levels and functions.
Exploring the Digital Domain Secondary Memory and Input/Output.
Describing Storage Devices  Storage terms  Media is the material storing data  Storage devices manage the media  Magnetic devices use a magnet  Optical.
SECONDARY STORAGE DEVICES. Agenda of Today’s Lecture  Introduction to Hardware  Types of hardware devices  Storage Devices  Secondary Storage devices.
Bits and Bytes IGCSE. A binary number is either a 0 or a 1 and is known as a 'bit' or b inary dig it. However, the CPU cannot deal with just one bit at.
Allow computers to store programs and information for use at a later date Storage Devices.
Computers - The Journey Inside continues…
Lecture 5 Secondary Storage and System Software III.
20 October 2015Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
Disk Basics CS Introduction to Operating Systems.
CS 101 – Sept. 28 Main vs. secondary memory Examples of secondary storage –Disk (direct access) Various types Disk geometry –Flash memory (random access)
STORAGE DEVICES Introduction Comparision Storage Hierarchy Slide 1.
Lecture 5: 9/10/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
Section 13.2 – Secondary storage management. Index 13.2 Disks Mechanics of Disks The Disk Controller Disk Access Characteristics.
Storage of Data Letts Chapter 6. Introduction Any system needs to store both programs and data and requires: n a main store for fast access storage; n.
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
File Structures & Data Processing. Unit-I Introduction : File structure design, File processing operations : open, close, read, write, seek. Unix directory.
CHAPTER 10: Computer Peripherals
Reference: Chp 6 Introduction to Computers by Peter Norton
File Structures How are the database tables stored on disk?
Secondary Storage Devices
Secondary Storage Devices
Some applications of error correcting codes.
Types of External Memory
Backing Store.
Storage devices of Computer Submitted By Pravesh Kumar UPS Beetia
CSCI 161: Introduction to Programming
Chapter I, Digital Imaging Fundamentals: Lesson IV
Chapter 7.
Cache Memory The cache is logically between the CPU and main memory. Physically, there are several possible places it could be located. Tanenbaum, Structured.
Storage Chapter 7.
How do computers work? Storage.
Chapter 7 Storage.
ВЛЕЗНО/ИЗЛЕЗНИ ЕДИНИЦИ И СИСТЕМИ ЗА СМЕСТУВАЊЕ НА ПОДАТОЦИ
Secondary Storage Devices
THIS IS Jeopardy. THIS IS Jeopardy With Your Host... Mrs. Glenn.
Introduction to Computing
Lesson 9 Types of Storage Devices.
Storage.
Technology 4 Storage.
Computer Electronic device Accepts data - input
Presentation transcript:

Lecture 5 A Secondary Storage Device: CD-ROM (sections 3.4 – 3.6)

يک حافظه ثانوي: ديسک نوري (CD-ROM) ديسک نوري (Compact Disk – read only! memory) چيست؟ يک صفحه دايره شکل و منعکس کننده نور(ليزري)، حاوي: يک پيست مارپيچ (spiral) از مرکز صفحه تا لبه آن. بعلاوه تعدادي حفره (Pits) روي پِيست مارپيچ. (چرا ROM ؟) (چرا نور ليزري؟) (640-700 MB per platter)

خواص ديسک نوري خواص ديسک نوري (يا ليزري) چيست؟ خواص ديسک نوري (يا ليزري) چيست؟ داده ها به کمک تشعشع ليزري نوشته يا خوانده ميشوند. ظرفيت آن حدود 600 تا 700 مگا بايت داده ميباشد. تنها يک شيار مارپيچ طولاني شامل تعداد زيادي سکتور دارد. داده هاي ديجيتالي بصورت يک سري حفره روي اين شيار ثبت ميشوند. به سطح بالايي شيار Land و به حفره ايجاد شده روي شيار Pit گفته ميشود. Land Pit 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0

خواندن ديسک نوري تشخيص صفر و يک چگونه است؟ عمل خواندن ديسک نوري چگونه است؟ به وسيله تابش نور ليزري روي شيار. و تشخيص تغييرات درشدت انعکاس نور (intensity). تشخيص صفر و يک چگونه است؟ عدد يک = تغيير ارتفاع (از Land به Pit يا بر عکس). عدد صفر = تعداد فواصل زماني معين بين دو عدد يک. (فواصل زماني؟) Land Pit 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0

خواندن ديسک نوري تشخيص صفر و يک چگونه است؟ مثال: مابين دو عدد يک، بايستي لااقل دو عدد صفر وجود داشته باشد! (چرا؟) براي کد گذاري 256 حروف جدول ASCII احتياج به 14 بيت خواهد بود! (چرا؟) تبديل کد گذاري حروف از 8 بيت به 14 بيت بکمک يک جدول ( (Eight to Fourteen Modulationانجام ميشود. مثال: نمونه اي از جدول E.F.M. : 0 → 0000 0000 → 0100 1000 100000 1 → 0000 0001 → 1000 0100 000000 2 → 0000 0010 → 1001 0000 100000

سرعت وظرفيت ديسک نوري روش سرعت خطي ثابت (Constant Linear Velocity) چيست؟ حرکت نور ليزري روي شيار با سرعت خطي ثابت انجام ميشود. (چرا؟) طول شيار مار پيچ (Spiral track) تقريبا سه مايل ميباشد. طول سکتورها از مرکز تا لبه ديسک همواره ثابت است. اين تکنولوژي از ديسک هاي صوتي به ارث گرفته شده، و باعث بالا بردن ظرفيت ديسک (تا دو برابر) ميشود. (چرا؟) ولي باعث پايين آمدن سرعت دسترسي (بين نيم تا يک ثانيه) نيز ميگردد. (چرا؟)

آدرس دهي ديسک نوري مثال: روش آدرس دهي (Addressing) چگونه است؟ روش سيلندر:شيار:سکتور نمي تواند جواب دهد! (چرا؟) ولي فاصله زماني يک سکتور نسبت به مبداء شيار (Root) قابل اندازه گيري ميباشد. روش آدرس دهي زماني چگونه است؟ هر ثانيه چرخش به 75 سکتور تقسيم ميشود. اندازه هر سکتورمعادل2 KB داده ميباشد. طول شيار هر ديسک معادل لااقل 60 دقيقه پيمايش ظرفيت دارد. ظرفيت ديسک = 75*60*60= 270000 سکتور= 540000 کيلو بايت ميگردد. هر سکتور بکمک شاخص "minute:second:sector" آدرس دهي ميشود. مثال: شاخص 16:22:34 آدرس 34مين سکتور در دقيقه 16 و ثانيه 22 ميباشد.

مقايسه ديسک نوري با ديسک مغناطيسي مزايا و معايب ديسک نوري درمقايسه با ديسک مغناطيسي چيست؟ CD-ROM Magnetic Disk روش سرعت خطي ثابت (CLV) سازمان دهي سکتور ها روي يک شيار مارپيچ طول خطي سکتور ها ثابت امکان استفاده از بالاترين ظرفيت فضاي سکتورها حسن: بالا بودن ظرفيت عيب: لزوم سرعت چرخشي متغير (آهسته تر به طرف لبه خارجي) روش سرعت زاويه اي ثابت (CAV) سازمان دهي سکتورها روي چندين شيار متحد المرکز طول زاويه اي سکتورها ثابت عدم استفاده از ظرفيت فضاي سکتور هاي نزديک به لبه خارجي حسن: استفاده از سرعت چرخشي ثابت عيب: عدم استفاده از ظرفيت ماکزيمم

ساختار يک سکتور ساختار يک سکتور چگونه است؟ امکان خطا چگونه است؟ هر سکتور حاوي داده هاي گوناگوني ميباشد: امکان خطا چگونه است؟ امکان خطا: يک بايت در 2ديسک. (چرا؟) امکان خطاي غير قابل تصحيح: يک بايت در 20000ديسک. (چرا؟) 12 bytes Synch. 4 bytes Sector ID 2048 bytes User data 4 bytes error detection 8 bytes null 276 bytes Error correction

دسترسي به يک سکتور دسترسي به يک سکتور (seek) چگونه انجام ميشود؟ آدرس يک سکتور بستگي به سرعت صحيح چرخش دارد! (چرا؟) ولي خود سرعت متغير است! (چرا؟) پس بايستي اطلاعات مربوط به آدرس نيزحتما خوانده شوند! و احتياج به روش سعي و خطا (trial and error) ميباشد، (چرا؟) که خود راندمان کار را پايين مي آورد. 12 bytes Synch. 4 bytes Sector ID 2048 bytes User data 4 bytes error detection 8 bytes null 276 bytes Error correction

نقاط ضعف يا قوت ديسک نوري نقاط ضعف يا قوت ديسک نوري چيست؟ زمان جستجو (seek) بسيار طولاني ميباشد: (چرا؟) نيم ثانيه (يا بيشتر) مثال: اگر زمان دسترسي به حافظه RAM 20 ثانيه باشد، زمان دسترسي به ديسک مغناطيسي برابربا 58 روز، و زمان دسترسي به CD-ROM برابربا دو سال و نيم خواهد بود.

نقاط ضعف يا قوت ديسک نوري نقاط ضعف يا قوت ديسک نوري چيست؟ سرعت انتقال داده (Data transmission rate) پايين است: ديسک نوري: KB/Sec 150 (چرا؟) ديسک مغناطيسي: KB/Sec 3000 ظرفيت ذخيره سازي داده بالا ميباشد: حدود 600 MB– MB 700 خاصيت Read Only بودن آن ميتوانست مفيد باشد: يک دستگاه مناسب بعنوان Publishing Medium (چرا؟)