Chapter 219: The Pattern Wants to Open

The research direction of the HarmonyOS system mainly starts from the architecture.

At present, the technical direction of Xia Wei's research is compatible with Android to implement their own system, which is still based on the linux kernel, and then write some additional link libraries according to their own chip architecture at the HAL layer.

Because it is very similar to Android, many people will think that the HarmonyOS system is a shell of the Android system and is a pirated version!

In particular, Yu Dazui's braggadocio and marketing made many Chinese people a little disgusted with Xia Wei's behavior, and determined that Xia Wei was pirated, which was quite controversial.

In a conference room of Tianyu Xinghai, Xia Wei's newly moved system R&D personnel also met with Tianyu Xinghai's R&D personnel and exchanged technologies.

Now explaining the Hongmeng system in front of Ma Tian is their senior mobile phone system engineer Ran Shaobin.

Ran Shaobin came to Tianyu Xinghai to see Ma Tian four years ago, and he and Nie Zhenyuan came here for face recognition technology. (Chapter 97)

It's just that he remembers Ma Tian, and Ma Tian doesn't remember him very much.

"We will still use the same five-layer architecture as Android, considering that in order to be seamlessly compatible with Android, we want to keep the Android runtime......" Ran Shaobin talked about the model in front of the screen, and explained in detail the direction and progress of Xia Wei's research on the Hongmeng system.

The engineers below also listened carefully, especially the engineers on Tianyu Xinghai's side, because they were not very familiar, they even took notes with their notebooks.

When he was puzzled, he would also raise his hand to ask questions, interrupting Ran Shaobin's speech and letting Ran Shaobin solve his doubts.

Ran Shaobin also felt a lot of pressure above, especially when he saw Ma Tian also sitting below, listening to him with a serious face.

He had the feeling of defending his graduation when he was an undergraduate, when there were two academicians and a professor who came back from Stanford.

Even faintly, it is more terrifying than this feeling of defending in front of the big guy.

Because he saw how much Ma Tian's technology is four years ago, which is comparable to the brain of a machine, and it is comparable to the omniscient knowledge of a textbook.

"That's probably it, and we're still writing lib libraries based on our own Kirin chips!" Ran Shaobin spoke for about half an hour, watching Ma Tian wait for the last question.

"Done?" Ma Tian said.

Ran Shaobin nodded.

"Throw away Android and liunx kernels!" Ma Tian opened his mouth to clapp.

The reason why Xia Wei retains the Android architecture and Linux kernel now is mainly because the time is not ripe enough.

One is that I am afraid that my technology is not mature enough, and I am afraid that the developed operating system is not safe!

The operating system is different from other application software, it determines the life and death of many devices, and the security of the operating system is even related to the stability of a social system.

There is a type of vulnerability in information security called zero-day vulnerability, which refers to a security vulnerability that is maliciously exploited by hackers immediately after being discovered, and it is very dangerous if an operating system hides a large number of zero-day vulnerabilities.

Hackers can even directly enter the kernel state from the user mode to carry out process attacks, which is a great attack in the core infrastructure field.

As an example, an attacker can force the CPU of the phone's memory in your pocket to run like crazy, and then make your chip too hot and start spontaneously combustion.

It's equivalent to controlling the current of your device to make it go wrong.

Therefore, the security of the operating system is very important, and no one knows whether it has many security vulnerabilities in the system that has just come out, which takes time and requires a lot of examples to test.

The Linux kernel has gone from 1991 to the present, and its security and reliability have been verified by time after 30 years of ups and downs.

The second is to consider the cost, Eagle Sauce has not yet started on the open source protocol, that is, Android and Linux can still be used.

Ditching Android and Linux to rewrite the kernel is too expensive in terms of time and price.

Compatibility with Android and continued use of Android and the Linux kernel is the least expensive and most profitable option.

Of course, Xia Wei is also a little afraid that he will be unhappy to completely abandon Android and Liunx, after all, this involves the issue of interests and status.

I won't reveal the scars with this.

"Ditch Android and the Linux kernel directly?" Ran Shaobin and a group of Xia Wei engineers on the opposite side were a little surprised, and a group of people looked at Ma Tian directly.

Ma Tian explained: "It's very simple, we can make a stable and safe HarmonyOS system, and there is no need to provoke Android and Liunx." I have this confidence, I don't know if you have it! ”

After saying this, Ma Tian also had a smile on his face, wanting to see if anyone would question him.

Naturally, everyone present would not be stupid enough to question Ma Tian, and even the engineer on Tianyu Xinghai's side took the lead and said: "Have confidence!" ”

Just kidding, with the leadership of Mr. Ma, how can you not be confident!

Xia Wei can only follow the crowd, although many people have a little doubt in their hearts, but this is human nature and cannot be avoided.

In their opinion, completely abandoning the Linux kernel would involve more things, first of all, a lot of driver underlying code should be rewritten, and the interrupt mechanism GIC should be reconstructed.

This is a task that is destined to be a huge workload, and there are all kinds of difficulties to write it in.

However, when Ma Tian threw them a small kernel that he had written, they all shut up.

"Mr. Ma, what is this?" Ran Shaobin looked at the compressed package named "Tianyuan Core", and couldn't believe his guess.

"This is the kernel code I wrote to Dimensity to manipulate some of the equipment in my lab, you can refer to it!" Ma Tian replied.

As an artificial intelligence assistant, Dimensity can naturally manipulate some mechanical equipment in the laboratory in order to cooperate with Ma Tian more conveniently, and the logic of its operation naturally needs to use the system.

This Tianyuan kernel is part of the kernel of the Dimensity system, which was written by Ma Tian himself, and has been absolutely verified by security.

After all, if Tianji's core can be broken by others, Tianyu Xinghai will really be finished, and Ma Tian will be murdered by Tianji's control equipment first.

This is also the reason why Ma Tian has the confidence to say that he will abandon the liunx kernel at the meeting, because he has studied it and wrote a part of it himself.

Ma Tian continued: "Don't stick to the mobile phone system, the pattern is open, is there a smart home concept? ”

"Yes, Mr. Ma!" Ran Shaobin nodded.

The so-called smart home is to control the home of the whole family through a device, this Xia Wei has certainly imagined, their ideal state is to control all the devices in the home through a mobile phone.

For example, open the door, turn on the light, turn on the air conditioner on the mobile phone, or something.

"It's probably to rely on this, to build an ecology through this system, to be able to interact with other devices well, to achieve the Internet of Everything, this is what a really good mobile phone system should do!" Ma Tian said slowly.

In fact, when he wrote this Dimensity kernel at that time, he leaned on this aspect, and at that time he always wanted to turn Dimensity into an artificial intelligence butler like Jarvis in "Iron Man".

Later, due to energy limitations, it was not expanded, but a small kernel system was written to allow Dimensity to control some of the equipment in the laboratory.

For example, operate the robotic arm to take a hand, let the screen project problems, etc.

Therefore, the part that is deprived from the core of the Dimensity system is definitely a good reference for the HarmonyOS system to realize the Internet of Everything.

(End of chapter)