Huawei Hongmeng OS 2.0 released, open source code at 18:18

Authors| Luo Yanshan, Zhao Yuying, Cai Fangfang

On September 10, at the Huawei Developer Conference 2020, Huawei Consumer Business CEO Yu Chengdong announced the launch of HarmonyOS 2.0 (HarmonyOS 2.0). According to InfoQ's official information from Huawei, the code of Hongmeng OS will be officially opened at 18:18 after the HDC 2020 conference this afternoon.

Hongmeng OS open source project: https://www.openatom.org/openharmony

Hongmeng OS Code Repository: https://openharmony.gitee.com/

1 Hongmeng OS 2.0 debuts, the code is officially open source

At the Huawei Developers Conference 2020, Huawei’s consumer business CEO Yu Chengdong announced the launch of HarmonyOS 2.0 (HarmonyOS 2.0), officially releasing the Beta version of HarmonyOS for application developers. From now on, developers can get access to large screens, watches, and cars. The SDK, tools, documentation and simulator of the mobile phone will be released in December this year. Next year, Huawei smartphones will be fully upgraded to support Hongmeng 2.0.

At the same time, Yu Chengdong announced the donation of the Hongmeng OS code to the Open Atom Open Source Foundation for open source incubation, and announced the open source roadmap of the Hongmeng system: September 10, that is, from today, the Hongmeng system will be used for large screens, watches, 128KB-128MB terminal equipment such as cars and machines will be open sourced; in April 2021, 128MB-4GB memory terminal equipment will be open sourced; in October 2021, all devices above 4GB will be open sourced.

Yu Chengdong emphasized that the world's third largest mobile application ecosystem is emerging. "Huawei must build an open ecosystem and fully open its core technologies, software and hardware capabilities to developers and ecosystem partners." According to reports, the HiLink smart hardware ecosystem based on the Hongmeng operating system currently has 800 partners, of which HiCar has cooperated with 150 For the remaining cars, more than 5 million units will be pre-installed in 2021. HMS Core has been developed to version 5.0, more than 96,000 applications integrate HMS Core, and 490 million active users.

Yu Chengdong said that Huawei still achieved growth despite three rounds of blows. In the first half of this year, the consumer business sales revenue was 255.8 billion yuan, and the global shipment of consumer business mobile phones reached 105 million.

 

2 Two key points: Distributed technology improvement and ecological opening

In the speech, Wang Chenglu, president of Huawei's consumer business software department, said that Hongmeng 2.0 has a very big improvement compared to 1.0, and this is a very important milestone. On the one hand, thanks to the improvement of distributed technology, EMUI’s capabilities have been fully reused in the Hongmeng 2.0 system in the past year; on the other hand, Hongmeng 2.0 has taken the first step to empower the third-party ecosystem: Huawei has already used It is open to application manufacturers to innovate.

Hongmeng is not a simple replacement for mobile phone systems, but a base for all scenarios. Its three distributed capabilities are distributed software bus, distributed data management and distributed security solutions.

Distributed soft bus

As shown in the figure below, the distributed soft bus is the base of the entire Hongmeng system, and its performance is infinitely close to the capacity of the hard bus, allowing multiple devices to be integrated, making the system extremely fast and smooth.

In the fully integrated adaptive part, Hongmeng system has realized heterogeneous network integration, different devices can be interconnected; self-discovery and self-connection, almost every time the network is changed, very cumbersome configuration is required, and the equipment based on the Hongmeng system can be configured once. Self-connection is found; the third is dynamic delay calibration. Take audio and video synchronization as an example. If the video stream is sent to the large screen and the audio stream is sent to the speakers, the two can be synchronized.

Distributed data management

Distributed data management makes cross-device data processing as convenient and convenient as local. At the distributed file system level, it will be bad if the speed of remote file reading and writing between devices cannot be increased. Huawei is four times faster than the lowest speed of the best Samba system in the industry; The speed of reading between ContentProvide (reading between the same devices) is 1.3 times faster; the speed of distributed retrieval is 1.2 times faster than iOS Core Spotlight.

Distributed security

In fact, in a distributed system, there is a very good opportunity to break through the single-dimensional identity authentication on a single device, and stronger identity authentication can be performed on multiple devices through multiple factors, which not only allows the code to be written once and run on multiple terminals, It can also make the device more secure.

Wang Chenglu said that Huawei can flexibly deploy the microkernel on any device and will open up this capability. At the data level, Huawei has set a series of rules. For example, the highest-level data must be stored on a single-capable device, and the data flow must be ruled. High-level access to low-level is not possible.

 

 

3 How to participate in the development of Hongmeng OS?

In this press conference, Huawei has completed the southward (for equipment manufacturers) open platform and tool chain, which makes the development of equipment based on the Hongmeng 2.0 system easy: one is to integrate the Huawei SDK, and there are a total of 7 SDK packages provided this time; the other is Run the open source code. The source code is now open. This time, 17 subsystems, 134 code repositories, and 3 reference implementations have been opened. As long as devices with 128M memory and below can be compiled and run immediately; third, Huawei provides modules and Chips. Currently, it has obtained the certification of 5 chips, 7 chips and 5 modules, and has provided development boards for enthusiasts. The fourth is Huawei DevEco 2.0, which is a very powerful tool that provides development, compilation, debugging, and burning. Recorded one-stop development process, the system integrates Huawei distributed and binary SDK, developers can choose, and built-in security check capabilities.

To build a complete platform tool chain and ecosystem for full-scene development, we know that today's developer ecosystem is very prosperous, but it is easy to wither. Wang Chenglu said that because China’s software market has no roots, Huawei has heard the voices of outside developers, but it’s not that simple to build an ecosystem. It requires compilers, development platforms, etc. to form a complete ecosystem, and the future is truly true. Can flourish.

Therefore, developers also need the Ark compiler, which implements multi-language and multi-device compilation, and it is impossible to build a compiler without sufficient investment. Therefore, Huawei is unswerving in this regard. The Ark compiler can now support and develop Hongmeng applications. Finally, Huawei DevEco 2.0 integrated development tool (IDE) provides six capabilities. After a set of code is compiled, you can know how to display it on the watch and large screen.

 

 

4 written at the end

After a year, Huawei Hongmeng System finally realized its promise of "open source". It is foreseeable that in the early stage of development, there will be many imperfections in the Hongmeng system. From the past, present and even to the future for a long period of time, the growth of Hongmeng will still face huge controversy and doubts, but until now, except If we continue to work, Huawei has no retreat. We can complain, and at the same time, we can try to support it and see if Hongmeng can make its own way in front of the mountain of Android.

There is no way, but the technique can be achieved; if there is no way, it ends with the technique

Welcome everyone to follow the Java Way public account

Good article, I am reading ❤️

Guess you like

Origin blog.csdn.net/hollis_chuang/article/details/108557450