Page generating and display method based on JSON (java script object notation) format

A display method and page technology, applied in the computer field, can solve problems such as system crashes, improve loading speed, reduce the probability of system crashes, and overcome the effects of partial loading

Active Publication Date: 2015-07-08
深圳微迅信息科技有限公司
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the inventor found in the actual research and development and application that although the JSON format is fast, it also has defects, especially when the page occupies too much resources and cannot be loaded at one time, it is prone to system crashes

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 generating and display method based on JSON (java script object notation) format

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The following and accompanying appendices illustrating the principles of the invention Figure 1 A detailed description of one or more embodiments of the invention is provided together. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details.

[0020] figure 1 A flow chart showing a method for generating and displaying a page based on JSON format according to an embodiment of the present invention. Such as figure 1 As shown, in the first step, a page loading request from th...

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 discloses a page generating and display method based on a JSON (java script object notation) format. The page generating and display method comprises the following steps: receiving a page loading request; obtaining a page configuration file based on the JSON format; calculating quantity of memory resources to be occupied by the page; obtaining the quantity of preset reserved memory resources; calculating total amount of memory needs; calculating the quantity of current available memory resources; if the total amount of memory needs is smaller than the quantity of current available memory resources, loading the page in a full loading mode, otherwise, converting the page configuration file based on the JSON format into the page configuration file based on an XML (extensive markup language) format and loading the page in a partial loading mode. The page generating and display method is suitable for needs of different memory conditions, so that the system breakdown probability is reduced, the memory resource judging granularity is relatively small, the judging accuracy for the practical memory available resources is relatively high, the practical page loading speed is increased, and the defect that the JSON format cannot be partially loaded is overcome.

Description

technical field [0001] The present invention relates to computer technology, in particular to a page generation and display method, in particular to a JSON format-based page generation and display method. Background technique [0002] The general process of page loading by existing browsers is: receiving the uniform resource locator submitted by the user, requesting page data from the corresponding server, downloading the requested page data to the browser, and then rendering the page data. The window displays the rendered page. [0003] In the past, the mainstream page format was XML format. With the emergence of JSON format, it tends to gradually replace XML. However, the inventor found in actual research and development and application that although the JSON format is fast, it also has defects, especially when the page occupies too much resources and cannot be loaded at one time, it is prone to system crashes. Therefore, the present invention proposes a JSON format-base...

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): G06F17/30
Inventor 徐礼正
Owner 深圳微迅信息科技有限公司
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