The concept of the operating system, functions and objectives

First, the operating system concept

Operating System Hierarchy

Operating System Definition:
1. be responsible for management and coordination of hardware, software and other computer resources work
2. upper application, to provide users with easy to use service
3. The operating system is system software, rather than hardware

4. computer system the most basic system software

Second, the operating system's functions and objectives

Additional knowledge: the process is the execution of a program. Before executing the program needs into memory, in order to be processed by the CPU.
1. As the system resource manager
1.1 management processor
1.2 Memory Management
1.3 File Management
1.4 Management Device
Goal: safe and efficient

2. provided as an interface between the user and the computer hardware functionality
2.1 Command Interface : allows users to directly use
Command-line interfaces: You say the system did an
exp: command-line examples (windows system) command-line interfaces ==Interactive Command Interface
Open the command interpreter, the input command. System a sentence of execution.
Offline Command Interface: I say a bunch of systems to do a bunch of
exp: Offline command interface instances (windows system) command interface == offlineBatch Command Interface
Use windows system search function C disk * .bat file, use Notepad to open a any, is the batch command. Somewhat similar in Linux shell scripts.

2.2 API : Allows the user through the program indirectly
by a group consisting of system calls (Interface ==System calls)
Exp: C: \ Windows \ System32 \ user32.dll programmer called in the program user32.dll (that is, the calling processSystem calls) To achieve the creation of window functions. Only indirectly by the user program.
Easy ignorant concept:
the system call = = generalized system call command instruction

2.3 the GUI : Graphical User Interface (Graphical User Interface)
The user can use the image of a graphical interface to operate without the need to memorize complex commands, parameter.
exp: In the windows operating system, delete files just need to file a "drag and drop" to the trash bin.
Goals: user-friendly

3. As the closest level hardware
functions and objectives 3.1: Required to achieve expansion of the hardware of the machine.
No software support computer called bare metal, bare metal install on the operating system that provides resource management functionality and user-friendly services, successful transformation can be bare metal stronger, more convenient to use the machine.
Usually covers software called machineExpansion machine, Also known asvirtual machine

Analogy:
Hardware: hammer, saw, wood, nails ......
OS: excellent craftsmen

Operating system to expand the hardware of the machine: by excellent craftsmen, these materials can be composed of simple houses, sailing, Pinocchio ...... Ordinary users can directly use the artisans to provide a house, sailing, Pinocchio, without caring about these things at the bottom how the work is organized

Note: The above notes are from the king that something then I am a bit summed up.

Published 50 original articles · won praise 5 · Views 1526

Guess you like

Origin blog.csdn.net/qq_42483691/article/details/104677783