search
HomeCommon ProblemBasic types of os
Basic types of osJul 22, 2019 pm 02:30 PM
os

The functional characteristics of operating systems (os) can be divided into three basic types of operating systems: batch operating systems, time-sharing operating systems and real-time operating systems.

Basic types of os

Batch processing system: (User can use offline, batch processing, multi-program running) ( Recommended learning: PHP video tutorial)

Batch processing system, also known as batch processing operating system. Batch processing means that the user submits a batch of jobs to the operating system and then no longer intervenes, and the operating system controls them to run automatically. This kind of operating system that uses batch processing job technology is called a batch operating system. Batch processing operating systems are divided into single-channel batch processing systems and multi-channel batch processing systems. The batch operating system is not interactive. It is an operating system proposed to improve CPU utilization.

Single-channel batch processing system (single-channel, automatic, sequential): The system processes jobs in batches, but one job is always kept in the memory.

Multi-channel batch processing system (multi-channel, macro-parallel, micro-serial): allows multiple programs to enter the memory and run at the same time. That is, multiple programs are put into memory at the same time and allowed to run alternately in the CPU. They share various hardware and software resources in the system. When a program is suspended due to an I/O request, the CPU immediately switches to running another program. It does not use certain mechanisms to improve the bottleneck problem in a certain technical aspect. Instead, it makes each component of the system as "busy" as possible and spends very little time switching tasks, achieving parallel work between various components of the system, making Its overall efficiency per unit time is doubled.

Time-sharing system: (interactivity, multi-user simultaneity/multi-path, independence, timeliness)

Time-sharing system (time-sharing system ), the meaning of "time sharing": Time sharing refers to multiple users sharing the same computer. Multiple programs time-share hardware and software resources. A time-sharing operating system refers to connecting multiple terminals with monitors and keyboards to a host, allowing multiple users to use the computer interactively and share resources in the host through the host's terminal. A time-sharing operating system is a multi-user interactive operating system. Time-sharing operating systems are mainly divided into three categories: single-channel time-sharing operating systems, multi-channel time-sharing operating systems, and time-sharing operating systems with foreground and background. The time-sharing operating system divides the CPU time into several segments, called time slices. The operating system takes time slices as units and serves each end user in turn.

Real-time system: (timeliness, reliability)

A real-time system means that the correctness of the calculation depends not only on the logical correctness of the program, but also on the result The generated time, if the time constraints of the system are not met, a system error will occur.

The so-called "real-time" means "timely", and a real-time system means that the system can respond to requests for external events in a timely manner, complete the processing of the event within the specified time, and control all real-time tasks in a coordinated manner of operation.

The correctness of a real-time system (RTS) not only depends on the logical result of the system calculation, but also depends on the time when the result is generated. A real-time system is a system that can complete system functions and respond to external or internal, synchronous or asynchronous times within a specified or determined time. Therefore, a real-time system should have the ability to identify and process discrete events within a pre-defined time range; the system should be able to process and store the large amounts of data required to control the system.

Hard real-time system: If an action must occur absolutely at a specified moment (or a specified time range), it is called a hard real-time system. For example, the automatic flight control system of an aircraft must provide absolute guarantee that a specific action will be completed within a specified time.

Soft real-time system: If it can accept occasional violations of time regulations and does not cause any permanent damage, it is called a soft real-time system, such as aircraft reservation systems and bank management systems.

For more PHP related technical articles, please visit the PHP Graphic Tutorial column to learn!

The above is the detailed content of Basic types of os. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
米粉骂、小米留,澎湃OS不能没有金凡?米粉骂、小米留,澎湃OS不能没有金凡?Aug 07, 2024 pm 06:16 PM

「金凡离职」,估计是所有米粉近期最关心的事情,有人因此奔走相告,嘀咕着:“小米系统有救了”,有人则是笑着嘲讽:“换谁来都一样”。更有意思的地方在于,“金凡离职”的消息并非出自小米官方或是其他内部人士,而是因为有网友发现金凡的微博已经清空了所有内容,看起来就像是跑路后为了避嫌,清空社交账号一样。图源:微博这则消息很快就引起了大量数码博主和媒体的关注,其中甚至包括凤凰网这样的权威媒体,一时之间成为数码圈最新最热的「瓜」。虽然后续小米公关部的负责人王化出来辟谣,表示金凡并没有离职,而是正在“闭关”,为

python os库常用方法有哪些python os库常用方法有哪些May 03, 2023 am 09:55 AM

常用的函数和方法在Python中,os库提供了大量与操作系统相关的函数和方法。以下是一些常用的函数和方法及其详细介绍、案例和完整注释:getcwd()函数:获取当前工作目录。importos#获取当前工作目录current_dir=os.getcwd()print(current_dir)在上面的代码中,我们使用getcwd()函数获取了当前的工作目录,并将其分配给变量current_dir。该函数返回一个字符串,表示当前工作目录的路径。listdir()函数:列出指定目录下的所有文件和子目录i

os是什么意思啊os是什么意思啊Mar 25, 2021 pm 04:00 PM

os有多种意思:1、操作系统(operation system),管理计算机硬件与软件资源的程序;2、源代码开放(Open Source);3、开放式系统(Opening System);4、操作员站(Operator Station)。

如何解决 golang 中的 “undefined: os.MkdirAll” 错误?如何解决 golang 中的 “undefined: os.MkdirAll” 错误?Jun 25, 2023 pm 06:18 PM

在使用Go语言(golang)进行开发时,可能会遇到“undefined:os.MkdirAll”错误。这个错误是由于代码中调用了os包中的MkdirAll()函数但是却找不到该函数的定义,即MkdirAll()函数没有被正确地导入所致。在这篇文章中,我们将解释这个错误的原因以及如何解决它。理解“undefined:os.Mkdir

树莓派 OS 更新:升级至 Linux 6.6 LTS,改善对树莓派 5 支持树莓派 OS 更新:升级至 Linux 6.6 LTS,改善对树莓派 5 支持Mar 23, 2024 pm 03:51 PM

树莓派基金会(RaspberryPiFoundation)最近发布了最新的树莓派操作系统(RaspberryPiOS)更新。这次更新基于DebianGNU/Linux12“Bookworm”系列,内核已升级至Linux6.6LTS。此外,该系统还新增了对最新版本Chromium122和MozillaFirefox123网页浏览器的支持。IT之家简要介绍下本次更新内容如下:新版树莓派OS重点改善了电源系统,改善了对树莓派5SBC的支持,此外,它还在“屏幕配置”(ScreenConfiguratio

Python vs. OS 全解析:性能、稳定性、安全性大比拼Python vs. OS 全解析:性能、稳定性、安全性大比拼Feb 19, 2024 pm 12:09 PM

python和OS都是现代编程应用中常用的两大语言,它们都有各自的优势和劣势。Python是一种解释型语言,这意味着它不需要编译就可以运行。OS是一种编译型语言,这意味着它需要编译成机器码才能运行。性能在性能方面,OS比Python快。这是因为OS是编译型语言,而Python是解释型语言。编译型语言在执行之前会被翻译成机器码,而解释型语言在执行时会被逐行解释。因此,OS的执行速度比Python快。#Python代码deffactorial(n):ifn==0:return1else:return

Python的OS模块的使用方法及示例Python的OS模块的使用方法及示例Apr 22, 2023 pm 10:19 PM

Python的os模块是用于与操作系统进行交互的标准库之一,它提供了许多有用的函数和变量,以便处理文件和目录。下面是一些常见的os模块函数的用法:1.获取当前工作目录:importoscwd=os.getcwd()print(cwd)2.切换当前工作目录:importosos.chdir('/path/to/new/directory')3.列出目录中的所有文件和子目录:importosfiles=os.listdir('/path/to/dire

苹果不得不推翻高墙,iOS终于开放了?苹果不得不推翻高墙,iOS终于开放了?Jan 27, 2024 am 08:06 AM

早在2022年年初欧盟还在酝酿出台《数字市场法案》(DigitalMarketsAct,简称DMA)的时候,就明确要求「看门人」苹果在iOS系统上开放应用侧载,即允许iOS用户从AppStore之外的第三方应用商店下载app。争议可想而知地大,即便到今天,「iOS侧载」的支持者和反对者也在互相激辩。但不管怎么支持和反对,靴子都已经落地了。美国当地时间1月25日,苹果在官网更新了一篇博客,终于宣布了包括iOS开放应用侧载在内一系列面向欧盟市场的新政策,除了iOS,还将对Safari以及AppSto

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),