Exclusive dialogue with Huawei Wang Chenglu: The mobile phone HarmonyOS developer Beta will arrive as scheduled

At the Huawei Developer Conference HDC2020 in September this year, Huawei released HarmonyOS 2.0, a distributed operating system for all scenarios. Once this operating system was released, it has received eager attention from the industry, and it has set off a wave of discussion in the open source community. So what changes has HarmonyOS brought to the industry? What convenience does HarmonyOS provide for developers? What is the progress of the development of the beta version of its upcoming mobile phone HarmonyOS developer? Dr. Wang Chenglu, President of Huawei's Consumer Business Software Department, gave the answer in an exclusive interview with a CSDN reporter.
 

HarmonyOS is the operating system in the era of Internet of Everything

HarmonyOS has now received widespread attention, and many developers have personally participated in it after open source. When the reporter asked about the original intention of HarmonyOS, Dr. Wang Chenglu said that Huawei internally decided to make HarmonyOS in May 2016. At that time, it had already made a layout for the future market and possible technological directions.

 

The main reason is that, on the one hand, IoT smart devices represented by smart wear and smart home have emerged one after another. Consumers have more and more terminals. At the same time, these devices are becoming more and more intelligent, and the shape of the devices is increasing. More and more diverse. On the other hand, there was a radical argument in the industry at that time, seeing that mobile phones could replace some of the functions of MP3 and digital cameras, and that a powerful smart terminal could replace multiple other hardware with more specialized functions. Including mobile phones can replace all devices, PAD can replace laptops...but the fact is, these will not happen. Whether it is a smart bracelet, a smart watch, or a robot cleaner, a refrigerator, a TV, a washing machine in a smart home, etc., these devices have values ​​that cannot be completely replaced.

 

"Faced with more and more smart devices, there is no physical super powerful terminal to replace other devices, so why not let them cooperate more closely?" Dr. Chenglu Wang said that this idea made him Started to lead the team to explore the cutting-edge of HarmonyOS key technologies.

Collaboration between smart devices needs to establish a system-level connection, not a "shallow connection." If you want different smart terminal devices to cooperate, the first thing you need to solve is the connection problem. Copying phone photos to the computer is a basic collaboration, but it is not very convenient to connect a USB cable, set the transfer mode, find the file copy and other steps. Other IoT devices, such as smart speakers and smart bulbs, are even more inconvenient to connect, and they can only control basic operations such as switching and playing.

 

Dr. Wang Chenglu told the CSDN reporter that this kind of connection can't just be a shallow connection based on a single function, but should form a system-level connection. Just as the operating system looks at the computer as a module of CPU, memory, display, speaker, disk, etc., HarmonyOS treats isolated IoT devices as modules. For example, a lamp is a display module, and a TV is A display module plus a speaker module, etc. Consumers saw the connection between two devices, but HarmonyOS saw the connection of modules. This original idea later became one of the core innovations of HarmonyOS. It can help IoT solve big problems.

 

In the past few years, many domestic companies have made cars intelligent, and many of them are excellent large companies, but they have not made a very large scale in the end. One of the reasons is that they treat cars as a new independent hardware, develop/customize To develop a brand-new system and build a brand-new application ecosystem. These applications are either re-developed or migrated from mobile phones. Many APP manufacturers cannot accept such a high price.

 

Therefore, the advantage of HarmonyOS is that the bottom layer of the system regards isolated devices as modules connected together. The above applications do not need to be developed from one device to another new device. The entire hardware device of the HarmonyOS ecosystem forms a software definition. "Super Virtual Terminal". When the new hardware form is connected to HarmonyOS, the upper-layer applications do not need to be moved from the original equipment to the new equipment, but run directly on the "super terminal" formed by HarmonyOS. Applications can be reused directly without the need for manufacturers Repeatedly develop new equipment.

 

Dr. Wang Chenglu said: "HarmonyOS brings the industry's biggest innovation. Not only does equipment manufacturers do not have to carry out complex system customization/cutting research and development, but the application ecology can also be shared very simply."

HarmonyOS innovation road, forming a scene-based super terminal

Then a new question arises. When multiple terminals merge to form a super terminal, what value will it bring to ordinary consumers?

 

Dr. Chenglu Wang gave a simple example. Many people like to K-song at home. In fact, K-songs can do useful innovations based on HarmonyOS. In the past, many karaoke enthusiasts either used a single mobile phone and lacked the atmosphere of karaoke, or they needed to buy many professional microphones, amplifiers, players and other equipment to get the same KTV experience. But now, as long as the home mobile phone and large screen use HarmonyOS, the mobile phone can be transformed into a professional microphone, the TV can be used as an MTV player, and the mobile phone can also use the APP to easily place songs, cut songs, and tune. If you want to invite your family to sing together, you only need to scan the QR code on the screen, and the second microphone can join in. In this way, the mobile phone and the large screen form a home entertainment "super terminal" with a microphone, song station, tuner, and MTV player. It does not need to cost too much, but it can achieve a comprehensive upgrade of the experience.

 

At present, HarmonyOS has built scene-oriented super terminals in seven scenarios, including smart home, smart travel, social shopping, smart education, audio-visual entertainment, mobile office, and sports health, providing consumers with a seamless full-scene smart life experience. Hyperterminal not only allows the integration of various devices, but also means the superposition of various capabilities such as computing power and security.

 

Hyperterminal can also greatly enhance the security of equipment. In the past, many smart terminal devices in smart homes are limited by device capabilities or computing power limitations, which often become security shortcomings in smart homes. The usual solution is to set up a powerful firewall at the router or home gateway for interception. However, whether it is a firewall or a router, to intercept all attacks through a single device requires a fairly powerful capability. This threshold is not available to many families. Accepted.

 

But the security solutions of HarmonyOS are different. Although the devices on the front line of defense are still routers or firewalls, they can use distributed technology to schedule the security capabilities of mobile phones, TVs, and various devices equipped with HarmonyOS. Defend various attacks, make up for shortcomings in equipment security in the scene, and improve overall security.

Leave the complexity to HarmonyOS, and leave the simplicity to the developers

Developers have limited time and energy. How to lower the threshold for accessing HarmonyOS is a problem that must be solved to build a complete development ecosystem. Dr. Chenglu Wang said that HarmonyOS has provided a complete solution for device and application developers, which can help developers focus more on business development and innovation.

 

Especially for application developers, HarmonyOS provides a distributed application framework, 13000+ API, IDE and Ark compiler to help developers achieve multi-terminal deployment at one time. Developers only need to pay attention to business logic, not cross-terminal scheduling and communication. Details, reduce code and complexity, and greatly improve the efficiency of full-scene experience development.

 

The distributed application framework can encapsulate complex devices into a simple interface, which can be divided, combined and transferred, and easily realize cross-device application collaboration; the distributed application framework provides more than 13,000 APIs step by step, and supports the development of large screens, watches, and cars. Computer and other applications; Huawei DevEco 2.0, a full-scenario, cross-device integrated development tool, can provide real-time preview UI, API intelligent completion, high-performance simulation and real-time debugging capabilities; high-performance multi-language compiler Ark Compiler 2.0 can unified runtime And multi-language front end, through the decoupling of components to achieve flexible deployment of multiple devices, improve code execution efficiency.

 

At the same time, because the underlying chips, I/O, networks, applications, and interfaces of smart terminals are different, HarmonyOS actually builds a heterogeneous distributed environment. Developers only need to consider the parts above Runtime, and everything below Runtime is handed over to the system.

 

Dr. Chenglu Wang also shared an interesting story when he was developing Huawei’s core network product line. Since the underlying operating system did not support heterogeneous multi-core scheduling at that time, when the product was switched from single-core CPU to multi-core, the upper-level code needed to bind the process to the specified Nuclear, there are many things to consider. But later with the OS-level heterogeneous multi-core scheduling, writing code only needs to focus on business logic.

 

This example is similar to the distributed development framework. Nowadays, many developers need to consider GPU logic, data synchronization, and cross-platform calls when developing software, but Hongmeng does not need it. After the underlying package is completed, developers only need to consider business issues, and the overall application experience is similar to Android It will be even smoother than native apps.

HarmonyOS joins hands with partners in the mobile terminal industry for the next ten years

"In Huawei's view, HarmonyOS is a set of operating systems developed for the Internet of Everything, and the mobile terminal industry has the most opportunity to develop in China. " Dr. Wang Chenglu also specifically analyzed the reasons:

  • First, China has almost all industrial production conditions. China’s production of large and small hardware, such as white and black appliances, accounts for about 70% to 80% of the world’s production; China accounts for at least 1/3 of the production of vehicles; smartphones are also the most. ...... This kind of manufacturing capacity and hardware modules are particularly strong in China;

  • Second, China's network infrastructure is the best in the world, which provides basic help for the connection between devices;

  • Third, China is far ahead in the field of application innovation. For example, our mobile payment, etc., these are almost unimaginable in foreign countries;

  • Fourth, the Chinese market is large enough;

  • Fifth, there are many employees in China.

 

It can be seen that China may have the most opportunity and the only opportunity for the mobile terminal industry, and HarmonyOS is bound to help the industry develop to a higher level.

 

At the same time, HarmonyOS will continue to increase openness and open source. Since the OpenHarmony project has been open sourced for more than a month, more than 120 application partners, more than 20 hardware partners, and more than 100,000 developers have participated in the open source construction of HarmonyOS. At present, the lightweight content opened by HarmonyOS mainly supports domestic home appliance products, allowing them to quickly become intelligent; the domestic home appliance industry equipped with Hongmeng products is growing very fast, for example, Midea may be on the shelves during Double Eleven. More than a dozen products equipped with lightweight HarmonyOS are sold, and the current reservation situation is very good. Once the industry recognizes the value of Hongmeng and users' habits begin to change, HarmonyOS will open up more technologies and equipment to complete the entire ecosystem.

 

At the end of the interview, the reporter asked about the development progress of the Beta version of the mobile phone HarmonyOS developers that everyone was concerned about. Dr. Wang Chenglu's answer was also confident. He said that the current progress is very good and the research and development is ready, and it is expected to be as scheduled in December. Make a release. At that time, I hope that the majority of developers and friends can participate together, work together and build the Hongmeng ecology.

更多精彩推荐
☞机器人也开始"怕疼"了?科学家开发无需人工干预即可"自愈"的机器人

☞对话指令集创始人兼CEO潘爱民:面向未来的新型物联网操作系统 | 人物志
☞@程序员,什么才是“2020-1024”的正确打开姿势?

☞最新!百度首发 OCR 自训练平台 EasyDL OCR

☞SQL分页查询方案的性能对比
☞2021年,很可能是以太坊的“高光之年”
点分享点点赞点在看

Guess you like

Origin blog.csdn.net/csdnnews/article/details/109376379