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

1 Hong Meng OS 2.0 debut, the official Open Source Code

This afternoon, at the Huawei Developer 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 large-screen, SDKs, tools, documents and simulators for watches and cars, mobile phone versions of SDK, tools, documents and simulators 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 that he would donate the code of Hongmeng OS to the Open Atom Open Source Foundation for open source incubation, and announced the open source road sign of Hongmeng system: September 10, that is, from today, Hongmeng system will be used for large screens, watches, 128KB-128MB terminal devices such as cars and machines are open sourced; in April 2021, 128MB-4GB memory terminal devices will be open sourced; in October 2021, all devices above 4GB will be open sourced.

image

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 are planned to be pre-installed in 2021. HMS Core has 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, the capabilities of EMUI have been 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 the mobile phone system, 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 a 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. The equipment configuration based on the Hongmeng system can be self-contained once. Discovery of self-connection; the third is dynamic delay calibration, taking 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 does not increase. Huawei is four times faster than the lowest speed of the best Samba system in the industry; at the distributed database level, it will 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 at one time 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 in a single-capable device, and the flow of data must be regulated. High-level access to low-level is not possible.

3How 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 Hongmeng 2.0 system easy: one is to integrate the Huawei SDK, there are a total of 7 SDK packages provided this time; the other is Run the open source code. The source code is currently open. This time, 17 subsystems, 134 code repositories, and 3 reference implementations have been opened. As long as the devices with 128M memory and below can be compiled and run immediately; the third is that 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. This system integrates Huawei's distributed and binary SDK, which can be selected by developers, and has built-in security check capabilities.

image

To build a complete platform tool chain and ecology for full-scene development, we know that today's developer ecology 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. Without sufficient investment, it is impossible to build a compiler. 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.

image

4 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 we can also try to support it to see if Hongmeng can make its own way in the face of the mountain of Android.


Guess you like

Origin blog.51cto.com/15057858/2677290