Follow+Star Public Number, don’t miss the wonderful content
WeChat Official Account | Embedded Column
Operating systems are a must-learn course in computer or software majors, but I believe that many concepts about operating systems were not understood by most people in college.
Today, let’s talk about the content and differences between RTOS and TSOS.
(The South China Electronics Fair in Munich will be held at the end of the month, everyone can register in advance)
RTOS: stands for Real Time Operating System, and I believe 99% of friends here know or have heard of the abbreviation RTOS.
Regarding operating systems, real-time operating systems, this article will not elaborate, focusing on 【real-time】.RTOS refers to an operating system that can receive and process external events or data at a sufficiently fast speed, and the results of its processing can control the production process or respond quickly to the processing system within a specified time, coordinating all real-time tasks to run in harmony.
For example: during the movement of a robot, suddenly, a person runs in front of it, and it is about to collide. At this moment, the system (sensor) detects the person and needs to immediately control the robot (motor) to brake. Imagine if it does not brake immediately, wouldn’t it lead to more serious consequences?
Therefore, RTOS provides timely responses and high reliability as its main features.
3) Various interrupt levels;
Many friends learn FreeRTOS, uCOS, RT-Thread, etc., which are all RTOS.
A blogger has summarized the common RTOS on the market, here is a link to share:
(The official account does not support external links, please copy the link to open it in the browser)
TSOS: stands for Time Sharing Operating System.
Time Sharing operating systems actually switch the system processor time and memory space to each thread’s program according to a certain time interval (what we call a time slice).
Time slice: is the division of the computer’s system resources (especially CPU time) into time segments, each time segment is called a time slice, and each user takes turns using the time slice.
Time sharing technology: divides the processor’s running time into very short time slices, and rotates the processor among various online jobs according to time slices.
Interactivity: Users interact with the system in a human-computer dialogue.
Multiplexing: Multiple users can simultaneously use the same CPU on their respective terminals.
Independence: Users can operate independently without interference or confusion.
Timeliness: Users can receive timely responses from the system in a short time.
Factors affecting response time: the number of terminals, the size of time slices, the volume of information exchanged, and the speed of information exchange.
Familiar operating systems like Windows, Linux, Unix, etc., belong to TSOS time-sharing operating systems.
Differences between RTOS and TSOS
RTOS and TSOS each have their own characteristics. RTOS is generally used in relatively low-speed MCUs, such as motion control, key input, and other actions that require real-time processing systems, generally requiring ms-level, or even us-level response.
TSOS is generally used in relatively high-speed CPUs, such as multi-user desktop systems, servers, and other systems.
Characteristics of Time Sharing Operating Systems:
Multiplexing, interactivity, independence, timeliness.
Characteristics of Real-Time Operating Systems:
Multiplexing, interactivity, independence, timeliness, reliability.
Some TSOS can be modified into RTOS, such as UCOS, which is a real-time system modified from the Linux kernel. Generally, normal operating systems may seem similar to users, but in multi-tasking and complex situations, users can directly experience the differences between real-time and non-real-time.
For more related content, please search on Baidu or Google.
(The South China Electronics Fair in Munich will be held at the end of the month, everyone can register in advance)
———— END ————

● Column “Embedded Tools”
● Column “Embedded Development”
● Column “Keil Tutorial”
● Selected Tutorials from the Embedded Column
Follow the official account and reply “Join Group” to join the technical exchange group according to the rules, reply “1024” to see more content.

Click “Read the Original” to see more shares.