Yu Chengdong, CEO of Huawei's consumer business, released the Hongmeng operating system. The Chinese name comes from the Classic of Mountains and Seas, and the English name is HarmonyOS, not the previously legendary OakOS.

2024/05/0823:33:35 hotcomm 1204

html On August 9, a day of excitement in Songshan Lake, Dongguan, Huawei Consumer Business CEO Yu Chengdong released the Hongmeng operating system. The Chinese name comes from the Classic of Mountains and Seas, and the English name is HArmonyOS, which is not the legendary OakOS before.

Yu Chengdong, CEO of Huawei's consumer business, released the Hongmeng operating system. The Chinese name comes from the Classic of Mountains and Seas, and the English name is HarmonyOS, not the previously legendary OakOS. - DayDayNews

Yu Chengdong said when introducing the original intention of the development of Hongmeng OS: "With the advent of the era of all-scenario intelligence, Huawei believes that it is necessary to further improve the cross-platform capabilities of the operating system, including supporting all scenarios, the ability to span multiple devices and platforms, and the ability to cope with low The ability to overcome latency and high security challenges gradually formed the prototype of Hongmeng OS. "The most exciting news of

is that Hongmeng OS is open source, and the Ark compiler is also open source, and the entire industry will participate. , develop together. The

operating system has become a hot topic since the Android ban on the and ZTE incidents in April last year.

veteran Dai Hui interviewed academician Ni Guangnan and academician. He was the first in the entire network to summarize various categories of operating systems in China.

Yu Chengdong, CEO of Huawei's consumer business, released the Hongmeng operating system. The Chinese name comes from the Classic of Mountains and Seas, and the English name is HarmonyOS, not the previously legendary OakOS. - DayDayNews

In the past few years, China's operating systems have actually made great progress. The gap with the world is not large in terms of server and cloud OS, embedded OS (which is widely used in communication equipment), Internet of Things and Internet of Vehicles OS. , PC OS has also made great progress.

The ecological gap between smartphone operating systems is indeed huge. After the discussion between Lao Dai and Academician Ni, they mentioned an idea in the article: Since the APPs used in domestic mobile phones are basically domestically produced, the domestic mobile phone OS + WeChat applet can be used as a backup for Android in China.

is unfortunately on target! Thirteen months later, on May 15 this year, Huawei was included in the so-called "entity list", and the and Google operating systems were banned from Huawei. The topic about Huawei Hongmeng OS and Ark compiler suddenly became hot.

Lao Dai spoke at the Soochow Securities Fire Umbrella Gaozhang Strategy Conference, and China Benchmark invited Lao Dai to give lectures at GPHL. Friends all said excitedly: This is a once-in-a-lifetime opportunity to master China's smartphone OS.

The smartphone operating system is the commanding heights of information technology. Google Out of corporate interests, they strive to continue to cooperate with Huawei on Android and Fuchsia. However, GMS authority has not been released, and the sales of Huawei mobile phones overseas will also be under pressure. . We have to wait for time to tell how Huawei and and Google will cooperate in the future.

was so popular that I came to sort out Huawei's OS development history. I don’t know if I’m not, I’m shocked if I’m not.

The origin of Huawei's self-developed OS can be traced back to 28 years ago, and it has integrated all three major BGs and two major BUs of Huawei's business!

Chapter 1: Unforgettable 1991

In 1991, on the Nanshan Peninsula on the coast of the South China Sea, there was a century-old story.

In 1991, Xu Wenwei (Big Xu) led the development of Huawei's first chip - I forgot to name it, so I called it ASIC.

In 1991, Huawei explored entering the telecom operator market. In the process of striving for entry (developing JK1000), it also began to develop its own operating system. Xu Wenwei was also the person in charge of R&D!

couldn't help but curiously asked: Why is it always you! (Wrong translation of How old are you!) The answer is: There is a "heart" (chip) and a "soul" (operating system)!

About that time, there was a big move in distant Northern Europe.

Finland is the place where there is Aurora and Nokia .

In 1991, Finland made the world's first GSM phone call. China's mobile communications industry is now the strongest in the world, with six of the top ten mobile phone brands in China. Both base stations and mobile phones have developed from GSM. This topic will not be discussed in this article.

In this year, Linus Torvalds, a 21-year-old computer science student at the University of Helsinki in Finland, wrote the disk driver and file system - which became the prototype of the first kernel of Linux, which can be used in Runs on computers using Intel386 series CPU.

Linus disclosed the Linux kernel through the nascent Internet (BBS) using an open source model. With the efforts of countless people around the world, the Linux operating system has deservedly become the greatest open source software in history.

At that time, developers around the world were in urgent need of an operating system that was free, open, and could be modified as needed. At that time, both Windows and Unix were charged and closed source.

Linux was born at the right time. Rather than saying that "man can conquer nature", it is better to say that "the times create heroes." "A single spark can start a prairie fire", "A fire can start a prairie fire", "A strong fire can make a raging storm", "When the time comes, nothing can stop it", "Right time, right person".

Today, the Linux operating system is everywhere, whether it is embedded, PC, server or cloud, and is compatible with various forms of CPUs, including Intel's x86 architecture , ARM, MIPS, Power, Alpha (Shenwei) and so on.

Linus is known as the "Father of Linux". This title is well deserved! He has a famous saying: Talk is cheap. Show me the code!

Yu Chengdong, CEO of Huawei's consumer business, released the Hongmeng operating system. The Chinese name comes from the Classic of Mountains and Seas, and the English name is HarmonyOS, not the previously legendary OakOS. - DayDayNews

In the following 28 years, Huawei and Linux had many intersections.

Chapter 2: The Peacock Flying Southeast

Huawei today is a model for the collective struggle of hundreds of thousands of people. But when you start a business, there are only a few people, so personal abilities are very important. After working at

for three years, Xu Wenwei returned to

Southeast University for further studies between 1987 and 1990. He studied as a graduate student majoring in automatic control and studied under Professor Yi Chengbin. "A schoolbag, two bowls, classroom, dormitory, library." Professor

Yi has a great influence on Nanjing's industrial circles and has many horizontal cooperation projects. His disciple Da Xu is responsible for doing specific work. On the one hand, he designs the microcontroller hardware, and on the other hand, he writes embedded software using machine language and assembly language.

Da Xu’s life is the “operating system”. Study and practice ("Multi-tasking system, parallel computing"), get an exceptional monthly allowance of dozens of yuan, and go to the Lin Yan restaurant with a beautiful proprietress on Chengxian Street ("Memory Management") ), converting duck blood fans into burning passion and motivation ("Compilation System"), cold beer invades the body's internal organs and ileum ("Input and Output I/O"; "File Structure"), drinking too much In order to talk some Alibaba nonsense to the moon ("high-level language"), I went back to the Shatangyuan dormitory and lay down among the books ("database").

In the era of planned economy, Nanjing was China's most important automatic control and power electronics research and development center. Many ministries and commissions had research institutes and enterprises here. I remember that at that time, the automation department of one of my subordinates gave each person a year-end bonus of more than 10,000 yuan, which made everyone covet it! There are now many power electronics companies represented by NARI, Nanzi, and Dongda Jinzhi.

Southeast University is the authentic successor to the engineering disciplines of Central University during the Republic of China.

has a business card called "Wuwen Xidong". During the Anti-Japanese War, the Central University went up the river from east to west to accompany the capital of Chongqing, Shapingba , and Chongqing University shared the same campus, but it was a real "no question about the west and the east". In 1924, before going to Tsinghua University, the great writer Rabindranath Tagore first came to Nanjing and gave a speech in the old gymnasium that later became a dance hall. Xu Zhimo waved his sleeves and came to the stage to translate: "I took a ship (from Shanghai) and went up the Yangtze River... As the ship approached Jinling, the morning light was dim, the birds were singing among the trees, and countless sailing boats were sailing straight with the wind, crossing the middle stream steadily. , and feel that this bright and vast phenomenon will be the proportion of results achieved by sacrifice and struggle in the future human beings after going through a state of chaos."

Yu Chengdong, CEO of Huawei's consumer business, released the Hongmeng operating system. The Chinese name comes from the Classic of Mountains and Seas, and the English name is HarmonyOS, not the previously legendary OakOS. - DayDayNews

Illustration: Tagore with Xu Zhimo (first from the right), Lin Huiyin (second from the right) and others during his visit to China. Take a group photo

Let’s talk less. Xu's heart already belongs to someone, and he doesn't want to worry about singing and dancing. When he has time, he goes to the used electronics market in Confucius Temple. There are piles of used circuit boards and electronic components from abroad, sold by the pound. He can find valuable chips and components, a "treasure hunt game." Use your tongue when choosing a triode. First, use the two test leads of the multimeter to touch the emitter and collector respectively to check the leakage current. Then lick the collector and base with the tip of your tongue to see the change of the pointer to see the magnification factor.

Da Xu later wrote an instruction book on "How to Use a Multimeter and Oscilloscope to Debug a Program-Controlled Switch". I wonder if I also need to use my tongue?

There is also an Honeywell minicomputer imported in 1980. The paper tape is punched with holes marked "0" or "1" to input programs and data. The CPU can directly execute it. This is The lowest level machine language.

Well-known foreign company Yilida came to Nanjing to recruit. In early 1990, top student Xu Wenwei and his family came to Shenzhen, a "cultural desert", lived in a farmer's house, and worked in the high-tech department of the Hong Kong company Yilida to develop high-speed laser printers. At about the same time, Ni Guangnan also developed a laser printer and made chips at Lenovo.

In 1990, the genius Huang Zhan wrote a song, which is sung to this day, and it just describes that era: A laugh spread across the sea, the tide surges across the Taiwan Strait, ups and downs follow the waves, just remember the present. The sky laughs, and the world is flooded with tides. God knows who will lose and who will win.

Chapter 3: In 1992, Huawei developed the first operating system

In the Shenyi Industrial Building next door to Yilida, Huawei was making small switches (commonly known as small switchboards) for enterprise users, and had the underlying software and hardware design capabilities In urgent need of reinforcements, Da Xu joined this startup full of revolutionary pride and tried his best to pry people everywhere. Also coming from Yilida was his friend, Nie Jianlin, a software genius from the 1985 Junior Class of the University of Science and Technology of China. Huawei got its first pot of gold on the small switchboard developed by

A Bao ( Zheng Bao used ). However, the good times did not last long, and this field gradually became a red ocean, with hundreds of similar companies appearing in the country. What China is best at is: bad pricing, so no one makes any money.

Yu Chengdong, CEO of Huawei's consumer business, released the Hongmeng operating system. The Chinese name comes from the Classic of Mountains and Seas, and the English name is HarmonyOS, not the previously legendary OakOS. - DayDayNews

Caption: Visiting the United States in 1994, from left Liu Qiwu, Li Yinan, Yang Hanchao, Xu Wenwei, Zheng Baoyong, Li Jian, Mao Shengjiang

Program-controlled switches used in the postal and telecommunications system, seven countries and eight systems, high profits, and a blue ocean.

Domestic manufacturers with core R&D capabilities are also working hard to enter. Li Xiangting, Lao Dai's old leader, graduated from the Computer Department of the People's Liberation Army Information Engineering College. He said that Wu Jiangxing, a young teacher in the department, "didn't know the heights and heights of the world" and said wildly: "Isn't a program-controlled switch just a computer + a traditional switch?" "Just like Li Shufu's famous saying: "Isn't a car just four wheels and two rows of sofas? "

Wu Jiangxing took 3 million yuan from the Ministry of Posts and Telecommunications and started working, and he really made a giant dragon! Hou Jinlong of Huawei had installed and maintained the giant dragon machine in his early years. Datang, who was backgrounded in the Tenth Institute of the Ministry of Posts and Telecommunications, also made it , Ni Guangnan also led Lenovo to develop

Shenzhen is the forefront of reform and opening up, and several companies are also working hard. ZTE is a native of Nanjing, and found Nanjing Post and Telecommunications. Professors Chen Xisheng and Mi Zhengkun of the college are leaders in program-controlled switching technology in China. They sent three young teachers from the teaching and research office to Dameisha to develop 500 program-controlled switches for ZTE Semiconductor. The two teachers went back because their families were in Nanjing, and the bachelor Yin Yimin stayed. Changhong's technology originated from Changchun University of Posts and Telecommunications (now merged into Jilin University ), which is also famous.

Huawei is very powerful now, but at that time, Huawei was just a "grassroots team". Ren Zhengfei, who had studied HVAC and worked in construction and raised pigs, could find developers who did not graduate from the program-controlled switching major system. Most of them were graduates. A recent graduate of the thatched cottage, the student flavor has not yet dissipated! Guo Ping hired Zheng Bao to work for Huawei. A Bao led everyone to fight with the gangsters on the street. He was born in rural Fujian and has a strong body.

As far as Lao Dai knew, the first graduate of the communications major to join was Wang Cheng from Beijing University of Posts and Telecommunications. When the boss looked at his resume: What? I want it from Beijing University of Posts and Telecommunications. So Wang Cheng carried his bag and asked for it. Alumni helped, and later he served as the president of the domestic marketing department, and Lao Dai worked as his salesman. To enter the post and telecommunications system,

must first have a production license issued by the state.When Huawei is about to start, there is no target for 500 units, and there is only a chance for 1,000 units. Time is still very tight. After passing this village, there is no such store.

In order to prevent vicious competition from rushing in, domestic licenses are often used to restrict. For example, when GSM and CDMA mobile phone licenses were issued in 1998, Huawei did not apply for them because of its worries. As a result, it was unable to enter the mobile phone industry for many years. Later satellite set-top boxes and payment licenses all had the same story.

In the winter of 1991, Huawei established a project team with only a few people (about 10 people) to try to make equipment for operators. Since then, Huawei has embarked on the road of no return, dancing with the "wolves" of all countries in the world. This is a This is a tragic process of "if you don't succeed, you will become a benevolent person".

The title track from Matthew Lane's melancholic album Wolf, written in Canada's Yukon Territory, fits the mood perfectly: You would be a sweet surrender, I must go the other way, and my train will carry me onward . Please let me go gently, I must go far away, my train will take me to the end of the world.

Time is very tight. If the gate is not closed at the end of 1992, there will be no "ticket" to enter the postal and telecommunications system, and there will be no Huawei today. Boss Ren may really go to "raise pigs", and maybe he can create a "Let me do what I want" native pig. Whether the

switching network is empty or digital has no impact on passing the Ministry of Posts and Telecommunications's appraisal. It is difficult to achieve more than 500 doors with simulated air separation technology. Daxu organized and developed two 500-door simulated air separation modules that were combined to create 1,000 doors. Some articles on the

network believe that the JK1000 did not use a digital screen board as a mistake and spread rumors. This view is wrong. Back in 1991-92, Huawei didn't have many people and guns, and it didn't even have access to Telecom. The primary goal was to grab "tickets," and what it wanted to solve was naturally key needs. For

to enter the postal and telecommunications system, the core is to achieve "program control" at the telecom operator level, that is, the host system, which can effectively manage, bill, and promote new services. With extremely limited manpower and material resources, what technical path can the core host system adopt to achieve the goal the fastest? There were 4 options at the time.

1 and Huawei's previous HJD48 user computer were based on microcontroller and assembly control methods. Although it is also boasted as "program-controlled" to the outside world, it mainly has the function of making phone calls. However, the Ministry of Posts and Telecommunications has many requirements for network access, which cannot be met using assembly language on traditional microcontrollers. (Tan Yunfei: An old Huawei told me that the CPU of HJD48 is Z80, and the software also uses Z80 assembly language)

2, a CPU chip using RISC (reduced instruction), such as the very popular Motorola chip at the time. It is difficult to write software in a high-level language (such as C), and writing operating systems and promoting new services will also be difficult.

3 uses a 386-based PC motherboard available on the market (most familiar to computer enthusiasts), which cannot meet the reliability requirements of the Ministry of Posts and Telecommunications, and the various interfaces do not match, and there is no way to do hot backup.

4, independently design a high-reliability main control board based on the 386 chip (not using the general PC motherboard on the market), support hot backup, develop the BIOS by yourself, and use a high-level language (C language ) + assembly hybrid programming to write the host software .

JK1000 finally decided to adopt method 4. This newly developed main control board is also named MPU (main processing unit).

Da Xu is a hardware developer and assembly master, and Nie Jianlin is a C language master. Together, they forged the JK1000 host software system. A hybrid programming method of C language + assembly is adopted.

Yu Chengdong, CEO of Huawei's consumer business, released the Hongmeng operating system. The Chinese name comes from the Classic of Mountains and Seas, and the English name is HarmonyOS, not the previously legendary OakOS. - DayDayNews

Note: The core of the host software structure of CC08 is the operating system

Yu Chengdong, CEO of Huawei's consumer business, released the Hongmeng operating system. The Chinese name comes from the Classic of Mountains and Seas, and the English name is HarmonyOS, not the previously legendary OakOS. - DayDayNews

Note: The functions of each part of the CC08 host software

JK1000 The core of the host software system is an original embedded operating system based on the command line, all from scratch Developed sentence by sentence. It initially possesses the basic characteristics of an operating system, such as the management and allocation of all software and hardware resources, task scheduling, control, and coordination of concurrent activities.

software testing is a difficult problem.Initially, the host software system hung up at every turn (stopped running or fell into an infinite loop). In order to check where the problem lay, a lot of effort was spent on designing many counters in the program and storing them in a specific location in the memory. . After the computer crashes, check the counter value to analyze and determine where the problem is. Has anyone changed the health value directly in the memory when playing the game?

Ren Zhengfei often comes to deliver bread and milk to everyone at nine o'clock in the evening. He brags to everyone that "I will make money on the balcony in the future" and is a very good "political commissar" and "instructor".

More than a dozen amateurs, in just a few months, developed the JK1000 (post and telecommunications) office program-controlled switch in the second half of 1992. Huawei really didn't have much money at the time, and Ren Zhengfei himself just rented a small house to live in.

This was also the first time that Da Xu led the team to fight, completing a big "turn" from working hard to looking up at the road. Among the JK1000 R&D personnel, Lao Dai also knew Teng Yunfang (formerly the representative of Singapore ) and He Zhiqiang (former director of the Telecommunications System Department and head of HiSilicon sales).

In the second half of 1992, a town in Haining, Zhejiang Province opened a JK1000 office switch. Da Xu, Nie Jianlin and their R&D colleagues modified the software, compiled, loaded, and ran it on site. This was all the old-fashioned way.

The director of Zhejiang Haining Bureau is very nice. Every fifteenth day of the lunar calendar, he takes all Huawei people out to watch the Qiantang tide. Everyone's hearts were filled with excitement and thoughts.

Just like that, the JK1000 office program-controlled switch rushed at the last moment, passed the appraisal of the Ministry of Posts and Telecommunications, got the network access certificate, and can be sold! It can be said that this is a "golden key". God bless Huawei, since then Huawei has embarked on a journey of cheating.

Let us take a moment to praise the C language that was born at Bell Labs. C language is a great high-level language, which greatly reduces the pain of programmers writing assembly. It can also create a large number of software function modules and make flexible calls.

writes software in C language, generates assembly code through the C language compiler, and then converts it into binary execution code through the assembler. Programmers need to understand the connection between assembly code and its source C code, because the compiler hides too many details such as: program counter, registers (integers, condition codes, floating point), etc. This is Da Xu's strength.

laid the foundation for the compiler here. Today, Huawei already has the Ark compiler, which can make mobile phones run faster. On August 9, Huawei announced that Ark will be open sourced to the outside world, benefiting the entire industry.

Lao Dai’s C language is Tsinghua University student Lu Li Qimeng. He later also went to Elida and is now the king of mini walkie-talkies in China. However, Lao Dai was even more talkative, so he neglected his martial arts. The host system of

JK1000 becomes slower and slower with use (the same is true for early Android). Da Xu set it up at 2 o'clock in the middle of the night every day. When no one called, the system automatically restarted, released all resources, and started all over again. It is also known as "the cock crows in the middle of the night". After the successful start of

, the stress was relieved and Da Xu was admitted to the hospital. Only then did I have time to quietly read books on communication principles, and I sighed: It turns out that communication is such a thing, and I have been developing it as an automatic control device! Huawei's style is "get married first, fall in love later, and grow up in a hail of bullets."

Huawei sells JK1000 with great fanfare in post and telecommunications offices across the country. At that time, Western companies were very good and expensive. There are more than 2,000 counties in the country, and the post and telecommunications office in each county has decision-making power.

Going deep into the front line and surrounding cities from rural areas is Huawei's development path. It opened offices in major provincial capitals and initially established a nationwide market system, but it was also very rudimentary. Yao Fuhai arrived in Taiyuan, Shanxi Province, found a hotel to stay in, and called the company to tell the company which hotel and room he was staying in. The Taiyuan office was established in this way!

Enterprises in Shenzhen have rich and colorful sales techniques. Ten thousand words are omitted here.

JK1000 sold nearly two hundred units in more than a year, making a lot of quick money.Many articles on the

Internet said that because JK1000 is an air separation system, Huawei was forced to start the development of the digital system CC08 at the same time, which almost caused the company to collapse and Ren Zhengfei almost "jumped off the building". The real situation of

is exactly the opposite. If the JK1000 card did not obtain the "admission ticket" at the right time, Huawei would not be able to enter the door of telecom operators. Without the nearly 200 sets of JK1000 sold, Huawei would not be able to afford the cost of developing digital phones. More importantly, it would not have the confidence to really engage in telecommunications work. The level of

is not good, please provide services. Yu Weihua, president of the Huayou Club, joined Huawei in 1994 and initially went to Northeast China to provide services. Montenegro, which had a famous defense war, had a JK1000 in a town that was struck by lightning and emitted smoke. The staff who rescued it heroically were fainted by the smoke. He rushed to the scene and found it difficult to repair. Director Su Wei gave instructions: Don’t leave any “evidence of guilt” and issue new machines immediately! Immediately find a trolley to pull them all away, and "dig a hole deep to bury them"! The new phone has arrived. Lightning protection and flame retardancy are process issues that have nothing to do with communication technology. The lightning protection and grounding of township computer rooms back then were really not good. Huawei has gained a foothold and customer understanding with its rapid response that goes deep into Heishanbaishui. Lightning protection is a common problem, and it took Huawei some years to finally solve it with difficulty.

Chapter 4: Moderate innovation, steady progress, and move forward step by step

When success in the development of JK1000 was in sight, Huawei started the development of the digital machine CC08 A-type machine. The host system completely inherits the technical route of JK1000, and the hardware focuses on solving the technical problems of digital network boards. As the person in charge of the device room, Daxu was also at the forefront.

In 1993, after the successful development of the A-type machine, the development of the Wanmen machine was continued (the C-type machine and the subsequent finalized B-type machine). The main technical problems solved this time are two. One is to improve the integration and capacity of the digital network board by designing its own chips, and the other is to realize the connection between multiple modules through optical modules.

can see that Huawei's successful experience is to control the innovation workload of each product development within a certain proportion to ensure that each product can be commercially sold. Take it step by step, work steadily, and advance layer by layer, rather than expecting to become a fat man in one bite.

Later, Ren Zhengfei said in his speech "Entrepreneurship and innovation must focus on improving the core competitiveness of enterprises": We proposed that in the development of new products, we should try to reference the mature technologies already owned by the company, as well as technologies that can be purchased from the society. , the utilization rate is lower than 70%, and the new development volume is higher than 30%. Not only is it not called innovation, but it is waste. It will only increase development costs and increase product instability.

As we get older, we may not always remember the recent events, but the long-dusted past events come to mind from time to time. In the early years of

, the host software was a big package. Every time it was upgraded as a whole, it was reset and restarted. Unlike Western companies, errors can be corrected through patching. In order to solve online problems, sometimes several versions will be published in an afternoon, such as the three o'clock version, the five o'clock version, and the seven o'clock version.

In order to achieve a quick reset and restart of the entire system, Daxu used FLASH flash memory technology. First, load the new version of the host software on the flash memory of the backup MPU, restart the MPU, and then switch between the active and standby MPUs. The whole process takes one second. The system was reset successfully, which can be called "light speed"! Lao Dai often boasted about this technology when he later sold mobile GSM.

Lao Dai's classmate Zou Mengrui graduated in 1997 and went to ZTE Communications to develop program-controlled switch cores. ZTE suddenly allocated a handful of stocks before it went public. On November 11, 1997, and ZTE were launched on Singles' Day. He made a lot of quick money at lightning speed. To celebrate his fortune, Lao Dai also went to Liantang for a fun time, and heard him mutter: Memory management is the most troublesome technical issue in the program-controlled switch host system.

Wang Yingjun, who joined Huawei in 1997 with Lao Dai, rented a farmer's house in Men Village, Guangdong Province. Later, he became one of the giants of Huawei's core network. In 1998, everyone was excitedly exchanging Hong Kong films and talking about technology. He read all the host software codes, which were written in C language. The core is a DOS-based operating system based on the command line.He said that the scariest thing is that there are a bunch of global variables, which are extremely painful to track. As a core tester, he once communicated with ZTE to PK, modified the internal parameters overnight and compiled overnight, so that the CPU occupancy rate under the same load was lower. CPU occupancy is a core indicator. The current CPU occupancy of Lao Dai’s typing computer is 77%.

Wang Yingjun studied chemistry, but he was not interested in this major at all, so he took the exam to be a senior programmer and fell into the "01010101" pit. A few years ago, we planted vegetables together at Xili's farm. He no longer talked about Hong Kong movies with me. Instead, he talked about poetry and the future. Being a leader is different.

Zeng Haowen, a disciple of Professor Mi Zhengkun of Nanjing University of Posts and Telecommunications, is Yin Yimin's junior brother. After graduating in 1997, he came to Huawei. He started as a development engineer and became the R&D leader of the 128-module, the last version of CC08, at the turn of the century. Claimed to be able to support millions of users, Huawei has ranked first in the world in sales for a single product, narrowband digital program-controlled switching, for the first time. Zeng Haowen remembers a saying at the time: Huawei does not want to be the number one in the world, but it has to be on the road to becoming the number one. What’s interesting about

is that after the first version of the 128 model was launched, many bugs were discovered, making modifications very troublesome, so the entire system code was rewritten. GSM has done the same thing. Does

have anything to do with Windows? The core front-end host software (including operating system) of

has indeed never had anything to do with Windows, but there is also a BAM module (backend management unit) on CC08 that can be used. Even if the BAM module is turned off, the front-end host software of CC08 is still running. BAM later evolved into OMC, and Zheng Yelai, head of Huawei Cloud BU, was the development leader of OMC at that time. First-line OMC application software occasionally has minor flaws. Veteran Dai Hui went to report it, and the OMC interface person responded with a ridiculous answer: It is a compatibility issue with your foreign Windows version, and it has nothing to do with us!

Li Hong: When I joined Huawei, I took over the billing and alarm module of the CC08B model. Later, I wanted to move to the Internet Research Department under the Intelligent Business Department (which was later cancelled). Zhang Shunmao, the general manager of the Exchange Department, refused to let me go. He said that the Exchange Department was free to choose and suggested that I go to the 32 module (the 128 module had not yet started at that time). ), he brought me to the testing department to be responsible for BAM testing, and I became a small leader like Wang Yingjun. Unexpectedly, he is now a giant in the core network. Reading your article brought back many memories of working as a screw driver at Huawei.

Finally, let’s talk about the business model of software sales, which is closely related to host software. In the early years of

, there was no license control in the host system software, and upgrades and software services were free. As long as customers continue to buy Huawei equipment, everything is easy to negotiate.

html In 2004, I went to the Indonesian operator and found that Siemens service personnel came once a month to see how many users had been added online, so they issued an invoice to the operator and charged a lot of money, but Siemens really had nothing. Come on, how can you collect money?

Xu Zhijun (Xiao Xu) established a strategy and business model department with MKT, which studied industry practices and began to engage in "inventory charging". License control is carried out by user and function. Annual software maintenance and upgrades are also charged together. Annual software service fee. Huawei's technical support department has gained huge benefits as a result. Zeng Xiangsen and Wang Haijun successively served as heads of this department. At that time,

mainly made money by selling hardware. Unexpectedly, today, software license is the real money maker. Because after all core networks are cloudified, the underlying hardware will be x86 universal servers, which can be sold by anyone, and the gross profit will become as thin as a piece of paper.

Chapter 5: The OS of the core network has become the basis for the entire development of Huawei

During the recent Sino-US trade friction, everyone has noticed the term "5G core network". The United States has paid a lot of attention to the core network, which shows that this is a very important network equipment. Functionally speaking, the

core network not only serves landlines (fixed phones), but also serves mobile phones, including 2G/3G/4G/5G, etc. When it specifically serves 5G, it is called the 5G core network. The

core network has undergone great changes in terms of hardware and operating system in recent years.The architecture of

1 and TDM (time division multiplexing) is traditionally called a digital program-controlled switch. When Liu Jiangfeng and were developing GSM, MSC (equivalent to mobile program control) and BSC (base station controller) were both based on the CC08 platform.

2, IP-based . IP-based softswitch architecture, also called NGN (Next Generation Network). There are two generations of hardware: cPCI (box type) and ATCA (blade type).

3, IP+IT-based . IMS (IP Multimedia System) architecture. The hardware has since become an x86 universal server, and the software architecture has changed significantly.

4, fully cloud-based , NFV (Network Function Virtualization).

The real-time operating system of Huawei's core network has undergone four technological changes.

1. 28 years ago, Daxu and the others developed their own operating system bit by bit starting from the bottom.

Those small companies in the West that make RTOS (real-time operating system) kernels just started with two or three people in the 1980s, and have not yet affected China. It’s expensive, and even a small company like Huawei can’t afford it.

2, In the mid-to-late 1990s, integrating into the global advanced technology trend, CC08 also developed an embedded real-time operating system based on pSOS and VxWorks microkernel. In the

CC08 128-module host system, the SPC module uses pSOS, and the PPC and CPC modules use VxWorks.

The American Wind River Company, which owns the VxWorks kernel, also acquired pSOS and was eventually merged into Intel Company. Huawei's main processor has therefore long used the x86 architecture of Intel. Everyone has seen the strong locking relationship between the CPU and the operating system kernel.

Nokia and Ericsson also adopt a similar approach and are both customers of VxWorks.

Cisco is based on the QNX core and is QNX's largest customer outside the automotive field. Lao Dai is in Ottawa today, where QNX’s headquarters is. QNX was founded in 1980. A group of people have been working on it for decades, constantly adapting to various scenarios. It has excellent real-time performance, stability and compatibility. QNX has a very high market share among traditional automotive OSs. Reached about 80%. QNX was later sold to BlackBerry, the once brilliant mobile phone brand.

The basic theoretical research of Huawei 5G was also carried out in Ottawa under the leadership of Dr. Tong Wen, Huawei’s chief scientist of 5G.

Yu Chengdong, CEO of Huawei's consumer business, released the Hongmeng operating system. The Chinese name comes from the Classic of Mountains and Seas, and the English name is HarmonyOS, not the previously legendary OakOS. - DayDayNews

Note: Veteran Dai Hui worked at Huawei Ottawa Research Institute

3. Starting in 2007, Huawei successfully implemented a real-time operating system based on the open source Linux kernel.

This is a big progress for the Linux camp and Huawei.

In fact, Wind River itself is also vigorously promoting the embedded Linux kernel. Yao Yiyu, chief architect of the

core network platform, wrote an article called "Getting up from the mud pit".

In 2007, the core network switched from the cPCI platform to the ATCA platform in terms of soft switching hardware architecture, but still used the x86 CPU of Intel. The biggest change is in the operating system. Starting from the ATCA architecture, a lot of optimizations have been made to develop a real-time operating system on Linux and replace the previous embedded real-time operating system developed based on pSOS and VxWorks kernels.

optimizes and solves the latency of Linux, bit by bit, and finally successfully reduces the latency to a very low level. Last time I heard a drone company talk about their development experience, they also had to reduce the weight of the aircraft gram by gram.

was a great victory. It finally successfully created the first company-level telecom Linux operating system, which was subsequently extended to the VRP of the data communication product line. Not only did it save money, it also greatly improved my capabilities. Huawei has also made huge historical contributions to the international Linux open source camp.

Ren Baogang’s comment: I was the core network platform project manager and development representative from 2009 to 2012. At that time, I competed with Ericsson on ATCA’s blade hardware architecture plus a software platform based on the open source Linux kernel (previously it was cPCI proprietary hardware + VxWorks embedded platform). At the beginning, everyone had a lot of questions. We drove from Dongguan every day to pull back logs for analysis, and customers scolded the blade architecture for "cutting through the cracks." Fortunately, we won in the end. The first global commercial version of the ACTA platform was developed by us at that time.Although the final result is good, the process is extremely arduous, so when dealing with innovations and failures, you must have enough patience, no myths, and only come out when the heat is up.

According to Ren Zhengfei's philosophy, if the core of a technology is algorithms and logic, Huawei can solve it through hard work. Therefore, in the automotive BU, Huawei does battery management BMS (the core is algorithms and logic), but does not make batteries (the core is chemistry and materials). Ren Zhengfei strongly called on the country to cultivate more mathematicians.

4. A new level has been introduced: cloud computing, and the new architecture is called NFV (Network Function Virtualization). The original RTOS remains unchanged.

This is in the same line as Huawei's Fusion Sphere cloud computing operating system, which adopts various technologies such as KVM virtualization engine (also belonging to the Linux camp), Docker containers, K8S (Kubernetes), etc.

cloud technology brings opportunities for CPU switching and the introduction of ARM servers in the core network, which will be discussed later.

Chapter 6: The birth of Hongmeng RTOS

As you can see, Huawei's OS has gone through multiple processes such as independent development, RTOS development based on pSOS and VxWorks microkernel, and open source embedded Linux macro kernel development. This laid the foundation for the birth of Hongmeng. Developed a strong technical foundation and understanding.

There is a very important person, his name is Wang Chenglu. He first served as president of the core network product line and accumulated experience in core network OS (implemented RTOS based on embedded Linux). Later, he was transferred to the President of the Central Software Department of the 2012 Laboratory and launched Hongmeng’s research. There is a conversation on the Internet between Ren Zhengfei and 2012 Lab employees in 2012, which shows that Huawei developed the mobile operating system as a "spare tire." The questioner Li Jinxi came from the Terminal OS Development Department of Euler Laboratory of the Central Software Institute under the 2012 Laboratory, which is responsible for building terminal operating system capabilities for consumer BG.

Wang Chenglu finally went to Consumer BG as the software president. His article "Huawei Mobile Operating System Past" mentioned that Huawei's optimized F2FS file system has overcome the traditional fragmentation defects of Android and has been absorbed by the Android systems of and Google . "Born fast, life is fast." File systems are an important part of mobile phone and PC operating systems.

Yu Chengdong, CEO of Huawei's consumer business, released the Hongmeng operating system. The Chinese name comes from the Classic of Mountains and Seas, and the English name is HarmonyOS, not the previously legendary OakOS. - DayDayNews

Note: At the developer conference on August 9, Wang Chenglu released EMUI 10

Mr. Ren Zhengfei had a brilliant quote about the Hongmeng operating system: We have thousands of (note: types) circuit boards, and each circuit board must have an operating system. Hongmeng operating system is an operating system for deterministic latency systems. The end-to-end processing latency of the system is accurate to 5 milliseconds, or even lower millisecond level or even sub-millisecond level. It can control only such a small delay, which is suitable for automatic production of the Internet of Things. it works. For example, in driverless driving, the delay in turning gears is a few milliseconds. If it is inaccurate, otherwise this gear will come and that gear will not be able to engage before it comes. We are an operating system for the Internet of Everything and the future of a smart society.

It can be seen from Mr. Ren Zhengfei’s words that Hongmeng may also be used in system equipment in the future.

Chapter 7: Huawei operating system spectrum

Based on the OS of the core network, Huawei's operating system is in full bloom, connecting all three major BGs of Huawei's business (operators, enterprises, and consumers including mobile phones) and the two major BGs. BU (cloud computing, automotive).

In the Chinese operating system group portrait I described last year, Huawei's series of operating systems have been listed. The supplement is summarized as follows:

1, router and data communication switch operating system: VRP (Universal Routing Platform), which is another Huawei OS Mainline

In 1996, Huawei's CC08 was sold in full swing. Huawei had food in its warehouse and began research and development of data communications in its Beijing research institute.

Huawei's VRP should be a real-time operating system developed based on the VxWorks microkernel of the American Wind River Company. Tornado is a real-time operating system (RTOS) development environment launched by Wind River. It is similar to Microsoft Visual C, but provides a richer debugging and simulation environment and tools. There was also a peer, pSOS, which was later acquired by Wind River.

On January 23, 2003, Cisco accused Huawei of infringement in the United States.During the course of the lawsuit, it was discovered that Huawei's VRP system was much smaller and more efficient than Cisco's IOS.

is no different. Cisco's IOS is actually a real-time operating system developed based on the QNX kernel.

A few years ago, after the core network OS adopted the open source Linux kernel to implement RTOS, Huawei Data Communications' VRP has also adopted the embedded Linux kernel.

has a very important field in mobile communications: PS domain (packet switching system), such as GGSN/SGSN, etc., whose function is to process IP data packaging and exchange in 3G/4G/5G systems. Nowadays, everyone basically uses their mobile phones for data traffic instead of making calls, so the PS domain is getting bigger and bigger. PS is closely related to RAN (radio access network, base station, etc.), so Huawei internally classifies PS directly within the wireless product line (RAN) all year round.

Huawei's 3G/4G/5G PS domain is based on its own data communication switches, so it also uses the VxWorks microkernel.

In the security review of Huawei systems in the UK in August 2018, it was believed that the VxWorks system adopted by Huawei will not be able to receive security patches and upgrades after 2020, posing security risks.

But in reality, this is not a problem.

On the one hand, Huawei's data communication switches have developed their own RTOS based on the embedded Linux kernel. Even for Wind River, the official website also introduces the success story of British Telecom's RAN (radio access network) using Wind River's embedded Linux. On the other hand, Hongmeng’s microkernel can also be used as a spare tire.

2, cloud computing operating system: Fusion Sphere. initially used the XEN virtualization engine and is now moving towards KVM.

3, server operating system: EulerOS, which will be open source and make progress together with the world.

4, IoT embedded operating system: LiteOS. Super lightweight and open source.

Communication dean Wu Hequan believes: "AIoT is the development direction of IoT, and IoT needs AI to enhance its value. 5G is the bridge connecting AI and IoT. Its high bandwidth, high reliability, low latency, and large connections have opened up a wider field for AIoT. Application areas. "

5, automotive and driverless operating systems: Hongmeng. Yu Chengdong announced that Hongmeng Open Source is the best way to absorb global wisdom through open source.

6, smartphone, TV operating system: Hongmeng. Everyone has talked about this a lot.

7, Ark compiler. The Ark compiler is not the operating system itself, but on the one hand it can improve the running efficiency of the compiled operating system program (the mobile phone runs faster), on the other hand it greatly facilitates the porting of APP business to Hongmeng, the original Android application (APP) As long as you make small changes, you can compile it through the Ark compiler and run it on Hongmeng.

A flower blooming alone is not spring. Over the past 30 years, Huawei has cultivated many talents for society, and there are also many people in the entrepreneurship department who work on operating systems. UCloud, founded by

A and Ji Xinhua, is the only public cloud that has grown independently without relying on a large industrial background. It became an instant hit because of its "Dota Legend" mobile game cloud business. UCloud is the first public cloud to be developed based on the open source KVM engine, even earlier than Alibaba Cloud.

B and H3C are separated from the Huawei system. From now on, the VRP operating system has "two flowers blooming, one on each side". The OS of the H3C system is named Comvare.

C and Uniview were separated from H3C, and Imos Inside is the trademark of Uniview Security OS. Intel believed that Imos Inside infringed Intel Inside's trademark, but failed to obtain support from the court. Jinghua Science and Technology, founded by

D and Zeng Haowen, is the first independent desktop cloud OS in China. It is the first to adopt the KVM virtualization technology route and has successfully entered the navy, land and air force.

Chapter 8: has mastered the operating system, and is not afraid of CPU jams.

html On May 15, Huawei was included in the entity list, and Intel’s CPUs were once cut off from Huawei. Dai Hui, a veteran of

, boldly predicted that this would not have a big impact on Huawei. Because after Huawei controls the operating system, the lower-level CPU can be flexibly switched.

In the field of data center (and cloud) servers, Intel occupies more than 95% of the market share.

Due to historical reasons (this history has been introduced in this article), the current global telecommunications core network uses the x86 architecture universal server of Intel.

Because the telecommunications core network operating system is controlled by Huawei, and the upper-layer business and ecology are also controlled by Huawei, servers in this field can completely convert from x86 architecture to Arm architecture.

Huawei has to do this. On January 7 this year, Huawei released its first ARM architecture server CPU Kunpeng chip and Taishan server. The publisher was Xu Wenwei. Through container technology, multiple Taishan servers (using Arm CPU) can be formed into a large server cluster for use on the telecommunications core network.

Yu Chengdong, CEO of Huawei's consumer business, released the Hongmeng operating system. The Chinese name comes from the Classic of Mountains and Seas, and the English name is HarmonyOS, not the previously legendary OakOS. - DayDayNews

Looking back at Linux, the earliest version was only based on x86. Later, it also supported various CPU architectures such as Arm, Power, and MIPS across platforms.

We will focus on Tencent . WeChat's server cluster basically runs on the Android and IOS ecosystems. Technically, it can also use Arm server clusters instead of the previous x86 server clusters.

In the field of telecommunications billing, Huawei has already had successful cases.

In the early morning of July 19, 2019, after an intense and orderly cutover, the software and hardware of Shandong Mobile's billing CRM system were successfully replaced and upgraded, becoming the first operator to adopt a complete set of domestically developed software and hardware solutions in the core system. , taking a solid step on the road of independence and control. Huawei's self-developed series of IT software and hardware: TaiShan server based on Kunpeng 920, GaussDB Gaussian database, and server operating system EulerOS.

Earlier, at the end of 2017, Academician Ni Guangnan disclosed that the Aerospace Science and Industry Corporation's "Shangmi Network" was the largest information system composed of nationally produced software and hardware at the time, and had deployed 20,000 nationally produced desktop computers, including " Domestic servers including the Aerospace Kunlun Database All-in-one Machine provide cloud services, and secure mobile phones using the Aerospace Yuanxin mobile operating system are introduced to support mobile office.

For personal computers, Intel also faces challenges from Arm. Last summer, in the Microsoft store of Silicon Valley , I saw an always on laptop built by Lenovo Lenevo using Qualcomm's Arm-based CPU and Microsoft Windows. HiSilicon has also recently started making CPUs for laptops based on the Arm architecture, and we are looking forward to it.

Conclusion: Innovation never ends

At the 2019 Southeast University graduation ceremony, Xu Wenwei, who forged Huawei's first chip and first OS, spoke:

"What Huawei has been insisting on since its founding is innovation. Over the past 30 years, , Huawei's success is based on technological innovation and engineering innovation based on customer needs, helping customers successfully innovate solutions and achieve commercial success. This kind of innovation is what we call Huawei Innovation 1.0. The rapid development of the information industry over more than 50 years has been theoretically carried out. and engineering have encountered development bottlenecks, we need theoretical breakthroughs, we need innovation from 0 to 1.

"Huawei officially announced that it has entered Innovation 2.0. The core of Innovation 2.0 is theoretical breakthroughs based on vision and the invention of basic technologies, and theoretical breakthroughs And one of the sources of basic technology invention is academia, in universities, among all of you here. "

Post-note: Veteran Dai Hui has systematically organized and published Huawei's chip history, wireless history, mobile phone history, optical transmission history, Huadian -H3C Entrepreneurship Department history, and operating system history. New works are on the way. Please Call veteran Dai Hui "the originator of Huawei's technology history"

Author: Veteran Dai Hui Source (first release): Shangguan News Editor: Wang Haiyan

.

hotcomm Category Latest News