组件加载隔离方法、装置、设备、存储介质及计算机程序产品

By intercepting and separating component loading requests, and using application class and component class loaders to load business and technical component classes, the version conflict problem was resolved, enabling stable operation of business applications and coexistence of multiple versions.

CN121523762BActive Publication Date: 2026-07-17BEIJING PACTERA JINXIN TECH LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING PACTERA JINXIN TECH LTD
Filing Date
2025-11-10
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing component loading methods that rely on version number matching cannot completely avoid version conflicts, leading to abnormal business operations.

Method used

By intercepting component loading requests from business applications, the application class loader loads business application classes and technical component classes. When the technical component classes fail to load, the component class loader loads the technical component classes and their third-party dependencies, thus achieving multi-version coexistence and dynamic loading.

Benefits of technology

This effectively avoids version conflicts, ensures that the class loaders of business applications and technical components run independently, avoids runtime exceptions, and achieves multi-version coexistence and dynamic loading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121523762B_ABST
    Figure CN121523762B_ABST
Patent Text Reader

Abstract

本申请公开了一种组件加载隔离方法、装置、设备、存储介质及计算机程序产品,涉及计算机技术领域,该方法包括:拦截业务应用触发的组件加载请求,并根据组件加载请求确定当前开发项目的待调用技术组件;通过应用类加载器加载当前开发项目中业务应用所需的调用类,调用类包括业务应用对应的业务应用类和待调用技术组件对应的技术组件类;在技术组件类加载失败的情况下,通过组件类加载器加载技术组件类。由于本发明可以通过应用类加载器加载业务应用类和技术组件类,并在技术组件类加载失败时,通过组件类加载器加载技术组件类,从而解决了现有技术中依赖版本号匹配的组件加载方法无法完全避免版本冲突,容易导致业务运行异常的技术问题。
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Loading method and system of functional unit interface resource of application program

    CN104216751A

  • Multi-plug-in issuing method, system and equipment based on class loading and storage medium

    CN117112057A