Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, device, electronic device and storage medium for rendering interface of applet

A small program and interface technology, applied in the computer field, can solve the problems of long user interface update time, etc., to achieve the effect of improving interactive experience, improving display efficiency, and reducing time

Pending Publication Date: 2019-02-22
TIANJIN BYTEDANCE TECH CO LTD
View PDF9 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The disclosure provides a small program interface rendering method, device, electronic equipment and storage medium, which can solve the problem that each transmission between the JavaScript engine and the WebView component is the full amount of data of the user interface, resulting in a long update time of the user interface question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device, electronic device and storage medium for rendering interface of applet
  • Method, device, electronic device and storage medium for rendering interface of applet
  • Method, device, electronic device and storage medium for rendering interface of applet

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038]Embodiments of the present disclosure are described in detail below, and examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present disclosure and should not be construed as limiting the present disclosure.

[0039] The interface rendering method, device, electronic device and storage medium of the applet according to the embodiments of the present disclosure are described below with reference to the accompanying drawings.

[0040] figure 1 It is a schematic flowchart of a method for rendering an interface of a small program provided by an embodiment of the present disclosure.

[0041] Such as figure 1 As shown, the interface rendering method of this applet includes the following steps:

[0042] Step 101, receivi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method for rendering an interface of a applet is disclosed, DEVICE, ELECTRONIC DEVICE AND STORAGE MEDIUM, The method comprises the following steps: generating target page data according to the historical page data of the user interface and the new page data of the user interface sent by the server through a JavaScript engine, and determining node change data in a virtual DOM book of the user interface according to the target page data; The node change data is sent to the interface rendering component so that the interface rendering component renders the user interface according to the node change data to obtain the updated user interface. Thus, when the user interface is refreshed, it is not necessary to transmit all page data of the user interface, and the virtual DOM tree is not required to be constructed by the interface rendering component, so that the display efficiency of the user interface is improved, and thus the degree of interaction experience of the user is improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for rendering an interface of a small program. Background technique [0002] A small program refers to a mobile APP that is developed based on a specific programming language and can be used without downloading and installing. The biggest feature of small programs is that they are easy to use and do not need to be manually installed in the operating system of the mobile terminal. Usually, small programs rely on large APPs as carriers for use. [0003] In related technologies, the general process of rendering the user interface of a small program applied to a platform-level App is that the JavaScript engine directly sends the entire page data corresponding to the user interface to the page rendering WebView component through the bridging function provided by the system, and then the WebView component Generate a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/38G06F8/65
CPCG06F8/38G06F8/65
Inventor 赵岘
Owner TIANJIN BYTEDANCE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products