当前位置:高等教育资讯网  >  中国高校课件下载中心  >  大学文库  >  浏览文档

《操作系统》课程教学资源(PPT课件)第三章 Operating-System Structures 操作系统结构

资源类别:文库,文档格式:PPT,文档页数:56,文件大小:879.5KB,团购合买
Module 3: Operating-System Structure操作系统结构 1、System Components系统部件 2、Operating System Services操作系统服务 3、 System Calls系统调用 4、System Programs系统程序 5、 System Structure系统结构 6、Virtual Machines虚拟机 7、System Design and Implementation系统设计和实现 8、System Generation系统生成
点击下载完整版文档(PPT)

Module 3: Operating-System Structures 操作系统结构 ° System Components系统部件 ° Operating System Services操作系统服务 ° System Calls系统调用 System Programs系统程序 System Structure系统结构 ● Virtual machines虚拟机 ° System Design and Implementation系统设计和实现 System Generation系统生成 Applied Operating System Concepts 3.1

Applied Operating System Concepts 3.1 Module 3: Operating-System Structures 操作系统结构 • System Components系统部件 • Operating System Services操作系统服务 • System Calls系统调用 • System Programs系统程序 • System Structure 系统结构 • Virtual Machines虚拟机 • System Design and Implementation系统设计和实现 • System Generation系统生成

Common System Components 系统部件 ° Process Management进程管理 Main Memory Management主存管理 ° Secondary- Storage Management二级储存器管理一 O System Management lO系统管理 File Management文件管理 ° Protection System保护系统 ° Networking网络处理 Command4 interpreter System命令解释器系统 Applied Operating System Concepts 3.2

Applied Operating System Concepts 3.2 Common System Components 系统部件 • Process Management 进程管理 • Main Memory Management主存管理 • Secondary-Storage Management 二级储存器管理 • I/O System Management I/O系统管理 • File Management 文件管理 • Protection System 保护系统 • Networking 网络处理 • Command-Interpreter System 命令解释器系统

Process Management 进程管理 A process is a program in execution. A process needs certain resources, including CPU time, memory, files, and l/o devices, to accomplish its task. 进程是正在执行的程序。为了完成其任务,进程需要一定的资源,包括cPU 时间,存储器,文件,以及0设备 The operating system is responsible for the following activities in connection with process management. 在同进程管理有关的活动中,操作系统负责下列事务: Process creation and deletion.进程创建和删除 process suspension and resumption.进程挂起和恢复 Provision of mechanisms for可提供以下有关机制: process synchronization进程同步 process communication进程通信 Applied Operating System Concepts 3.3

Applied Operating System Concepts 3.3 Process Management 进程管理 • A process is a program in execution. A process needs certain resources, including CPU time, memory, files, and I/O devices, to accomplish its task. 进程是正在执行的程序。为了完成其任务,进程需要一定的资源,包括CPU 时间,存储器,文件,以及I/O设备 • The operating system is responsible for the following activities in connection with process management. 在同进程管理有关的活动中,操作系统负责下列事务: – Process creation and deletion. 进程创建和删除 – process suspension and resumption. 进程挂起和恢复 – Provision of mechanisms for 可提供以下有关机制: process synchronization 进程同步 process communication 进程通信

Main-Memory Management 主存管理 Memory is a large array of words or bytes, each with its own address. It is a repository of quickly accessible data shared by the CPU and l/o devices 存储器是字或字节的一个大数组,每一字或字节有自己的地址。它是一个可被 cPU和O共享、可快速存取数据的存放地 Main memory is a volatile storage device. It loses its contents in the case of system failure主存储器是一个易失性存储设备。系统失败时,会丢失其内容 The operating system is responsible for the following activities in connections with memory management 在同存储管理有关的活动中,操作系统负责下列事务: whep track of which parts of memory are currently being used and by 保持记录存储器的哪一部分当前被使用以及被谁使用 Decide which processes to load when memory space becomes available当有可用存储空间时,决定调入哪个进程 Allocate and deallocate memory space as needed 需要时分配和收回存储空间 Applied Operating System Concepts 3.4

Applied Operating System Concepts 3.4 Main-Memory Management 主存管理 • Memory is a large array of words or bytes, each with its own address. It is a repository of quickly accessible data shared by the CPU and I/O devices. 存储器是字或字节的一个大数组,每一字或字节有自己的地址。它是一个可被 CPU和I/O 共享、可快速存取数据的存放地 • Main memory is a volatile storage device. It loses its contents in the case of system failure.主存储器是一个易失性存储设备。系统失败时,会丢失其内容 • The operating system is responsible for the following activities in connections with memory management: 在同存储管理有关的活动中,操作系统负责下列事务: – Keep track of which parts of memory are currently being used and by whom. 保持记录存储器的哪一部分当前被使用以及被谁使用 – Decide which processes to load when memory space becomes available.当有可用存储空间时,决定调入哪个进程 – Allocate and deallocate memory space as needed. 需要时分配和收回存储空间

Secondary-Storage Management 二级存储管理 Since main memory(primary storage)is volatile and too small to accommodate all data and programs permanently, the computer system must provide secondary storage to back up main memory. 由于主存(基本存储器)是易失性的,而且太小不足以永久保存所有的数据和程 序,计算机系统必须提供二级存储器备份主存 Most modern computer systems use disks as the principle on-line storage medium, for both programs and data 多数现代计算机系统采用磁盘作为程序和数据的基本联机存储介质 The operating system is responsible for the following activities in connection with disk management 在同磁盘管理有关的活动中,操作系统负责下列事务 Free space management空闲空间管理 Storage allocation存储器分配 Disk scheduling磁盘调度 Applied Operating System Concepts 3.5

Applied Operating System Concepts 3.5 Secondary-Storage Management 二级存储管理 • Since main memory (primary storage) is volatile and too small to accommodate all data and programs permanently, the computer system must provide secondary storage to back up main memory. 由于主存(基本存储器)是易失性的,而且太小不足以永久保存所有的数据和程 序,计算机系统必须提供二级存储器备份主存 • Most modern computer systems use disks as the principle on-line storage medium, for both programs and data. 多数现代计算机系统采用磁盘作为程序和数据的基本联机存储介质 • The operating system is responsible for the following activities in connection with disk management: 在同磁盘管理有关的活动中,操作系统负责下列事务: – Free space management 空闲空间管理 – Storage allocation 存储器分配 – Disk scheduling 磁盘调度

l0 System Management O系统管理 ° The lo system consists of:O系统包括 a buffer-caching system缓冲区-高速缓存系统 A general device- driver interface通用设备驱动器接口 Drivers for specific hardware devices用于特定硬件设备的驱动程序 Applied Operating System Concepts 3.6

Applied Operating System Concepts 3.6 I/O System Management I/O系统管理 • The I/O system consists of: I/O 系统包括 – A buffer-caching system 缓冲区-高速缓存系统 – A general device-driver interface 通用设备驱动器接口 – Drivers for specific hardware devices 用于特定硬件设备的驱动程序

File Management 文件管理 a file is a collection of related information defined by its creator. Commonly, files represent programs(both source and object forms) and data 文件是由其创建者定义的关联信息的一个收集器,通常文件表示程序(源程 序和目标程序)和数据 The operating system is responsible for the following activities in connections with file management: E 在同文件管理有关的活动中,操作系统负责下列事务 File creation and deletion.文件创建和删除 Directory creation and deletion.目录创建和删除 Support of primitives for manipulating files and directories. 支持操作文件和目录的原语 Mapping files onto secondary storage. 把文件映象到二级存储器 File backup on stable(nonvolatile) storage media 在稳定(非易失性)存储介质做文件副本 Applied Operating System Concepts 3.7

Applied Operating System Concepts 3.7 File Management 文件管理 • A file is a collection of related information defined by its creator. Commonly, files represent programs (both source and object forms) and data. 文件是由其创建者定义的关联信息的一个收集器,通常文件表示程序(源程 序和目标程序)和数据 • The operating system is responsible for the following activities in connections with file management: 在同文件管理有关的活动中,操作系统负责下列事务: – File creation and deletion. 文件创建和删除 – Directory creation and deletion. 目录创建和删除 – Support of primitives for manipulating files and directories. 支持操作文件和目录的原语 – Mapping files onto secondary storage. 把文件映象到二级存储器 – File backup on stable (nonvolatile) storage media. 在稳定(非易失性)存储介质做文件副本

Protection System 保护系统 e Protection refers to a mechanism for controlling access by programs, processes, or users to both system and user resources 保护是一种机制,控制程序、进程、或用户对系统和用户资源的 访问 ° The protection mechanism must保护机制必须: distinguish between authorized and unauthorized usage.区分授权和非授权使用 specify the controls to be imposed.确定要采用的控制 provide a means of enforcement.提供强制手段 Applied Operating System Concepts 3.8

Applied Operating System Concepts 3.8 Protection System 保护系统 • Protection refers to a mechanism for controlling access by programs, processes, or users to both system and user resources. 保护是一种机制,控制程序、进程、或用户对系统和用户资源的 访问 • The protection mechanism must 保护机制必须: – distinguish between authorized and unauthorized usage. 区分授权和非授权使用 – specify the controls to be imposed. 确定要采用的控制 – provide a means of enforcement. 提供强制手段

Networking(Distributed Systems) 网络处理(分布式系统) A distributed system is a collection processors that do not share memory or a clock. Each processor has its own local memory 分布式系统是一组不共享存储器或时钟的处理器集合,每个处理器有自己的 内存 The processors in the system are connected through a communication network系统中的处理器通过通信网络连接 A distributed system provides user access to various system resources分布式系统提供用户访问各种系统资源的手段 Access to a shared resource allows:对共享资源的访问可以实现 Computation speed-up加速运算 ncreased data availability提高数据利用性 Enhanced reliability增强可靠性 Applied Operating System Concepts 3.9

Applied Operating System Concepts 3.9 Networking (Distributed Systems) 网络处理(分布式系统) • A distributed system is a collection processors that do not share memory or a clock. Each processor has its own local memory. 分布式系统是一组不共享存储器或时钟的处理器集合,每个处理器有自己的 内存 • The processors in the system are connected through a communication network.系统中的处理器通过通信网络连接 • A distributed system provides user access to various system resources.分布式系统提供用户访问各种系统资源的手段 • Access to a shared resource allows:对共享资源的访问可以实现: – Computation speed-up 加速运算 – Increased data availability 提高数据利用性 – Enhanced reliability 增强可靠性

Command-Interpreter System 命令解释器系统 Many commands are given to the operating system by control statements which deal with 操作系统有许多命令,可以通过控制语句处理: process creation and management进程创建和管理 O handling处理MO secondary-storage management二级存储管理 main-memory management主存管理 fle- system access文件访问 protection保护 networking网络 Applied Operating System Concepts 3.10

Applied Operating System Concepts 3.10 Command-Interpreter System 命令解释器系统 • Many commands are given to the operating system by control statements which deal with: 操作系统有许多命令,可以通过控制语句处理: – process creation and management 进程创建和管理 – I/O handling 处理I/O – secondary-storage management 二级存储管理 – main-memory management 主存管理 – file-system access 文件访问 – protection 保护 – networking 网络

点击下载完整版文档(PPT)VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
共56页,可试读19页,点击继续阅读 ↓↓
相关文档

关于我们|帮助中心|下载说明|相关软件|意见反馈|联系我们

Copyright © 2008-现在 cucdc.com 高等教育资讯网 版权所有