Connect with us

Technology

ARK Compiler: Huawei’s self-developed Android application compiler – Explained

Published

on


“ARK Compiler” is a big bet for Huawei’s App management system, the company introduced it with the launch of P30 series and in a recent media briefing, the Huawei gave in-depth information of this new technology and its future in Huawei device ecosystem.

Simple definition:
Ark compiler can improve Android system operation fluency by 24%, response speed by 44%, and the smoothness of the third-party application up to 60%.

EMUI 9.1 Review: This should be EMUI 10



Now it’s time to dive deep into this subject:

During the EMUI software communication meeting in China, Dr. Wang Chenglu, President of Huawei Consumer BG Software Division, said this new technology is a breakthrough for Huawei and designed to work alongside EMUI. The official explained the details about this new revolutionary technology from the following.

Advertisement

To learn more about ARK compiler we’ve to understand what really the compilation process is:

Most of the Android platform applications are written in Java, but at the bottom what really makes the computer understand and execute the code is the machine language, which is a binary code consisting of “0” and “1”. Therefore, to run the program the high-level language (Java) must be transformed into machine language (Binary Code).

Generally, there are two ways to compile the language:

1. Introduce an interpreter to translate: which works by understanding a Java statement and translating it into machine code, letting the hardware execute it freely and called – Interpreting execution or Interpreter. This process does not filter the code, and the execution efficiency is very low + takes time.

2. The direct translation of high-level languages into machine language: There are two methods into this process:

A. AOT (Ahead of time) Compilation: Compiles the languages before running the program.

Advertisement

B. JIT (Just in time) Compilation: Compiles the languages in the run time or in real time.

Prior to Android 5.0, Android used high-level language code to interpreting execution + JIT but the provided very low efficiency while running a program. In the process of development, with the launch of Android 6.0, Android introduced Android Runtime (ART) virtual environment.

Currently, Android uses a comprehensive model compilation process with the combination of interpreting execution + JIT + AOT.



Advertisement

So, What is a Compiler?

A compiler is a tool or software that translate source code from a high-level programming language to a machine executable language and creates a single executable program out of all of the language files/resources.

How “ARK Compiler” is different from a regular compiler

APK Compiled with ARK Compiler directly translates high-level languages in the form of Machine Language, that runs into the phone without even the need of a virtual machine or the need a bridge to translate it for the phone. This saves a huge amount of resources during interpretation or switching between high to low-level languages and provides a high-performance boost to the application.

We can understand this whole process in two simple steps:

First of all, the compilation process of the ARK compiler supported program is completed on the developer side, in the process of program development, the developer directly compiles different programming languages into machine code, and creates an executable APK (Android Application).

Advertisement

When the app installed in the Operating system, it can directly identify and perform required actions without taking extra time and storage to interact and interpret language conversation with the virtual machine, providing a boost to the overall speed of the application.

Secondly, Ark compiler uses the memory recycling process that is used to recycle unused memory and restores it back to the system without even suspending the current background application, this helps a lot in app resuming and improves memory management. This could be taken as a way to bypass Android’s traditional virtual machine.

All of this process improves system operation fluency by 24% and the system response speed by 44%, as well as third-party application performance by up to 60%.

What are the difficulties for Huawei?

Dr. Wang Cheglu explains Compiler development requires a long-term research and development process, at the same times the developers of the compiler needs to be expert in high-level languages, familiar with various language frameworks as well as machine language.

Advertisement

Google has acquired such professionals for a long time and on a very large scale, that’s why there are many frameworks and applications developed by the firm. If you want to recreate a compiler from scratch that can adopt Google’s software ecosystem, the workload of that compiler has been to very huge, the Wang said.



How ARK compiler came alive?

According to Dr. Wang, Huawei’s interest in compiler development started in 2009, when its research and development program was originally initiated. It has inspired the first batch of the researcher in China and abroad to join and create a compilation group.

In 2013, Huawei self-developed and launched its first compiler for base stations, which is the official proposal of the Huawei compiler framework and the predecessor of ARK compiler.

Advertisement

In 2014, chief scientist of Huawei compiler technology established the main architecture of ARK compiler. In 2015, Huawei launched its own programming language. In 2016, the compiler and programming language lab was established. In 2019, Huawei officially launched the Ark compiler.

This whole development process took ten years and hundreds of researchers as well as hundreds of millions of dollars investment.

Dr. Wang said that the Android system optimized with Ark compiler is close to Apple’ IOS terminology. The next step of Huawei is to promote this new compiler into the Android ecosystem and to constantly update it to allow users to use more pure Android programmes.

Dr. Wang also announced that The Huawei Ark Compiler will be fully open sourced around November 2019, and invited the entire industry to work together to improve and enhance the Android performance experience.

Advertisement

Amy is our firmware and software specialist, she keeps her eagle eyes open for new software rollouts, beta programs, and other software related activities as well as new smartphone launch.

Technology

Huawei Luban trademark status changes to rejected

Published

on

Huawei Luban trademark

The Chinese Intellectual Property Database office doesn’t seem to satisfy with the Huawei Luban trademark and left it to face some hardship. As per the collected data, the application was filled in earlier May this year.

The smartphone marker requested the trademark for the name “Luban” on 21st May in China. However, the categorization includes nine kinds of scientific instruments with various application areas.

The idea of filling the trademark has come after the King of Glory variant of the Nova 8 Pro launch. This smartphone was crafted with the Luban leader prints and showcased clear branding of Huawei and King of Glory.

However, the latest information on this matter shows that the Huawei Luban trademark has been rejected. Yet, the reason for disapproval is unknown, the company hasn’t spoken about this matter, but you can check the notice in the below-attached image.

Advertisement

About Huawei Luban Smartphone:

As mentioned earlier, Huawei Nova 8 Pro was debuted with the Luban theme. In addition, its charging head was also printed with the same laser carving patterns alongside the customized themes, ringtones, and notifications.

Furthermore, the system configuration of the King of Glory smartphone was identical to the basice Huawei Nova 8 Pro. It comes with a 6.72-inch display with a 120Hz refresh rate, 10bit color depth, HDR10, and a 90FPS ultra-high frame rate. In addition, it was powered by the Kirin 985 5G SoC processor.

About Lu Ban:

According to Chines history, Lu ban was a mysterious figure from the Zhou Dynasty. In the country, he regards as an engineer deity who generally make buildings, and weapons, which help the peoples in many ways.

More About Trademarks:

At the end of September, Huawei filled a new graphic 1000 000 trademark application under the international classification of 9 types of scientific instruments and methods. This patent has been filled with the application number 59526520 in China. (Read Here)

Advertisement

(Source: Ithome)

Continue Reading

Technology

New Huawei VR shooting patent, enhancing video recording capability

Published

on

Huawei VR Glasses

A new Huawei VR shooting patent has come to sight with the publication CN113518189A in China. This patent embodies a complete set of solutions for VR video shooting devices, procedures, algorithms, and storage arrangement.

This described arrangement targets providing a VR video shooting method with less help of panoramic photography equipment. In addition, the method and device will be bearable for the small vendors and creators.

Huawei VR Shooting Patent:

According to the information mentioned in the patent document, using the latest technology wearables such as AR (extended reality), VR (virtual reality), or MR (mixed reality), the company wants to develop an electronically relative position to realize the process.

However, it follows an arrangement, where the main device’s location calculation takes place in a virtual world. After the calculation completes, the wearable device works with the virtual camera and captures the moments of the real scenarios. Thus the VR video shooting realizes without implementing the panoramic photography equipment.

Advertisement

Moreover, the method and device described in the Huawei VR Shooting Patent lessen the dependability on professional panoramic equipment. Instead, it only requires a smart device that is associated with a wearable device and provides backend support.

Speaking of current VR devices of the company, they smartly interact with other devices such as laptops and computers. Seems like the next successor will be getting this latest technology. Yet, the company hasn’t made any public announcement.

The Idea Behind VR Shooting Patent:

Although the major manufacturers have explored several aspects of the VR field and improved the user experience, the current challenges are no less. Still, VR devices have a separate place among consumers as it offers them a connection between real and imaginary world.

Moving ahead, the VR video shooting has a complete set of expensive technologies and devices. Furthermore, they are not only difficult to operate, but also have extremely heavy panoramic photography components. Huawei only wants to reduce the burden by providing easy-going and convenient equippments.

Advertisement

(Via- Mydrivers)

Continue Reading

Technology

Huawei developing sports posture error correction feature, filed new wearable patent

Published

on

Huawei Watch Blood Pressure

On 19th October 2021, Huawei published a new wearable patent document explaining a method about the posture correction feature. The company wants to design a new feature for its wearable collection and give more hikes to the workout sessions.

According to the Chinese Intellectual Property Database, Huawei applied for a patent entitled “Sports Gesture Recognition Method, Terminal Equipment and Storage Media” in April 2020, which has been published with the publication number CN113509173A in China.

The document shows, the method is appropriate to install in electronic devices. It involves motion gesture recognition methods, the end device, and storage mechanism. After synchronizing them, the device will provide desirable results.

Huawei posture correction feature

Also Read: Huawei gets license to manufacture medical equipment

Advertisement

Huawei Posture Correction Feature

The posture correction feature of Huawei will work while collecting real-time information using the inbuilt sensors in the device. In addition, it’ll be able to detect gesture movements of the user through the motion data or auxiliary data. Thereafter, analyzing them it’ll notify the athlete about his incorrect motion or exercise.

The patent technology mainly targets to provide adequate results to the players to make them avoid wrong movements. The wearable integrated with this function will be able to not only detects the wrong moves but also guide about the correct one. Moreover, the Huawei posture correction feature will encourage professionalism in the players during their workouts.

Huawei posture correction feature

To be mentioned, the company has a number of fitness bands and smartwatches in its wearable collection. It mainly contains, Huawei Watch Fit lineup, Watch GT lineup, Watch 3 series, and Huawei Bands. Therefore, it may to possible for the company to introduce this new feature for its wrist collection soon.

More About Patents:

Previously, Huawei reveals its auxiliary makeup patents that describe make-up communication technology to provide proper guidance. It uses has an HD camera, real-time data, and some inbuilt manual that offers effective makeup references to improve the skills. Yet, the company hasn’t announced it officially.

Advertisement

(Source: Ithome)

Continue Reading