Chapter 52: The Four-Tier Theory

There is a little more theory in this chapter, so let's bear with me.

Xiaoqiang: I thought about it for a long time before I wrote it, and this is the prototype of the theoretical basis after the super system.

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

In addition, I have several accounts protected in my hand, please contact me if the following readers see it (if anyone knows them, please let me know):

Flower belly pocket

Wudao Gongzi and Shi Qingxuan

Deep with the waves

Lingyu

Repair the dragon

thiefcat1220

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

It is certain that with the improvement and increase of functions, the volume of super systems will definitely become larger and larger in the future, which is the same as the operating system in a computer. The original operating systems, due to the completion of the function is very simple, as long as a floppy disk can be completely saved, and now, in order to meet more and more needs, the volume of the operating system continues to increase, taking Microsoft's operating system as an example, in which the volume of the Windows Vista operating system reaches the highest value, more than 4G, this is still without installing much software, of course, Microsoft is also aware of this serious problem, in the later Windows 7 kernel, more advanced technology is adopted, the volume is greatly reduced。

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

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

After thinking about it during this time, Han Feng identified several guiding principles.

First of all, the super system should have a very strong kernel, and this kernel can be continuously upgraded, and it should be easy to upgrade, and it is best not to affect those programs that already exist, and there is no such thing as a kernel for super systems now.

Secondly, the scalability should be large, when adding a certain function, you can't change too much because of this, it is best to implement plug-in management, you need to use it can be loaded, and if you don't need it, you can directly disable or uninstall it, that is, to achieve the module management mode. Moreover, even if one of the modules fails, the overall performance will not be affected.

In addition, security is also a key point, to be able to respond to all emergencies urgently, for these situations to judge and deal with their own situation, absolutely not to cause system crash. The crash problem must be solved as soon as possible, and in addition, Han Feng is not sure if there are other external factors that can cause the system to collapse, and this feeling of uncertainty is very bad.

Now, in this version of the super system, the mutual independence between the modules is very poor, and the coupling degree between the functional modules is high, and they have a great impact on each other, which is a very simple structure, which brings a lot of trouble to the upgrade.

It can be said that the current super system, like the previous DOS operating system, is very rudimentary, and the various components in the system are mixed together, and they can only complete very simple functions.

Moreover, the birth of the super system is similar to DOS, but it was developed step by step by a small experimental project, and at the beginning, it was not considered so much at all.

Now, the DOS-type super system is no longer sufficient, and Hanfeng has decided to upgrade it to a more advanced version.

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

His initial draft was to divide supersystems into four layers: the body layer, the abstract interface layer, the kernel layer, and the application layer, using the layering ideas in computer design.

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

Abstract interface layer, which is a new and important feature that Hanfeng intends to add. In fact, this level has been vaguely existing before, that is, the "instruction set" that Han Feng originally encapsulated, but these encapsulations at the beginning were not systematic, and only after encountering a problem would they consider the collection of the subtle operations involved.

In fact, the abstract interface layer is equivalent to the BIOS system in the computer, which is the layer between the hardware and the operating system, and is responsible for the data exchange between the two layers.

The abstract interface layer encapsulates some commonly used operations into various simple interface functions, which can be completed by calling these functions through the kernel and giving it instructions.

The existence of this layer ensures the independence of the kernel, that is, no matter how the kernel is upgraded, as long as the functions it calls are provided by this layer, there is no need to move those subtle operations, and this layer, like the BIOS, can be changed for decades.

At the top of the hierarchy are the super system kernel layer and the application layer.

The kernel layer is the core of the super system, and it is the key to the whole system. The application runs on the top application layer, and in any case, it cannot directly access the kernel, even if something like a virus appears in the future, it can only be troubled in the application layer, and will not affect the super system kernel, thus affecting the life of Han Feng.

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

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

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

However, before that, Han Feng still has an important problem to solve, and that is the foundation of the foundation in the super system - the file system.

That's why this is the foundation of the foundation, because even the super system itself needs to be saved on it, and all the data involved needs to be saved in the form of files.

Han Feng's current file system is too inefficient to use, and it may not be urgent to save one-ten-thousandth of the brain's own storage efficiency, or even one-hundredth-thousandth, which is simply a waste of luxury.

Therefore, before the super system upgrade, he has to upgrade his file system and improve the data storage algorithm, Han Feng does not have the luxury of being able to approach the natural utilization rate of the brain at one time, he just hopes to further improve, and he doesn't have to worry about the lack of brain disk storage capacity.