The modular operating system of RoshX consists of installing the kernel and installing the password package, which is based on the principles of "decomposition" and "modularization" to control the complexity of large software. The operating system can have a clear structure, the operating system is no longer directly composed of many processes, but carefully divided into a number of independent and size modules according to its functions.
RoshX'sEach module of the modular operating system has some management functions, such as process management module, memory management module,I / O device management module, etc., and carefully define the interface between each module, so that each module can interact through this interface. Then, use theModuleThe interface method further subdivides each module into several interfaces between sub-modules with certain functions, thus forming the modular structure operating system of RoshX.
In the module-interface design method adopted by RoshX, how to divide the modules and define the interface between modules is the key direction of RoshX. If the module is divided too small, although it can reduce the complexity of the module itself, it will cause too many connections between the modules, and will cause confusion in the system; if the module is divided too much, it will increase the complexity of the module and increase the internal connections. Therefore, when dividing the module, RoshX makes a tradeoff between the two.
In addition, when dividing the module, RoshX pays full attention to the independence of the module. Because the higher the independence of the module, the less the interaction between the modules, and the clearer the structure of the system. RoshX uses the following two criteria when measuring module independence:
Cohesion refers to the degree of closeness between the parts of a module. The higher the cohesion, the stronger the independence of the module.
The degree of coupling refers to the degree to which modules relate to and influence each other. Obviously, the lower the degree of coupling, the better the independence of the module.
RoshXUtilization moduleThe operating system developed by the interface method has the following obvious advantages over the unstructured operating system:
Improve the correctness, understandability and maintainability of operating system design
Enhance the adaptability of the operating system
Speed up the development of the operating system.
The modular structure design can minimize the space occupied by the system, and users can compile it according to their own actual needs.Application softwarWill be greatly improvedHard diskUsage, reduce CPU andMemoryA waste of resources. At the same time, the size of the installation package will be greatly reduced.
The modular operating system of RoshX consists of installing the kernel and installing the password package, which is based on the principles of "decomposition" and "modularization" to control the complexity of large software. The operating system can have a clear structure, the operating system is no longer directly composed of many processes, but carefully divided into a number of independent and size modules according to its functions.
RoshX'sEach module of the modular operating system has some management functions, such as process management module, memory management module,I / O device management module, etc., and carefully define the interface between each module, so that each module can interact through this interface. Then, use theModuleThe interface method further subdivides each module into several interfaces between sub-modules with certain functions, thus forming the modular structure operating system of RoshX.
In the module-interface design method adopted by RoshX, how to divide the modules and define the interface between modules is the key direction of RoshX. If the module is divided too small, although it can reduce the complexity of the module itself, it will cause too many connections between the modules, and will cause confusion in the system; if the module is divided too much, it will increase the complexity of the module and increase the internal connections. Therefore, when dividing the module, RoshX makes a tradeoff between the two.
In addition, when dividing the module, RoshX pays full attention to the independence of the module. Because the higher the independence of the module, the less the interaction between the modules, and the clearer the structure of the system. RoshX uses the following two criteria when measuring module independence:
Cohesion refers to the degree of closeness between the parts of a module. The higher the cohesion, the stronger the independence of the module.
The degree of coupling refers to the degree to which modules relate to and influence each other. Obviously, the lower the degree of coupling, the better the independence of the module.
RoshXUtilization moduleThe operating system developed by the interface method has the following obvious advantages over the unstructured operating system:
Improve the correctness, understandability and maintainability of operating system design
Enhance the adaptability of the operating system
Speed up the development of the operating system.
The modular structure design can minimize the space occupied by the system, and users can compile it according to their own actual needs.Application softwarWill be greatly improvedHard diskUsage, reduce CPU andMemoryA waste of resources. At the same time, the size of the installation package will be greatly reduced.