Font
Large
Medium
Small
Night
Prev Index    Favorite Next

Chapter 52 Four-layer Theory

There is a little more theory in this chapter, so everyone can forgive me.

Xiaoqiang, I thought about it for a long time before I wrote it out. This is the prototype of the theoretical basis of the super system.

May Day is here, I wish you all a happy holiday. May Day Xiaoqiang continues to update... Finally, I request to keep the monthly ticket for Xiaoqiang, thank you!

In addition, I have protected several accounts. Please contact me if you see it (if anyone knows you, please let me know).

Belly belly bag

The Master Wudao and Shi Qingxuan

Deep and waves

Lingyu

Cultivate the Dragon of Tomorrow

thiefcat1220

=================================================

It is certain that with the improvement and increase of functions, the volume of the super system will definitely become larger and larger in the future, which is the same as the operating system in the computer. The initial operating systems, because the functions completed are very simple, can be completely saved with just a floppy disk. Now, in order to meet more and more needs, the size of the operating system continues to increase. Take Microsoft's operating system as an example. The volume of the Windows Vista operating system reaches the highest value, exceeding 4G, which is still in the absence of much software installed. Of course, Microsoft also realized this serious problem. In the later Windows 7 kernel, more advanced technology was used to greatly reduce the volume.

If Han Feng does not upgrade the underlying architecture of the super system and continues to do so according to the current situation, it can be expected that the super system will soon fall to the brink of collapse in the near future, and at that time, it will be much more difficult for Han Feng to undergo another major operation than it is now.

In addition, Han Feng also noticed that the super system will be affected by external factors, which may cause some unpredictable changes. How to prevent and deal with these unexpected interference factors is also an important issue that needs to be paid attention to.

After thinking during this period of time, Han Feng determined several guiding principles.

First of all, the super system must have a very powerful kernel, and this kernel can be continuously upgraded, so it is very convenient to upgrade. It is best not to affect the existing programs. The super system does not have such a kernel yet.

Secondly, the scalability is high. When adding a certain function, you cannot modify too many things. It is best to implement plug-in management. If you need to use it, you can load it. If you don’t need it, it will be directly disabled or uninstalled, that is, to realize the module management mode. Moreover, even if one of the modules fails, it will not affect the overall performance.

In addition, security is also a key point. We must be able to respond to all emergencies urgently and make judgments and deal with these situations by ourselves. We will definitely not allow the system to collapse. The problem of crashes must be solved as soon as possible. In addition, Han Feng cannot be sure whether there are other external factors that can cause the system to collapse. This feeling of not being sure of is very bad.

Now, in this version of the super system, the mutual independence between modules is very poor, the coupling degree between various functional modules is high, intersected, and their respective influence is very large. This is a very simple structure, which brings great trouble to the upgrade.

It can be said that the current super system is just like the previous DOS operating system, very simple. The various components in the system are mixed together and can only complete very simple functions without distinguishing each other.

Moreover, the birth of the super system is similar to DOS, but it was developed step by step from a very small experimental project. At the beginning, there was no consideration for so much.

Now, the DOS-type super system can no longer meet the requirements, and Han Feng decided to upgrade it to a more advanced version.

Han Feng now has a rough design in his mind. After all, he has led many military projects before and has accumulated a lot of experience in this regard.

His initial draft was to use the layered idea in computer design to initially divide the super system into four layers, namely: body layer, abstract interface layer, kernel layer and application layer.

The body layer is equivalent to the hardware layer of the computer, but the hardware of the super system is Han Feng's body. This is the lowest level of the super system. All the instructions will eventually be issued here, resulting in various actions.

The abstract interface layer is a new important feature that Han Feng intends to add. In fact, this level has vaguely existed before, which is the "instruction set" that Han Feng initially encapsulated. However, these encapsulations at the time are not systematic. Only after encountering a problem will we consider the collection of the subtle operations involved.

In fact, the abstract interface layer is equivalent to the BIOS system in the computer. It is located in the middle of the hardware and the operating system, and is responsible for the data exchange work of these two layers.

The abstract interface layer encapsulates some commonly used operations into various simple interface functions. These actions can be completed by calling these functions through the kernel and placing instructions for them.

The existence of this layer ensures the independence of the kernel. That is to say, no matter how the kernel is upgraded, as long as the functions it calls are provided by this layer, there is no need to do any minor operations. This layer, like BIOS, can be changed for decades without any changes.

Upwards are the super system kernel layer and application layer.

The kernel layer is the core of the super system and is the key to the entire system. The reason why it is independent is a bit too many, it is convenient to upgrade and safer. Applications run on the top application layer, and no matter what, they cannot directly access the kernel. Even if something like virus appears in the future, they can only mess around in the application layer without affecting the super system kernel, thus having an impact on Han Feng's life.

In addition, the separation of the kernel and the application also facilitates porting. No matter how the kernel is upgraded, these programs can be used directly without any modification.

This is the four-layer structure newly designed by Han Feng for the super system.

It can be expected that if a new super system is truly written, it will definitely be another milestone upgrade, just like Microsoft launched Windows 95, which is of epoch-making significance.

However, before this, Han Feng still has an important problem that needs to be solved, that is, the basics in the super system - the file system.

The reason why this is the foundation of the foundation is because even the super system itself needs to be saved on this, and all the data involved needs to be saved in the form of a file.

Han Feng’s current file system is too low to use. It may not be a rush to use one ten thousandth of the brain’s own storage efficiency, or even one hundred thousandth of the year. It is a luxury waste.
Chapter completed!
Prev Index    Favorite Next