Home > News content

Hongmeng OS Warehouse will be listed on GitHub's top mobile phone by the end of the year.

via:新智元     time:2019/8/13 12:36:28     readed:166

access:

Huawei Mall

Editor / Daming, Pengfei

Source: New Intelligence

Huawei officially launched the world's first micro-kernel full-distribution OS "Hong Meng", and announced at the press conference that Hongmeng OS will open source, directly hangs the appetite of developers.

Interestingly, the day of the conference happened to beHuawei Consumer Business CEO Yu Chengdong50th birthday. Yu Chengdong's "open source" two words just exported, netizens have begun to ask everywhere: Where can I download the source code of Hongmeng OS?

According to the English version of Global Times, Huawei will launch low-end intelligence equipped with Hongmeng system by the end of this year.Mobile phoneThe price is 2,000 yuan. According to Blue Whale TMT, informed sources of information, Huawei's internal smartphone shipment target this year is 270 million.

On the other hand, a repository called Awesome-HarmonyOS appeared quietly on GitHub. From the repository account information, you can see that the account was registered 4 days ago, and it was very active recently. The first repo was uploaded on the 9th. More than 30 commits have been submitted so far. In just 3 days, he won more than 3,000 stars and continued to occupy the GitHub Japan Championship.

This account only focuses on the harmonyos account. The harmonyos os was registered on July 14 and there is no activity.

Compare the names of the two accounts: harmonyos vs Awesome-HarmonyOS, and the updated content. Guess that the future may update all the related content of the Vision OS under the Awesome-HarmonyOS account, including publishing updates, source files, documents, etc. .

Although the account does not clearly indicate whether Huawei is officially registered, it seems that the most comprehensive and up-to-date information about Hongmeng is here.

Huawei started mobile phone testing this year, all OS-related security information,TutorialThe documentation should all be in preparation. At present, there is no official source code or ISO release from Hongmeng OS. If you download the so-called "Hongmeng OS" file from a third-party channel, remember to check the security of the file.

The warehouse allows us to have a very clear understanding of the Hongmeng OS roadmap. Next, students who want to experience Hongmeng OS are looking at this repo, pull at any time, pay close attention to the commit, and strive for the first time to experience.

However, Hongmeng's architecture reference comes from LiteOS, so you can also use LiteOS as a substitute to experience it.

Huawei LiteOS is a lightweight operating system based on real-time kernel developed by Huawei for the Internet of Things. The existing basic kernel supports task management, memory management, time management, communication mechanism, interrupt management, queue management, event management, timers, etc. Operating system basic components, better support for low-power scenarios, support for the tickless mechanism, and support for timer alignment.

At the same time, it provides end-cloud collaboration capabilities, integrates LwM2M, CoAP, mbedtls, and LwIP complete IoT interconnect protocol stacks, and provides AgentTiny modules based on LwM2M.

Let's take a look at what resources Awesome-HarmonyOS has now.

I. Introduction to Hongmeng System

HarmonyOS is the first full-distributed distributed OS based on microkernel. It is an operating system independently developed by Huawei. On August 9, 2019, Hongmeng System was officially released at the Huawei Developer Conference <HDC.2019>. Huawei will be the first to deploy on smart screens, car terminals, wearables and other smart terminals. More and more smart will be in the future. The device uses the open source Hongmeng OS.

Hongmeng OS realizes modular coupling, which can be flexibly deployed for different devices. Hongmeng OS has three layers of architecture. The first layer is the kernel, the second layer is the basic service, and the third layer is the program framework. Can be used on a variety of different devices such as large screens, PCs, and automobiles. It can also be used on mobile phones at any time, but for the time being, Huawei still prefers to use Android.

The underlying layer of Hongmeng OS consists of Hongmeng microkernel, Linux kernel and Lite OS, and will develop into a complete Hongmeng microkernel architecture in the future.

II. Hongmeng system development process

[2012] In 2012, Huawei began planning the “Hongmeng” operating system at Shanghai Jiaotong University.

[2019] Huawei has tested 1 million mobile phones equipped with self-developed "Hongmeng" operating system.

[2019.5.17] Huawei's operating system team developed its own "Hongmeng Operating System".

[2019.5.24] The registration announcement date is May 14, 2019, and the exclusive permission period is from May 14, 2019 to May 13, 2029.

[2019.8.9] Huawei officially released "Hongmeng Operating System" and announced that "Hongmeng Operating System" will be open source.

III. Four characteristics of Hongmeng system

The original design of Hongmeng OS is to meet the high standard connection requirements of the full scene smart experience. For this reason, Huawei has proposed four system solutions.

1. Distributed architecture is used for terminal OS for the first time to achieve seamless collaborative experience across terminals.

Hongmeng OS's "distributed OS architecture" and "distributed soft bus technology" through the public communication platform, distributed data management, distributed capability scheduling and virtual peripherals four capabilities, the corresponding distributed application of the underlying technology to achieve the difficulty Application developer shielding enables developers to focus on their own business logic, develop cross-terminal distributed applications like the same terminal, and enable end consumers to enjoy a powerful cross-terminal business collaboration capability for seamless use of various scenarios. .

2. Determine the delay engine and high-performance IPC technology to achieve a natural and smooth system

Hongmeng OS solves the problem of insufficient performance of existing systems by using two techniques: determining the delay engine and high-performance IPC. It is determined that the delay engine can allocate the task execution priority and time limit in the system before the task is executed, and the task resources with higher priority will be preferentially guaranteed to be scheduled, and the application response delay is reduced by 25.7%. The compact nature of the Hongmeng microkernel enables IPC (interprocess communication) performance to be greatly improved, and the process communication efficiency is increased by 5 times compared with the existing system.

3. Reinventing terminal device trusted security based on microkernel architecture

Hongmeng OS adopts a new micro-core design with stronger security features and low latency. The basic idea of ​​microkernel design is to simplify kernel functions, implement user services as much as possible outside the kernel, and add security protection to each other. The microkernel only provides the most basic services, such as multi-process scheduling and multi-process communication.

Hongmeng OS applies microkernel technology to the Trusted Execution Environment (TEE) to reshape trusted security through formal methods. The formal method is an effective means of verifying the correct and flawless system from the source by using mathematical methods. Traditional verification methods such as functional verification, simulated attacks, etc. can only be verified in selected limited scenarios, while formal methods can verify all software running paths through the data model. For the first time, Hongmeng OS used the formal method for terminal TEE, which significantly improved the security level. At the same time, because the code of the Hongmeng OS microkernel is only one thousandth of the Linux macro kernel, its attack probability is also greatly reduced.

4. Support one development and multi-end deployment through unified IDE to realize cross-terminal ecological sharing

Hongmeng OS develops IDE with multi-terminal, multi-language unified compilation, distributed architecture Kit provides screen layout control and automatic adaptation of interaction, supports control drag and drop, and visual programming for preview, so that developers can build multi-end efficiently based on the same project. Automatically run the App to achieve a true development, multi-end deployment, and a shared ecosystem across devices. Huawei's Ark compiler is the first to replace Androidvirtual machineA static compiler for schemas that allows developers to compile high-level languages ​​into machine code at once in a development environment. In addition, the Ark compiler will support multi-language unified compilation in the future, which can greatly improve development efficiency.

IV. Hongmeng System Information

1. Official resources

Official website point:

Https://developer.huawei.com/cn/

[Publishing information] (to be improved)

[Safety Information] (to be improved)

[Getting Started Guide] (to be improved)

[Official Document] (To be improved)

2. Download

[Mirror] (to be improved)

3. Architecture Reference

LiteOS:

https://github.com/Awesome-HarmonyOS/HarmonyOS/blob/master/doc/Huawei_LiteOS/README.md

[ABI] Application Binary Interface (to be improved)

[EABI] Embedded Application Binary Interface (to be improved)

4. Hardware driver

[Device compatibility] (to be improved)

[Standards & Protocols] (to be improved)

[Hareware Quality Specification] (to be improved)

[Driver Development Kit] (to be improved)

[Driver Samples] (to be improved)

[Debugging Tools] (to be improved)

[Security] (to be improved)

[5th ​​Gen Drivers and Firmware] (to be improved)

[Boot and UEFI] (to be improved)

[ACPI/SoC] (to be improved)

[Wi-Fi] (to be improved)

[USB] (to be improved)

[Printer] (to be improved)

5. Development tools

translater

[Ark] Hong Meng is an operating system compatible with Android applications. The ARK compiler can improve the fluency of Android system operation by 24%, response speed by 44%, and the fluency of third-party applications by up to 60%.

SDK

[SDK] (to be improved)

IDE

[LiteOS IDE]Huawei LiteOS Studio

https://static.huaweicloud.com/upload/files/sdk/LiteOS_IDE.zip

6. Related products

Huawei glory wisdom screen introduction:

https://github.com/Awesome-HarmonyOS/HarmonyOS/blob/master/products/honor_smart_screen.md

7. Video

[Video explanation] (to be improved)

[HDC 2019] Huawei Developers Conference - Cum Hongmen OS and EMUI 10 Conference Complete Video:

Https://www.bilibili.com/video/av62922095/

Glory Smart Screen Conference Complete Video:

Https://www.bilibili.com/video/av63069901

8. Frequently Asked Questions and Answers

https://github.com/Awesome-HarmonyOS/HarmonyOS/blob/master/community/questions.md

Screenshot of QA for everyone to forward friends circle

Repo address:

https://github.com/Awesome-HarmonyOS/HarmonyOS/

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments