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

Page display method, device and equipment and storage medium

A page display and page technology, applied in visual/graphics programming, creating/generating source code, etc., can solve the problems of lack of flexibility, incremental compilation, low view rendering efficiency, etc., to improve flexibility and achieve diversity. Effect

Active Publication Date: 2019-04-16
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] From the creation process of the page view, we can see that the two commonly used iOS page view creation methods require developers to do repetitive operations, such as creating subviews, configuring subview properties, adding subviews, subview layout, etc., so that in When using the above methods to develop mobile applications with complex pages and many pages, the development efficiency is greatly reduced
Moreover, the creation methods of these two iOS page views will also affect the compilation speed of the application. For example, in the application view tuning stage, it is necessary to repeatedly modify the view properties to meet the visual design requirements. Incremental compilation after a few lines of code reduces development and debugging efficiency
In addition, when the view is re-rendered, the layout parameters need to be recalculated. For complex pages or pages with high sliding performance requirements, the calculation of layout parameters is time-consuming, resulting in low view rendering efficiency, which greatly affects users. experience
[0016] However, when displaying the created page view, the client renders and displays the page according to the view properties and hierarchical structure solidified in the code, making the display effect single and inflexible

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
  • Page display method, device and equipment and storage medium
  • Page display method, device and equipment and storage medium
  • Page display method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0075] figure 1 It shows a flow chart of a page display method provided by Embodiment 1 of the present disclosure. This embodiment of the present disclosure is applicable to the situation of displaying a page in an application program based on an iOS system, and the method can be executed by a page display device. The device can be implemented by software and / or hardware, and integrated into a terminal with a display function, such as a smart phone, a tablet computer, and the like.

[0076] Such as figure 1 As shown, the page display method provided in the embodiment of the present disclosure specifically includes the following steps:

[0077] S110. Load a page view description file in a structured language corresponding to the page to be displayed.

[0078] Wherein, the page view description file is a file generated in advance by using a structured language to describe the page view information of the page to be displayed. Developers can pre-create page view description fi...

Embodiment 2

[0102] figure 2 It shows a flow chart of a page display method provided by Embodiment 2 of the present disclosure. This embodiment is based on various alternative solutions in the above embodiments, and performs page display based on the obtained data source and view control hierarchy structure. Rendering and Display" has been optimized. The explanations of terms that are the same as or corresponding to those in the foregoing embodiments are not repeated here.

[0103] Such as figure 2 As shown, the page display method provided in the embodiment of the present disclosure specifically includes the following steps:

[0104] S210. Load a page view description file in a structured language corresponding to the page to be displayed.

[0105] S220. Parse the page view description file to obtain page view metadata, wherein the page view metadata includes the attribute parameters of the page view contained in the page to be displayed, the data binding protocol of the page view, a...

Embodiment 3

[0121] image 3 A schematic structural diagram of a page display device provided by Embodiment 4 of the present disclosure is shown, and this embodiment of the present disclosure is applicable to the situation of displaying pages in an application program based on an iOS system. Such as image 3 As shown, the page display device in the embodiment of the present disclosure specifically includes: a page view description file loading module 310 , a page view description file parsing module 320 , a view control hierarchy creation module 330 and a page display module 340 .

[0122]Among them, the page view description file loading module 310 is used to load the page view description file corresponding to the page to be displayed using a structured language; the page view description file parsing module 320 is used to analyze the page view description file to obtain the page view element Data, where the page view metadata includes the attribute parameters of the page view contained...

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

The embodiment of the invention provides a page display method, a page display device, page display equipment and a storage medium. The method comprises the following steps of: loading a page view description file adopting a structured language corresponding to a to-be-displayed page; Analyzing the page view description file to obtain the page view metadata; wherein the page view metadata comprises attribute parameters of a page view contained in a to-be-displayed page, a data binding protocol of the page view and hierarchical structure information between the page views, and the data bindingprotocol is used for defining a binding relationship between the attribute parameters of the corresponding page view and data in a data source; Creating a view control hierarchical structure of the page to be displayed according to the page view metadata; And rendering and displaying the page based on the acquired data source and the view control hierarchical structure. Through the technical scheme of the embodiment of the invention, the page configuration flexibility can be improved, and the page display diversity is realized.

Description

technical field [0001] The embodiments of the present disclosure relate to the technical field of application program development, and in particular, to a page display method, device, device, and storage medium. Background technique [0002] When developing mobile applications based on the iOS operating system, developers usually create and configure the view hierarchy of a page in two ways. The first way is the native code way; the second way is to use the WYSIWYG view editing tool that comes with the development environment, such as the storyboard (Storyboard) provided by the Xcode development environment. [0003] The above-mentioned first method of creating a page view using native code is as follows: [0004] Step 1): Call the creation method of the view control to create a view instance; [0005] Step 2): Configure the properties of the view through the view instance, such as the background color, foreground color, text font, font size, font color, etc. of the view; ...

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
IPC IPC(8): G06F8/34
CPCG06F8/34
Inventor 温增葵
Owner BEIJING BYTEDANCE NETWORK 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