A JSON data parsing and modeling method for web 2.0

A modeling method and data parsing technology, applied in the field of JSON data parsing and modeling oriented to Web 2.0, can solve the problems of difficult data structure analysis and high query overhead.

Active Publication Date: 2021-02-26
ZHEJIANG UNIV OF TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In order to overcome the problems of data positioning, high query overhead, and difficult data structure analysis in the existing JSON data parsing methods, the present invention proposes a Web 2.0-oriented JSON data parsing and modeling method, which is conducive to speeding up data retrieval and positioning , Enhance the accuracy of judging the affiliation relationship, improve data utilization and ease of use

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 data parsing and modeling method for web 2.0
  • A JSON data parsing and modeling method for web 2.0
  • A JSON data parsing and modeling method for web 2.0

Examples

Experimental program
Comparison scheme
Effect test

example

[0114] Example: figure 1 Shows the JSON data structure diagram returned by the 2018 World Cup REST API. The supplier of the World Cup inJSON API is Software For Good, which is a sports API. Its publishing homepage is http: / / worldcup.sfg.io, and the document homepage URL is https: / / github.com / estiens / world_cup_json . The JSON data structure shown shows the first game information of the 2018 World Cup. fifa_id marks the ID of the game, weather includes the weather information of the game area on the day of the game, attendance indicates the number of spectators in the game, and officials includes the game The staff list of the game, home_team and away_team introduce the information of the two opposing teams in the game, home_team_events and away_team_events include the judgment and penalty events of the opposing teams in the game, home_team_statistics and away_team_statistics include the game against the team in the game Data statistics.

[0115] figure 2 It is a tree...

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 JSON data parsing and modeling method for Web 2.0, including the following steps: Step 1: Define the metadata tree MDT, including the root node TRoot, the index node INode, and the data node DNode, and use the depth level to represent the nodes in the tree The number of layers in the structure, the root node is the first layer by default, that is, level=1; the second step: read the JSON data returned by the called REST API, use the JSON dataset ds as the input of the modeling algorithm, and perform Tree structure modeling; the third step: retain the basic data structure information by pruning, cut off the same repeated data structure, reduce the size of the model, but still retain the basic data structure, and reduce the JSON data structure. to the query overhead. The invention is beneficial to speed up the retrieval and positioning of data, enhance the accuracy of judging the affiliation relationship, and improve the data utilization rate and ease of use.

Description

technical field [0001] The invention relates to a method for parsing and modeling JSON data oriented to Web2.0. Background technique [0002] Web 2.0 is a general term for a new class of Internet applications relative to Web 1.0 (the Internet model before 2003), and it is a revolution from core content to external applications. It has become a new development trend of the Internet from Web1.0 to simply browse html pages through a web browser to the Web2.0 Internet model with richer content, stronger connections and stronger tools. Web 2.0 is a typical embodiment of the future-oriented and people-oriented innovation 2.0 model in the Internet field brought about by the Internet revolution triggered by the development of information technology. [0003] The REST (Representational State Transfer) architectural style was released at the international conference ICSE in 2000. It is an abstract model of Web architecture and is used to guide the redesign and definition of Hypertext...

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/22G06F16/28G06F8/41
CPCG06F8/427G06F16/2246G06F16/284
Inventor 陆佳炜高燕煦周焕程振波高飞肖刚
Owner ZHEJIANG UNIV OF TECH
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