A software module compilation method, electronic device, medium, and product

By monitoring module modification operations, and using module dependency graphs and binding mapping tables to identify and recompile affected modules, the problem of high time and cost of software module compilation and hot updates is solved, improving development efficiency and code consistency.

CN120631376BActive Publication Date: 2025-11-14HUNDSUN TECH
1 Cites 0 Cited by

Patent Information

Application Number
CN202511106472.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-08
Publication Date
2025-11-14
Estimated Expiration
2045-08-08

AI Technical Summary

Technical Problem

In existing technologies, the compilation and hot updating of software modules are time-consuming and computationally resource-intensive, resulting in low development efficiency.

Method used

By monitoring module modifications, and utilizing a pre-generated module dependency graph and binding mapping table, other modules that have dependencies on the modified module are identified, and only these modules whose imported content contains the modified content are recompiled.

Benefits of technology

It optimizes resource utilization, improves development efficiency, ensures code consistency and correctness, reduces the time and computing resources required for software module compilation and hot updates, and enhances the maintainability and scalability of software projects.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

This invention discloses a software module compilation method, electronic device, medium, and product. The method includes: after detecting a modification operation on a first module, determining the first content that has changed in the first module; obtaining a pre-generated module dependency graph and binding mapping table; determining at least one second module that has a dependency relationship with the first module according to the module dependency graph; selecting at least one recompiled module whose imported content contains the first content from the at least one second module according to the binding mapping table; and recompiling the at least one selected recompiled module. This ensures the consistency and correctness of the code, compiles only the affected parts, saves time and computing resources for software module compilation and hot updates, improves development efficiency, optimizes resource utilization, and enhances the maintainability, scalability, and project management efficiency of the software project.
Need to check novelty before this filing date? Find Prior Art