Method and device for page rendering

The invention relates to a method and device for page rendering. The method comprises the following steps: acquiring an updated current node tree, searching a current set subtree in the current node tree, and acquiring a corresponding identifier of the current set subtree; judging whether the identi...

Full description

Saved in:
Bibliographic Details
Main Authors GUI XUYU, HU HAO, LUO WEIBANG, HUANG JISHENG, YOU SHUNHANG, PENG YUYANG, LIN CHAO, HU HAOJUN, CHENG ZHE, HUANG CANHUI, LIN QINGJIE, PENG HAITIAN
Format Patent
LanguageChinese
English
Published 26.04.2017
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention relates to a method and device for page rendering. The method comprises the following steps: acquiring an updated current node tree, searching a current set subtree in the current node tree, and acquiring a corresponding identifier of the current set subtree; judging whether the identifier is the same as an identifier of an original set subtree, if yes, then retaining a corresponding original view node of the original set subtree in a current page, and if not, then generating an updated view node corresponding to the current set subtree; and rendering an updated page according to the original view node and the updated view node. The method for the page rendering provided by the invention can improve the efficiency of page update display. 本发明涉及种页面渲染的方法和装置,包括:获取更新后的当前节点树,查找所述当前节点树中的当前集合子树,获取所述当前集合子树对应的标识;判断所述标识是否与原始节点树的原始集合子树的标识相同,如果相同,则保留所述原始集合子树在当前页面对应的原始视图节点;如果不相同,则生成所述当前集合子树对应的更新视图节点;根据所述原始视图节点和更新视图节点渲染生成更新后的页面,能提高页面更新显示的效率。
Bibliography:Application Number: CN201611054075