System dynamic reconstruction method

Through the dynamic system reconstruction method of performing software and hardware monitoring tasks in parallel, the complexity and time-consuming problems of traditional operating system update methods are solved, and seamless updates to modules and applications are achieved without interrupting the system operation. Improves the flexibility and maintenance of the system, and significantly improves the reconstruction speed and efficiency.

CN118963823APending Publication Date: 2024-11-15BEIJING INST OF COMP TECH & APPL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411233556.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Traditional operating system update methods require interruption of system services, which is time-consuming and complex, especially for inconvenient maintenance of embedded devices, making it difficult to upgrade and optimize system functions without affecting the operation of the system.

Method used

Adopt a dynamic reconstruction method of parallel execution of software monitoring tasks and hardware monitoring tasks. The software monitoring tasks are responsible for seamless updates of operating system modules and applications. The hardware monitoring tasks manage the dynamic loading and unloading of hardware modules and drivers in real time, and support hot Plug-out technology.

Benefits of technology

It realizes seamless reconstruction of system modules and applications when the system is running, reduces update complexity and time, improves system flexibility and maintenance, significantly improves reconstruction speed and efficiency, and ensures high efficiency and cleanliness of the system. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963823A_ABST
    Figure CN118963823A_ABST
Patent Text Reader

Abstract

The invention relates to a system dynamic reconstruction method, and belongs to the field of computer operating systems. The invention also discloses a method. In the dynamic reconfiguration process of the system, the reconfiguration of the system module and the application program does not need to interrupt the operation of the whole system. According to the method, seamless reconstruction of the module and the application program during system operation is directly realized, and the module and the application program are integrated into a current active operating system environment. In addition, hardware equipment and a driving program thereof are comprehensively compatible with a hot plug technology, so that the reconstruction operation in the system becomes more flexible and efficient. According to the method, the speed and efficiency of system reconstruction are remarkably improved, the complexity of the reconstruction process is greatly reduced, and meanwhile, the cleanliness and maintainability of the system architecture are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of computer operating systems, and in particular relates to a method for dynamic system reconstruction. Background Art

[0002] The so-called operating system dynamic reconstruction technology means that the operating system can intelligently realize the dynamic mounting and unmounting of system modules while the system is running continuously, without interrupting system services. In this process, the operating system has a built-in soft bus mechanism as a bridge for communication and collaboration between modules, allowing system modules to be flexibly mounted on the soft bus for execution, thus avoiding the tediousness of replacing the entire operating system image due to module updates.

[0003] Compared with traditional operating systems, especially embedded systems, the update method is often limited to replacing the complete operating system image to the hard disk or writing the new image to the motherboard's Flash memory through a burning tool. This process not only requires pausing all running tasks in the system, but also requires powering off and restarting the hardware device to ensure the smooth loading of the new system. This update method is not only complex and time-consuming, but also particularly difficult to implement for deployed embedded devices, which may involve inconveniences such as on-site maintenance and equipment downtime.

[0004] Therefore, the introduction of dynamic operating system reconstruction technology has greatly simplified the update process, improved the flexibility and maintainability of the system, and made it easy to upgrade and optimize system functions without affecting the normal operation of the system. Summary of the invention

[0005] 1. Technical issues to be resolved

[0006] The technical problem to be solved by the present invention is how to provide a method for dynamic system reconstruction to improve the speed and efficiency of system reconstruction and reduce the complexity of the reconstruction process.

[0007] (II) Technical solution

[0008] In order to solve the above technical problems, the present invention proposes a method for dynamic system reconfiguration, which executes two major tasks in parallel: software monitoring task and hardware monitoring task;

[0009] The software monitoring task focuses on the uninterrupted monitoring of system modules and applications within the operating system. Once any system module or application needs to be updated, the software monitoring task will respond quickly and be responsible for safely loading the updated system module or application into the operating system and simultaneously removing the old version of the system module or application.

[0010] The hardware monitoring task focuses on the dynamic management of hardware modules and monitors the status changes of hardware modules in the system in real time. When a new hardware module is detected, the hardware monitoring task will start immediately, integrate the hardware module into the system architecture, and automatically load the corresponding driver. On the contrary, if a hardware module in the system is removed, the hardware monitoring task will perform the reverse operation and safely uninstall the hardware module and its corresponding driver from the system.

[0011] (III) Beneficial effects

[0012] The present invention proposes a method for dynamic reconstruction of a system. In the process of dynamic reconstruction of the system, the reconfiguration of system modules and applications does not need to interrupt the operation of the entire system. The present invention directly realizes the seamless reconstruction of modules and applications when the system is running, and integrates them into the currently active operating system environment. In addition, the hardware devices and their drivers are fully compatible with hot-plug technology, making the reconstruction operation within the system more flexible and efficient. The method of the present invention not only significantly improves the speed and efficiency of system reconstruction, but also greatly reduces the complexity of the reconstruction process. At the same time, the present invention also promotes the improvement of the neatness and maintainability of the system architecture. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a schematic diagram of the software monitoring task of the present invention;

[0014] Figure 2 Schematic diagram of the hardware monitoring task of the present invention. DETAILED DESCRIPTION

[0015] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.

[0016] Aiming at the limitations of current system reconstruction solutions and closely combining the actual needs and characteristics of the operating system field, an innovative system dynamic reconstruction method is designed, aiming to significantly improve the efficiency and flexibility of operating system reconstruction.

[0017] The present invention provides a method for dynamic system reconstruction, the core of which is to execute two major tasks in parallel: a software monitoring task and a hardware monitoring task.

[0018] The software monitoring task focuses on the uninterrupted monitoring of system modules and applications within the operating system. Once any system module or application needs to be updated, the software monitoring task will respond quickly and be responsible for safely loading the updated system module or application into the operating system, and simultaneously removing the old version of the system module or application, to ensure the seamless connection of the update process and the stable operation of the operating system;

[0019] The hardware monitoring task focuses on the dynamic management of hardware modules. It monitors the status changes of hardware modules in the system in real time. When a new hardware module is detected, the hardware monitoring task will start immediately, integrate the hardware module into the system architecture, and automatically load the corresponding driver to ensure that the new hardware can be put into use quickly. On the contrary, if a hardware module is removed from the system, the hardware monitoring task will perform the reverse operation and safely uninstall the hardware module and its corresponding driver from the system to avoid resource occupation and potential conflicts.

[0020] This carefully designed system dynamic reconstruction method not only overcomes many shortcomings of traditional reconstruction solutions, but also greatly improves the response speed and adaptability of the operating system when dealing with changes, laying a solid foundation for building a more efficient, flexible and stable system environment.

[0021] Embodiment 1:

[0022] By adopting the dynamic reconstruction technology of the present invention, flexible software and hardware management can be achieved after the operating system is started. Specifically, the system deploys two core monitoring tasks: software monitoring task and hardware monitoring task. The software monitoring task is responsible for real-time monitoring of the state changes of system modules and applications in the operating system, and performs necessary reconstruction operations accordingly; while the hardware monitoring task focuses on the hardware devices and their device drivers in the operating system, ensuring that the hardware and driver reconstruction can be quickly performed when necessary.

[0023] At the software level, each system module and application program in the operating system is independently interconnected through an innovative soft bus architecture. This design not only enhances the independence of the modules, but also ensures efficient and flexible communication between modules. During system operation, data exchange between all modules is carried out through the soft bus, realizing centralized management and optimization of data flow.

[0024] The system module is subdivided into multiple key components, including but not limited to: task management module, scheduling module, memory management module, file system module, input and output module, as well as possible security module and password module, system driver module, etc., which jointly support the stable operation of the operating system. The above key components all exchange data through the soft bus.

[0025] To effectively manage memory resources, the operating system divides memory into three major areas: the normal system operation area, the system module update area, and the application update area. This division strategy ensures efficient use of resources and fast response.

[0026] When the software monitoring task identifies that a system module needs to be updated, the operating system will follow a carefully designed process: first, the new module is loaded into the system module update area of ​​the memory; then, the new module is mounted to the soft bus but remains inactive. At the right time, the system suspends all current tasks, saves the running data of the old module to the stack space, activates the new module, removes the old module, and finally restores the old data to the new module to achieve seamless replacement.

[0027] For application updates, the operating system also adopts an efficient strategy: after detecting the need for an update, the original application data is first saved, and then the application is switched from the running state to the removed state, while the new application is loaded from the hard disk to the application update area. After the loading is complete, the new application is started directly using the stack space location of the old data, achieving seamless switching of application updates.

[0028] At the hardware level, the system adopts a design that separates the core board from the daughter board. The core board carries the core functions of the operating system, while the daughter board provides peripheral devices or module support required by the application. The two are connected through a physical connector and coded signal protocol with a standardized interface, and support hot-swappable function of the daughter board.

[0029] Once the daughterboard is connected, the hardware monitoring task can automatically identify and load the corresponding device information and driver to the system driver module through the standard interface. The system driver module also works with other modules through the soft bus. If the daughterboard is removed, the hardware monitoring task will automatically uninstall the relevant driver, freeing up system resources and keeping the system clean and efficient.

[0030] The key of the present invention is:

[0031] Dynamic system reconfiguration is an innovative solution that aims to seamlessly update and reconfigure system modules, applications, and drivers in an operating system environment. It effectively solves the tedious steps of shutting down the system, burning new code, and restarting in traditional update methods, thereby simplifying the update process and keeping the system clean and running efficiently. The advantages of this method include:

[0032] Real-time update capability: allows the specified system modules to be updated directly while the system is running continuously without interrupting the service.

[0033] Accelerated application software reconstruction: significantly improved the efficiency of application reconstruction, shortened the update cycle, and enhanced the responsiveness and flexibility of the system.

[0034] Hardware and driver update optimization: simplifies the update and reconstruction process of hardware devices and their drivers, improves update efficiency, and ensures the compatibility of hardware and software.

[0035] Reduce operational complexity: Reduce the difficulty of system update and reconstruction, make maintenance work easier and more efficient, and reduce operational risks.

[0036] Enhance system performance and cleanliness: Through real-time updates and reconstruction, the system maintains efficient operation and promotes the cleanliness and standardization of the system architecture.

[0037] In the process of dynamic reconstruction of the system, the reconfiguration of system modules and applications does not need to interrupt the operation of the entire system. The present invention directly realizes the seamless reconstruction of modules and applications when the system is running, and integrates them into the currently active operating system environment. In addition, the hardware devices and their drivers are fully compatible with hot-swap technology, making the reconstruction operation within the system more flexible and efficient. This method not only significantly improves the speed and efficiency of system reconstruction, but also greatly reduces the complexity of the reconstruction process. At the same time, the present invention also promotes the improvement of the neatness and maintainability of the system architecture.

[0038] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for dynamic system reconstruction, characterized in that: Execute two major tasks in parallel: software monitoring task and hardware monitoring task; The software monitoring task focuses on the uninterrupted monitoring of system modules and applications within the operating system. Once any system module or application needs to be updated, the software monitoring task will respond quickly and be responsible for safely loading the updated system module or application into the operating system and simultaneously removing the old version of the system module or application. The hardware monitoring task focuses on the dynamic management of hardware modules and monitors the status changes of hardware modules in the system in real time. When a new hardware module is detected, the hardware monitoring task will start immediately, integrate the hardware module into the system architecture, and automatically load the corresponding driver. On the contrary, if a hardware module in the system is removed, the hardware monitoring task will perform the reverse operation and safely uninstall the hardware module and its corresponding driver from the system.

2. The method for dynamic system reconstruction according to claim 1, characterized in that: Each system module and application program in the operating system is independently interconnected through a soft bus architecture.

3. The method for dynamic system reconfiguration according to claim 2, characterized in that: The system module is subdivided into several key components, including: task management module, scheduling module, memory management module, file system module, input and output module, as well as possible security module and password module, and system driver module.

4. The method for dynamic system reconstruction according to claim 3, characterized in that: The operating system divides memory into three major areas: the normal system operation area, the system module update area, and the application update area.

5. The method for dynamic system reconstruction according to claim 4, characterized in that: When the software monitoring task identifies that a system module needs to be updated, the operating system executes the following process: first, the new module is loaded into the system module update area of ​​the memory; then, the new module is mounted to the soft bus but remains inactive; at the appropriate time, the system suspends all current tasks, saves the running data of the old module to the stack space, activates the new module, removes the old module, and finally restores the old data to the new module to achieve seamless replacement.

6. The method for dynamic system reconfiguration according to claim 4, characterized in that: For application updates, the operating system adopts the following strategy: after detecting the need for an update, the original application data is first saved, then the application is changed from the running state to the removed state, and the new application is loaded from the hard disk to the application update area; After loading is complete, the new application is started directly using the stack space location of the old data, achieving seamless switching of application updates.

7. The method for dynamic system reconfiguration according to claim 3, characterized in that: The system adopts a design that separates the core board and the daughter board. The core board carries the core functions of the operating system, while the daughter board provides peripheral devices or module support required by the application.

8. The method for dynamic system reconfiguration according to claim 7, characterized in that: The core board and the daughter board are connected through a physical connector of a standardized interface and a coded signal protocol, and support hot swapping of the daughter board.

9. The method for dynamic system reconfiguration according to claim 8, characterized in that: Once the daughterboard is connected, the hardware monitoring task automatically identifies and loads the corresponding device information and driver program to the system driver module through the standard interface. The system driver module works in coordination with other modules through the soft bus. If the daughterboard is removed, the hardware monitoring task will automatically uninstall the related drivers to release system resources.

10. The method for dynamic system reconfiguration according to claim 1, characterized in that: The system is an embedded system.