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

A Structured Data Representation Method Based on Byte Stream

A structured data and byte stream technology, applied in structured data retrieval, database management systems, special data processing applications, etc., can solve the problems of content redundancy, poor scalability, bandwidth occupation, etc., to improve transmission efficiency, The effect of optimizing the occupancy rate and compressing the volume of data packets

Active Publication Date: 2020-06-12
THE 28TH RES INST OF CHINA ELECTRONICS TECH GROUP CORP
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] First, the paired tag structure of XML results in redundancy of content, causing unnecessary bandwidth occupation when XML is transmitted in the communication channel;
[0005] Second, the general process of XML parsing by mainstream XML parsers is to first establish an XML document tree, and then search for the corresponding leaf nodes of the document tree according to the tag name, so as to obtain the data content. This process is essentially an analysis of the "tree" data structure "Addition, deletion, modification and query" involves a large number of operations on scattered memory blocks. Compared with the "streaming" data structure, the processing efficiency is low, especially when the XML document is large in size.
[0006] JSON describes structured data in the form of "key-value" pairs, and describes data affiliation through paired curly braces, which solves the problem of XML content redundancy. However, compared with XML, the "key-value" pair The data representation method results in poor scalability, and it is difficult to represent structured data with tight and complex logical relationships
[0007] In the existing large-scale distributed software systems, the problem of structured data transmission between hosts is often involved. The traditional transmission of structured data generally adopts the method based on database triggers. When the amount of data transmission becomes large, it is easy to use The database becomes the bottleneck of the system, and on the other hand, it is not conducive to the flexible expansion of the specific data structure of structured data

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 Structured Data Representation Method Based on Byte Stream
  • A Structured Data Representation Method Based on Byte Stream
  • A Structured Data Representation Method Based on Byte Stream

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Below in conjunction with accompanying drawing, every step in the summary of the invention is explained in detail, as Figure 8 Shown, the present invention comprises the steps:

[0046] Step 1, define the scope of structured data representation;

[0047] Step 2, establish a common representation method for single structured data, conduct unified modeling for single structured data, and specify the field name and field content representation method of single structured data;

[0048] Step 3, formalize the additional attributes of the single structured data;

[0049] Step 4, establishing a data type specification for a single structured data content, enumerating all data types of a single structured data, limiting the data type, and establishing a representation specification for a complex data type;

[0050] Step 5, establish a unified byte stream-based structured data representation specification, that is, how to organize multiple single structured data together to f...

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 structuralized data representation method based on a byte stream. The method comprises the following steps that 1, the structuralized data representation range is appointed; 2, a universal representation mode for single structuralized data is established, unified modeling is conduced on the single structuralized data, and the field name and the field content representation mode of the single structuralized data are stipulated; 3, formalized specification is conducted on additive attributes of the single structuralized data; 4, a data type specification for the content of the single structuralized data is established, all data types of the single structuralized data are enumerated and limited, and a representation specification for complex data types is established; 5, a unified structuralized data representation specification based on the byte stream is established; 6, the unified structuralized data representation specification based on the byte stream is simplified and appointed; 7, the receiving and sending process of a structuralized data package based on the byte stream on a network is stipulated.

Description

technical field [0001] The invention belongs to the technical field of computer software, and in particular relates to a structured data representation method based on byte stream. Background technique [0002] In today's Internet applications, XML (Extensible Markup Language) and JSON (JavaScript Object Notation) are usually used to represent structured data. [0003] XML is widely used in data exchange, integration and management due to its rich extensibility and easy-to-understand grammatical structure. However, while improving flexibility, XML's document-centric structure also brings some shortcomings : [0004] First, the paired tag structure of XML results in redundancy of content, causing unnecessary bandwidth occupation when XML is transmitted in the communication channel; [0005] Second, the general process of XML parsing by mainstream XML parsers is to first establish an XML document tree, and then search for the corresponding leaf nodes of the document tree acc...

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/25
CPCG06F16/258
Inventor 张煜荀智德端木竹筠赵克俭徐慧
Owner THE 28TH RES INST OF CHINA ELECTRONICS TECH GROUP CORP
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