Home Common Problem Basic types of os

Basic types of os

Jul 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 of this Website
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

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Mi fans criticize, Xiaomi stays, The Paper OS can't live without Jin Fan? Mi fans criticize, Xiaomi stays, The Paper OS can't live without Jin Fan? Aug 07, 2024 pm 06:16 PM

"Jin Fan's resignation" is probably what all rice fans are most concerned about recently. Some people rushed to tell each other, muttering: "Xiaomi system can be saved", while others laughed and mocked: "No matter who replaces him, it will be the same." What’s more interesting is that the news of “Jin Fan’s resignation” did not come from Xiaomi officials or other insiders, but because some netizens discovered that Jin Fan’s Weibo had been cleared of all content. It looked like he was running away to avoid suspicion. , the same as clearing social accounts. Source: Weibo This news quickly attracted the attention of a large number of digital bloggers and media, including even authoritative media such as Phoenix.com, and it suddenly became the latest and hottest "melon" in the digital circle. Although Wang Hua, the head of Xiaomi's public relations department, later refuted the rumors, saying that Jin Fan had not resigned, but was "retreating" to work for

What are the commonly used methods in python os library? What are the commonly used methods in python os library? May 03, 2023 am 09:55 AM

Commonly used functions and methods In Python, the os library provides a large number of operating system-related functions and methods. The following are some commonly used functions and methods and their detailed introduction, cases and complete comments: getcwd() function: Get the current working directory. importos#Get the current working directory current_dir=os.getcwd() print(current_dir) In the above code, we use the getcwd() function to obtain the current working directory and assign it to the variable current_dir. This function returns a string representing the path to the current working directory. listdir() function: List all files and subdirectories in the specified directory i

What does os mean? What does os mean? Mar 25, 2021 pm 04:00 PM

os has many meanings: 1. Operating system (operation system), a program that manages computer hardware and software resources; 2. Open Source; 3. Opening System; 4. Operator station ( Operator Station).

How to solve 'undefined: os.MkdirAll' error in golang? How to solve 'undefined: os.MkdirAll' error in golang? Jun 25, 2023 pm 06:18 PM

When developing using the Go language (golang), you may encounter the "undefined:os.MkdirAll" error. This error is due to the fact that the MkdirAll() function in the os package is called in the code but the definition of the function cannot be found, that is, the MkdirAll() function is not imported correctly. In this article, we will explain the cause of this error and how to fix it. Understanding "undefined:os.Mkdir

Use the os.Getpagesize function to get the size of the operating system memory page Use the os.Getpagesize function to get the size of the operating system memory page Jul 26, 2023 pm 01:18 PM

Use the os.Getpagesize function to obtain the size of the operating system's memory page. The memory in the operating system is divided into many memory pages, and each memory page has a certain size. When writing a program, it is sometimes necessary to obtain the size of the operating system's memory pages for proper memory allocation and management. In the Go language, you can use the Getpagesize function provided by the os package to obtain the size of the operating system memory page. The Getpagesize function is defined as follows: funcGetpagesize()

Raspberry Pi OS update: Upgraded to Linux 6.6 LTS, improved support for Raspberry Pi 5 Raspberry Pi OS update: Upgraded to Linux 6.6 LTS, improved support for Raspberry Pi 5 Mar 23, 2024 pm 03:51 PM

The Raspberry Pi Foundation recently released the latest update for the Raspberry Pi operating system (Raspberry PiOS). This update is based on the DebianGNU/Linux12 "Bookworm" series, and the kernel has been upgraded to Linux6.6LTS. In addition, the system has also added support for the latest versions of Chromium122 and Mozilla Firefox123 web browsers. IT House briefly introduces the content of this update as follows: The new version of Raspberry Pi OS focuses on improving the power system and improving support for Raspberry Pi 5SBC. In addition, it also improves the "Screen Configuration" (ScreenConfiguratio)

Python vs. OS full analysis: performance, stability, security competition Python vs. OS full analysis: performance, stability, security competition Feb 19, 2024 pm 12:09 PM

Python and OS are two commonly used languages ​​in modern programming applications, and they have their own advantages and disadvantages. Python is an interpreted language, which means it does not need to be compiled in order to run. OS is a compiled language, which means it needs to be compiled into machine code in order to run. Performance In terms of performance, OS is faster than Python. This is because OS is a compiled language and Python is an interpreted language. Compiled languages ​​are translated into machine code before execution, while interpreted languages ​​are interpreted line by line during execution. Therefore, OS executes faster than Python. #Python code deffactorial(n):ifn==0:return1else:return

The release of Hongmeng Galaxy Edition marks the arrival of the pure-blood Hongmeng era, and is not available on Android devices The release of Hongmeng Galaxy Edition marks the arrival of the pure-blood Hongmeng era, and is not available on Android devices Jan 18, 2024 pm 10:21 PM

On January 18, the launch ceremony of Hongmeng Ecosystem Qianfan was held in Shenzhen, and HarmonyOSNEXT, which has been brewing for a long time, finally officially debuted. Since Yu Chengdong announced HarmonyOSNEXT in September 2023, the "pure-blood" version of Hongmeng system has attracted much attention. At this event, Huawei announced that the developer preview of HarmonyOSNEXT Hongmeng Galaxy Edition has been opened to developers for application, and the Harmony ecosystem has entered a new stage. Hongmeng Galaxy Edition is here, what new features does it have? In 2019, Hongmeng system was released and gradually updated to HarmonyOS4.0 version. However, these versions of Hongmeng remain compatible with Android to ensure users’ daily use experience. However, as it continues to develop, Hongmeng has gradually formed