Page data compiling method and apparatus, and page rendering method and apparatus

The invention relates to a page data compiling method and apparatus. The method comprises steps of acquiring initial page structure data generated by an extensible markup language, and analyzing the initial page structure data for code rendering to generate corresponding script language page data. T...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: GUI XUYU, HU HAO, HUANG JISHENG, YOU SHUNHANG, LIN CHAO, HU HAOJUN, PENG HAITIAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a page data compiling method and apparatus. The method comprises steps of acquiring initial page structure data generated by an extensible markup language, and analyzing the initial page structure data for code rendering to generate corresponding script language page data. The script language page data has a page generation method; the page generation method inputs a data variable set and outputs a node tree matched with the input; the script language page data is sent to a terminal, so the terminal can display a corresponding page according to the script language page data; and page displaying efficiency can be improved and dynamicity can be maintained. Besides, the invention further provides a page rendering method and apparatus. 本发明涉及种页面数据编译的方法和装置,包括获取由扩展标记语言生成的初始页面结构数据,解析所述初始页面结构数据进行代码渲染生成对应的脚本语言页面数据,所述脚本语言页面数据包括页面生成方法,所述页面生成方法的输入为数据变量集合,所述页面生成方法的输出为与输入匹配的节点树;所述脚本语言页面数据用于发送至终端,以使所述终端根据所述脚本语言页面数据显示对应的页面,提高页面展示效率的同时保留动态性,另外还提供了种页面渲染的方法和装置。