In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces whether the Hongmeng system is based on linux development, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.
Hongmeng system is not based on linux, but based on microkernel. Hongmeng system is a distributed operating system based on the full scene of the micro kernel, while Linux is a single kernel structure, which absorbs the advantages of the micro kernel, avoids the defects in the design of the micro kernel, and allows everything to run in the kernel state, calling functions directly without message delivery.
The operating environment of this tutorial: Magic UI 4.0.0 system, HONOR V30 mobile phone.
Hongmeng system is not based on linux, but based on microkernel.
Hongmeng is a completely self-developed operating system by Huawei, known as Harmony in English. Huawei says it is not doing another Android or another Linux, but a next-generation operating system. This is a distributed operating system based on the full scene of the micro kernel. According to the official introduction, Hongmeng OS has four major technical features, including:
1. Distributed architecture is used in terminal OS for the first time, which can achieve seamless cooperation across terminals and satisfy the whole scenario.
2. The system is more smooth, the application response delay is reduced by 25.7%, and the efficiency of process communication is 5 times higher than that of the existing system.
3. Architecture-level trusted security.
4. One-time development, multi-terminal deployment and ecological sharing across terminals.
It turns out that we already know the true architecture of the Hongmeng operating system: with a microkernel, is it still based on Linux? How does it relate to Linux?
First of all, you need to know what a microkernel is. Does Linux use a microkernel? Now I would like to introduce to you.
1. The definition of microkernel
The microkernel structure consists of a very simple hardware abstraction layer and a set of key primitives or system calls, which include only a few parts necessary to build a system, such as thread management, address space and inter-process communication.
The goal of microkernel is to separate the implementation of system services from the basic operating rules of the system. For example, the input / output locking service of a process can be provided by a service component running outside the microkernel. These very modular user-mode servers are used to perform more advanced operations in the operating system, which makes the design of the most kernel part of the kernel easier. The failure of a service component does not cause the entire system to crash. all the kernel needs to do is restart the component without affecting the rest.
The microkernel puts many OS services into separate processes, such as file systems and device drivers, and processes invoke OS services through message passing. The microkernel structure must be multi-threaded. The first generation microkernel provides more services in the kernel, so it is called 'fat microkernel'. Its typical representative is MACH, which is not only the kernel of GNU HURD but also the kernel of APPLE SERVER OS. It can be said that the second generation of microkernel only provides the most basic OS services. The typical OS is QNX,QNX, which is well-known in the theoretical circle and is regarded as an advanced OS.
2. Operating system designed with micro-kernel
The microkernel is not a new concept, it has a long history. The following operating systems are designed based on the microkernel structure:
AIX
BeOS
L4 microkernel series
Mach for GNU Hurd and Mac OS X
Minix (reference: the most popular operating system in the world is neither Linux nor Windows, but MINIX)
MorphOS
QNX
RadiOS
VSTa
RT-Thread
PS: netizens have come to a conclusion about the micronucleus
Micro-kernel has failed, and among commercial operating systems (including open source, which can be used in mission critical), there is no micro-kernel market except for L4, which still has a small share. The first generation of micro-kernel solved a wrong problem in the wrong way. The second generation of micro-kernel just solved the wrong problem in the right way.
3. Explain to you whether Linux is single kernel or microkernel.
Linux is a single kernel structure, while absorbing the advantages of the micro-kernel: modular design, support for dynamic loading of kernel modules, Linux also avoids the defects in the design of the micro-kernel, so that everything runs in the kernel state, calling functions directly without message delivery.
As early as 1992, Linus had a famous debate with Tanenbaum about the choice of operating system kernel. Tanenbaum believes that the operating system designed with micro-kernel architecture is theoretically superior to macro-kernel architecture, and advocates that Linux should be redesigned with micro-kernel architecture. But Linus, the founder of Linux, fought back from a practical point of view, stating the reasons why Linux chose the macro kernel architecture for development, and comparing the performance differences between Minix and Linux.
Tanenbaum, a famous technical writer, educator and researcher, senior member of IEEE, senior member of ACM, academician of the Royal Dutch Academy of Arts and Sciences, 1994 ACM Karl V. Karlstrom Outstanding Education Award, 1997 ACM computer Science Education Outstanding contribution Award, 2002 Texty Outstanding textbook Award, 10th ACM operating system principles Symposium Outstanding Paper Award, was included in the "Who's Who in the World" character list.
The following is a simple architecture diagram of the macro kernel (left) and the microkernel (right):
From this, we come to a conclusion that Huawei HarmonyOS is a new operating system, it is not based on the Linux distribution, it is at the same level as MacOS, Windows, Linux, and Android is not an architecture, because Google's Android is based on the Linux kernel, but Google is also opening up a new operating system front, unlike Android, Google's new operating system is not based on the existing operating system, but a new OS. As a result, many people commented that China has entered its own operating system era, expressing strong expectations for Huawei Hongmeng's operating system.
Thank you for reading this article carefully. I hope the article "is Hongmeng system based on linux" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.