基于统一分包模式的小程序按需动态加载分包方法

By adopting a unified sub-package model and intelligent management mechanism, the problems of dynamic loading of mini-program sub-packages and the complexity of dependency relationships are solved, achieving efficient resource management and performance improvement, and enhancing the startup performance and user experience of mini-programs.

CN121455562BActive Publication Date: 2026-07-17BEIJING LEYU ZHIXIN TECHNOLOGY SERVICE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING LEYU ZHIXIN TECHNOLOGY SERVICE CO LTD
Filing Date
2025-11-11
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

The existing mini-program sub-package loading mechanism lacks dynamic capabilities, resulting in low resource utilization efficiency, increased development and maintenance costs, and complex management of dependencies between sub-packages, which can easily lead to circular dependencies or repeated loading of resources, affecting application performance and user experience.

Method used

By adopting a unified sub-package model, and through standardized configuration information, sub-package resource lists, and dependency graph construction, we can achieve efficient dynamic loading and unified management of mini-program sub-packages, including sub-package lifecycle management, resource scheduling, and dependency optimization.

Benefits of technology

It enables precise management and on-demand loading of mini-program subpackage resources, reduces initial loading size and time cost, improves startup performance and user experience, increases system resource utilization and reduces memory usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121455562B_ABST
    Figure CN121455562B_ABST
Patent Text Reader

Abstract

本发明提供基于统一分包模式的小程序按需动态加载分包方法,涉及移动应用开发技术领域,包括通过建立标准化配置信息、分包资源清单、分包生命周期状态机和分包依赖图,结合分包运行时管理器实现按需加载和页面渲染。本发明可以减少初始化加载时间,优化内存占用,提高小程序启动性能,同时标准化的分包机制能够降低开发复杂度,提升跨平台兼容性。
Need to check novelty before this filing date? Find Prior Art