A TLS storage model compatible method for heterogeneous closed-source driven fusion operation

By constructing simulated memory pools and native memory pools, and employing hardware-level isolation and predictive scheduling mechanisms, the conflict between high-version Android systems and traditional Linux systems in the TLS storage model was resolved, achieving stable compatibility and efficient reuse of Android closed-source driver libraries in heterogeneous Linux environments.

CN122240362APending Publication Date: 2026-06-19北京麟卓信息科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
北京麟卓信息科技有限公司
Filing Date
2026-05-19
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

The bionic library in high-version Android systems conflicts with the glibc library in traditional Linux systems in terms of TLS storage model, register dependency, security verification and hardware characteristics, which makes libhybris unable to adapt, and consequently makes it difficult to achieve stable and efficient reuse of heterogeneous closed-source drivers on ARM64 architecture Linux systems.

Method used

By constructing simulated memory pools and native memory pools, and employing hardware-level isolation, predictive scheduling, and a graph-driven field synchronization mechanism, conflicts in the TLS storage model are resolved, achieving stable compatibility of Android closed-source driver libraries in heterogeneous Linux environments.

Benefits of technology

It achieves stable compatibility and efficient reuse of Android closed-source driver libraries in heterogeneous Linux environments, resolves conflicts in TLS storage models, register dependencies, security verification, and dynamic expansion, and ensures system stability and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122240362A_ABST
    Figure CN122240362A_ABST
Patent Text Reader

Abstract

This invention discloses a TLS storage model compatibility method for heterogeneous closed-source driver integration. During system startup, a simulated memory pool and a native memory pool are constructed. When threads related to the heterogeneous closed-source driver are created, free storage blocks are allocated from both memory pools, and a thread mapping table is established. When a thread first accesses a TLS variable, the simulated storage block fields are initialized, and checksums for each region are calculated using a private salt value. The Android driver library performs verification on the simulated storage blocks. During thread execution, boundary function call timestamps are recorded, and valid records are filtered to calculate call probabilities. When a thread switches between Linux components and the Android driver library, the pre-switching is determined based on the boundary function call probabilities. During Android driver library operation, a field dependency graph is constructed for the private fixed field area of ​​the simulated memory pool, and the private fields are updated according to the graph rules. Ultimately, this achieves adaptation and compatibility of dual TLS layouts in heterogeneous environments and dynamic pre-switching management.
Need to check novelty before this filing date? Find Prior Art