Check patentability & draft patents in minutes with Patsnap Eureka AI!

Display method, device, equipment and storage medium of page view

A page view and display method technology, applied in the field of equipment and storage media, page view display methods, and devices, can solve problems such as code structure confusion, low controller reuse, and reduced view display efficiency

Active Publication Date: 2020-05-19
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] It can be seen that in the existing MVC development architecture, the controller and view are seriously coupled, and the reusability of the controller is much lower than that of the view, which greatly reduces the reusability of business implementation.
Moreover, with the increasing complexity of the business, the controller needs to handle more and more business, and the business code expands rapidly, which leads to a very chaotic code structure and unclear division of internal responsibilities, which is not conducive to the development of functional unit testing. ; and the increase in business complexity will also lead to the need for more views to carry the business display, making the controller need to manage more views, which will greatly increase the complexity of the controller and reduce the display efficiency of the view

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
  • Display method, device, equipment and storage medium of page view
  • Display method, device, equipment and storage medium of page view
  • Display method, device, equipment and storage medium of page view

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

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

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

[0077] S110. Create a view driving engine module and a responsive view module for the current page through the controller module, and establish a binding relationship between the view driving engine module and the responsive view module.

[0078] Wherein, the current page refers to a page to b...

Embodiment 2

[0103] Figure 4 It shows a flow chart of a method for displaying a page view provided by Embodiment 2 of the present disclosure. This embodiment is based on each optional solution in the above embodiments, and when the business command is an asynchronous business command, the display of the page view The manner in which the update is performed is described in detail. The explanations of terms that are the same as or corresponding to those in the foregoing embodiments are not repeated here.

[0104] Such as Figure 4 As shown, the display method of the page view provided in the embodiment of the present disclosure specifically includes the following steps:

[0105] S210. Create a view driving engine module and a responsive view module for the current page through the controller module, and establish a binding relationship between the view driving engine module and the responsive view module.

[0106] S220. Obtain the business data and data model corresponding to the view to...

Embodiment 3

[0126] Figure 7 A schematic structural diagram of a display device for a page view provided by Embodiment 3 of the present disclosure is shown, and this embodiment of the present disclosure is applicable to the situation of displaying a page view in an application program based on an iOS system. Such as Figure 7 As shown, the device for displaying the page view in the embodiment of the present disclosure specifically includes: a controller module 310 , a view driving engine module 320 and a responsive view module 330 .

[0127] Among them, the controller module 310 is used to create a view-driven engine module and a responsive view module for the current page, and establishes a binding relationship between the view-driven engine module and the responsive view module; the view-driven engine module 320 is used to obtain The business data and data model corresponding to the view to be displayed on the current page, and generate the view rendering data corresponding to the view...

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 page view display method, an apparatus, a device, and a storage medium, the method comprises: acquiring service data and data model corresponding to a view to be displayed of a current page, generating view rendering data corresponding to the view to be displayed according to the service data and the data model, and sending the view rendering data; and rendering and displaying the view according to the view rendering data. The method can decouple a controller and the view in a development framework, simplify the controller, make responsibility definition of each module in the development framework clearer and improve the display efficiency of page view.

Description

technical field [0001] The embodiments of the present disclosure relate to the technical field of application program development, and in particular, to a method, device, device, and storage medium for displaying a page view. Background technique [0002] When developing mobile applications based on the iOS operating system, developers usually use the MVC (Model, View, Controller) development architecture. figure 1 A schematic diagram of the structure of the MVC development architecture is given. Such as figure 1 As shown, the MVC development architecture consists of three parts: model (Model), view (View) and controller (Controller). Among them, Model is used as a data model, View is responsible for the management of views, and Controller is used to process business logic. In the MVC development architecture, the controller holds both the view and the data model. The controller updates the data model according to the user actions captured by the view; when the data mode...

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 Patents(China)
IPC IPC(8): G06F8/34
CPCG06F8/34
Inventor 温增葵
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More