An assembly loading method, device, computer device and storage medium

By quantifying the visibility and importance of components and determining the loading strategy, the problem of slow initial page loading caused by the large number of components in large React single-page applications is solved, realizing intelligent and efficient management of component loading and improving user experience.

CN122173156APending Publication Date: 2026-06-09BEIJING BAILONG MAYUN TECH CO LTD

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING BAILONG MAYUN TECH CO LTD
Filing Date
2026-01-27
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

In large React single-page applications, the large number of components leads to slow initial page load speed, and traditional methods are difficult to manage component loading efficiently, affecting user experience.

Method used

By quantifying the basic visibility score and target visibility score of a component based on the positional features, citation frequency, and byte count of the abstract syntax tree, a synchronous or asynchronous loading strategy can be determined, enabling intelligent and differentiated management of the component.

Benefits of technology

The component loading strategy has been optimized to reduce the first screen loading time, improve page loading efficiency and user experience, and ensure that critical resources are loaded quickly while non-critical resources are loaded on demand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122173156A_ABST
    Figure CN122173156A_ABST
Patent Text Reader

Abstract

The embodiments of this application relate to the field of computer software technology, specifically to a component loading method, apparatus, computer device, and storage medium. The main steps of the aforementioned method include: determining the basic visibility score of a component based on its positional characteristics in an abstract syntax tree; determining the target visibility score of a component based on its citation frequency and byte count, as well as the basic visibility score; determining the target loading strategy for the component based on its target visibility score and citation frequency, and loading the component according to the target loading strategy. The target loading strategy includes at least synchronous loading and asynchronous loading strategies. By assigning and executing synchronous or asynchronous loading strategies for each component based on precisely quantified target visibility scores, the first-screen loading time is significantly reduced, improving overall page loading efficiency and user experience.
Need to check novelty before this filing date? Find Prior Art