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

A JSON-Oriented Web Modular Design and Its Asynchronous Loading Method

A modular design, asynchronous loading technology, applied in the field of computer network, can solve the problems of difficult modification, difficult HTML code parsing, data redundancy, etc., to improve network transmission and response speed, facilitate dynamic modification, and reduce data redundancy. Effect

Active Publication Date: 2018-06-26
CHANGAN UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For the problems existing in the above-mentioned prior art, the object of the present invention is to provide a kind of JSON-oriented webpage modular design and its asynchronous loading method, to overcome the HTML code parsing difficulty, modification difficulty and Data redundancy and other defects, realize the modular design and asynchronous loading of web pages by using JSON objects

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
  • A JSON-Oriented Web Modular Design and Its Asynchronous Loading Method
  • A JSON-Oriented Web Modular Design and Its Asynchronous Loading Method
  • A JSON-Oriented Web Modular Design and Its Asynchronous Loading Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention uses JSON objects to represent HTML web page layout and web page elements, and utilizes the parsing function of the JavaScript programming language to directly convert the web page JSON objects into the internal objects of the JavaScript language, thereby reducing the parsing difficulty of web page codes; When designing web pages, the modular design idea is adopted. The web page layout templates and web page elements are encapsulated into different JSON objects. These JSON objects are relatively independent and can be nested and defined, which can facilitate the dynamic modification of web pages; HTML web pages use JSON objects. The formal representation can further reduce data redundancy and improve the network transmission and response speed of web page code. The detailed steps of the present invention are as follows:

[0027] In step 1, the designer determines the web page layout structure and the web page elements included in each part of the w...

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 JSON-oriented webpage modular design and asynchronous loading method. According to the method, an HTML webpage layout and webpage elements are packaged into different JSON objects, the JSON objects are relatively independent, definitions can be nested, and therefore modular design and dynamic modification of a webpage can be conveniently realized; and by use of the JSON objects to express the HTML webpage layout and the webpage elements, data redundancy can be further lowered, and network transmission and response speed of webpage codes can be increased. The method is suitable for Web software design and has important application value in the software development field.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a JSON-oriented web page modular design and an asynchronous loading method thereof. Background technique [0002] JavaScript Object Notation (ie JSON) is a syntax unit defined in the JavaScript programming language, and is often used as a lightweight data exchange format. JSON can be represented as a set of name-value pairs in a text format, which is independent of specific programming languages ​​and can be parsed and automatically generated by most common programming languages; JSON syntax is concise and there is no data redundancy, which can greatly improve transmission and responding speed. JSON is easy to use, especially when doing web front-end development, the data in JSON format can be converted into JavaScript internal objects for program calls through the JavaScript eval method. The conversion method is defined and unified in browsers with different kernels. ...

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): G06F17/30G06F8/38G06F17/22
CPCG06F8/38G06F16/9577G06F40/14
Inventor 康军高阳段宗涛李都厚葛建东江华黄凯颜建强李威
Owner CHANGAN UNIV
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