Romantic and Practical Huawei’s Way of Self-study: Beginning with Feelings and Ending with Intelligence

  Huawei, Operating system

In the past week, news about Huawei has attracted a lot of attention and many people are also worried about Huawei.

First, on May 16, the US Department of Commerce’s Industry and Security Bureau (BIS) included Huawei and its 68 non-US subsidiaries in the “entity list” (this list is actually a “blacklist”. Once it is included in this list, it will lose trade opportunities in the United States and will be subject to technological blockade and international supply chain isolation).


Google, Microsoft and ARM have successively refused to provide services to Huawei.

Then on May 20, Google restricted Huawei’s access to its Android operating system and applications. Gmail, YouTube and Google Maps could not be used in Huawei’s mobile phones. Then Microsoft silently removed Huawei’s notebook computers from its online store.

Then, on May 23, ARM, a chip design company owned by Masayoshi Son, suspended all business dealings with Huawei and its chip company Haisi …

It’s really one wave after another. At this moment, Huawei is facing extremely severe challenges. In response, Huawei has always been calm and hard-headed: we are able to design our own products without fear of being out of stock.


In fact, as early as 2012, Ren Zhengfei had already prepared for a rainy day.

He told Chinese and foreign experts at the “Noah’s Ark Laboratory” expert forum in September 2012: “We are doing terminal operating system for strategic reasons. If they suddenly cut off our food, Android system will not be used for me, and Windows Phone 8 system will not be used for me, will we be silly? 」

Huawei, which is prepared for danger in times of peace, has been preparing for the worst in recent years, preparing for its departure from US supply.

In the past ten years, Huawei has invested nearly 400 billion yuan in research and development, of which about 40%, or 160 billion yuan, has been invested in chip research and development.


The Huawei Kernel OS Laboratory, which is responsible for operating system research and development, has long been established and belongs to the central software institute of Huawei 2012 Laboratory, which is on a par with Hesse.

Everyone has heard of Huawei’s high investment in research and development. Last year, Huawei invested 101.5 billion yuan in research and development, ranking fourth in the world.

After great investment and effort, it is probably time to harvest.

EMUI: based on Android, emotional upgrade

Friends who use Huawei mobile phones all know that their own system EMUI, which is an emotional operating system built and upgraded by Huawei based on Android 9.0, is called artificial intelligence operating system by Huawei. It was originally developed to provide users with a better experience.

EMUI was first used in Huawei P6 and is currently upgraded to EMUI 9.1

The reason for creating EMUI is that after Android phones enter the era of large screens (2013), even if top-level phones are configured and used for a long time, Caton and crash will become a common occurrence, and it is necessary to restart and clean up the memory continuously to use them reluctantly. This should be experienced by many Android users.

Therefore, Huawei CBG terminal research and development team decided to solve this problem and provide better user experience.

After analysis, they found that there are four reasons behind Caton and the crash:

1. Android system is loosely managed, and the application lacks rules for the use of resources;

2. Lack of coordination of system hardware resources;

3. App expands seriously, which drags down the running speed of the system;

4. Accumulative effect of storage fragmentation. Storage fragmentation is becoming more and more serious with the usage time. The speed of data reading and writing is obviously reduced, and system jamming is frequent and aggravating.

Aiming at the first three problems, the team takes artificial intelligence as the core, realizes the optimal allocation of application requirements and hardware resources through AI algorithm, and timely and reasonably arranges and recycles idle resources.

For the last problem of fragmentation of storage, the team decided to replace Android native file system with F2FS(Flash Friendly File System).

After replacing Android system with file system, Caton’s persistent ailment was effectively solved.

Because F2FS is specially designed for Flash, and it can make mobile phones avoid file fragments to a great extent. This replacement is equivalent to performing an “organ transplant” on Android. The replacement was successful and the Caton problem was finally solved.

This is not enough. In 2016, mobile phone games are gradually popularized in China, and Huawei mobile phone users’ complaints about the game experience have also increased dramatically.

In response, the team spent more than a year tackling the problem of mobile phone graphics processing performance, and in June 2018 released Glory Play with GPU Turbo (a hard and soft collaborative graphics acceleration technology that can improve the performance of mobile phone GPU). In the frame rate, jitter rate, frame drop, power consumption and other hard indicators of the duel, glory won other friendly mobile phones.

GPU Turbo has spent more than 5 years from project initiation to successful research and development.

This shows the industry the power of GPU Turbo: it solves the historical problem of Android’s low efficiency in graphics processing, and also enables mobile phones with lower configuration to play large games smoothly. It can be said that the success of this research and development has opened the history of 1000 yuan computer games without Caton.

The new version of Android has also gradually absorbed the achievements made by Huawei’s team. Therefore, Huawei has also made great contributions to the development and growth of Android. However, it is now “broken up” by Android and the plot is not very good.

Huawei’s Independent OS: Romantic and Practical

Facts have proved that it is always true to prepare for a rainy day.

Since 2012, Huawei has been planning its own operating system to replace Android. Today, this operating system, which has been used as a “spare tire”, is called “Hongmeng” and will become a full member.

Why is it named “Hongmeng”? Hongmeng refers to the ancient times in Chinese myths and legends. Legend has it that before the creation of the Kunlun Mountains, the world was a chaotic primordial qi. This natural primordial qi was called Hongmeng. Zhang Boduan, a real person from Ziyang in the Northern Song Dynasty, said in a poem: “In the early days of Hongmeng, the original was created asexual and the stubborn must be broken by Wukong. 」

According to Huawei’s trademark registration list, Huawei has almost registered all the mythical creatures in Shanhaijing

Therefore, taking “Hongmeng” as the name of Huawei OS shows Huawei’s feelings and romance as well as their determination to open up a new history.

In fact, it is not just “Hongmeng”. Huawei also has a series of product names from Chinese classical culture. Huawei has developed its own mobile phone chip “Kirin”, baseband chip “Ba Long”, server chip “Kunpeng”, artificial intelligence chip “Ascending” and recommendation system “Fuxi” … The combination of ancient myths and new technologies is probably Huawei’s ultimate romance.

Huawei understands romance and is more pragmatic. With tens of thousands of R&D engineers, Huawei OS, which took 7 years to develop, is finally coming out.

According to a message on Weibo, the operating system was developed by an operating system team led by professor Chen Haibo of Shanghai jiaotong university. currently, the candidate is called “hongmeng”, which is also called “Kirin OS” on the internet, and “Project Z” in Huawei.

One page of Shanghai Jiaotong University’s PPT report uploaded by Weibo

This independent research and development system has greatly optimized Linux system, is independent of Android and iOS, and has been used in the security part of Huawei’s mobile phone.

Yu Chengdong, CEO of Huawei’s consumer business, said that Huawei’s OS has integrated mobile phones, computers, tablets, televisions, cars and smart wear into one operating system and is compatible with all Android applications and all Web applications. Moreover, if Android application is recompiled on Huawei OS, the running performance will be improved by more than 60%.

However, there is still a long way to go before Huawei OS is completed. Moreover, after the development is completed, third-party personnel are still required to develop application programs for them. This is relatively easy at home, but it is still difficult abroad. In other words, even if many Google services are blocked, the operating system still has opportunities in China, but it is hard to say in western markets.

However, Ren Zhengfei did not reveal much about the operating system when he was interviewed by CCTV reporters.


He said it was not clear where the system was used inside Huawei. When asked whether the system will open up new sources and attract some developers, he replied: “It is not difficult to build an operating system technically, but it is ecology that is difficult. Building an ecology is a big thing. Take your time. 」

It is very difficult to develop an operating system from beginning to end. However, in Huawei, we have seen that after many years of accumulation of technology and talents, it is also possible to use the open source kernel to develop an independent operating system from the lowest level.

Although there are still many difficulties in ecological construction, we believe that these are all problems of time. We need to be patient and give time for domestic independent research and development of operating systems.

Huawei is not the first and will not be the last to develop its own operating system.

Other domestic self-developed operating systems

In fact, there are many operating system companies in China, such as neokylin, Yinhe Kirin, PwC, Zhongkefangde, Depth, etc. However, these operating systems are secondary development based on Linux. However, there are also relatively high components of independent research and development, such as Yuanxin with a background in the space department.

Yuanxin System debuted for the first time in Network Security Week in December 2014. It adopts a similar operating style to iOS, but it is parallel to Android and iOS. The whole hardware driver, system framework, security mechanism and application framework have their own source codes.

Yuanxin operating system is mainly aimed at industry customers with higher requirements for information security

At present, China does not have an operating system with its own kernel on smartphones, PCs and servers. However, some real-time operating systems are completely independently developed in China due to relatively small amount of code and little influence by ecological factors. Moreover, these real-time operating systems have cooperated with independent CPU and play their own roles in many fields.

History is always similar, waiting for good news from Huawei.

In fact, looking back on the history of ARM, we will find that history is always surprisingly similar.

At the beginning, ARM (then Acorn) also decided to do it and build its own chip in a fit of pique because it was rejected by Intel and failed to get the design data and samples of Intel 80286. Then came ARM, which cannot be replaced today.

Now ARM has joined the camp of rejecting Huawei. In this challenge, will Huawei repeat the history of ARM?

Huawei, which has always had a wolf culture, will always persevere.

It is very likely that Huawei, like the chivalrous people in the martial arts dramas, honed its kung fu after being ignored, and then went to Ren Woxing.