Page generation method and related system

A page and page template technology, which is applied in the page generation method and related system fields, can solve the problems of slow loading speed of dynamic pages, etc., and achieve the effect of solving slow loading speed

Active Publication Date: 2021-06-11
MASHANG CONSUMER FINANCE CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on the deficiencies of the above-mentioned prior art, the present invention proposes a page generation method and a related system to solve the problem of slow loading speed of dynamic pages

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 generation method and related system
  • Page generation method and related system
  • Page generation method and related system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0064] Optionally, in another embodiment of the present application, an implementation of step S103 includes:

[0065] Replace the data of the remaining blocks in the plurality of blocks of the page template with null characters; wherein, the remaining blocks include: among the plurality of blocks of the page template except those included in the page to be generated block outside the block.

[0066] Write the page information of the block configuration into the variable of the vue object bound to the block.

[0067] In this embodiment, among the multiple blocks of the page template, those that do not belong to the blocks included in the page to be generated, that is, the remaining blocks among the multiple blocks of the page template, can be understood as the Describes the blocks that are not required for the page to be generated. Therefore, during the process of generating the page to be generated in the vue object, these remaining blocks need to be deleted.

[0068] Spec...

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 invention provides a method for generating pages and a related system to solve the problem of slow loading speed of dynamic pages. Wherein, the generation method of the page includes: according to the generation requirement of the page to be generated, select the blocks included in the page to be generated from a plurality of blocks of the page template; wherein, the page template is bound to the Vue object, and the page Each block of the template is bound to the unique variable of the vue object; configure page information for each selected block respectively; generate in the vue object according to the selected block and configured page information The page data of the page to be generated.

Description

technical field [0001] The present invention relates to the technical field of page processing, in particular to a method for generating a page and a related system. Background technique [0002] For the pages displayed on the website, in order to realize the dynamic adjustment of the content of the page, a dynamic page is generally set. A dynamic page is a page whose content can change over time or the environment. [0003] At present, after the website server receives the dynamic page request, it needs to perform further operations such as parsing and querying the database. After obtaining the dynamic content of the page, it can return it to the client and complete the page loading. Since the operations such as parsing and querying data performed by the website server take time, the loading speed of dynamic pages is slow. Contents of the invention [0004] Based on the shortcomings of the above-mentioned prior art, the present invention proposes a page generation metho...

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): G06F16/957G06F9/451
CPCG06F9/451
Inventor 胡伟李丙峰
Owner MASHANG CONSUMER FINANCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products