A data rendering method, apparatus, electronic device and medium

By constructing and rendering the object tree structure in a sub-thread of the page, the problem of low rendering efficiency on the main thread of the page is solved, rendering efficiency is improved and stability is guaranteed.

CN115729655BActive Publication Date: 2026-05-26TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2021-08-27
Publication Date
2026-05-26

Smart Images

  • Figure CN115729655B_ABST
    Figure CN115729655B_ABST
Patent Text Reader

Abstract

This application discloses a data rendering method, apparatus, electronic device, and medium, applicable to various scenarios such as cloud technology, AI, smart transportation, and vehicle-mounted systems. The method includes: obtaining a page display request from an application client, calling the main page thread to obtain the page data requested for display, then calling a sub-page thread to create object nodes corresponding to each control node in the control tree structure included in the page data, and establishing a mapping relationship between each object node and the display attribute information corresponding to each control node based on the sub-page thread, obtaining an object tree structure. Then, the sub-page thread can sequentially traverse each object node, and render and display the page controls corresponding to each object node according to the display attribute information mapped to the traversed object nodes. Using this application embodiment helps improve the efficiency of rendering page data.
Need to check novelty before this filing date? Find Prior Art