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

JSON character string processing method and apparatus

A processing method and technology of a processing device, which are applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as poor processing performance and low operating efficiency, and achieve the effect of solving low operating efficiency and improving processing efficiency.

Active Publication Date: 2017-07-07
BEIJING GRIDSUM TECH CO LTD
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a JSON string processing method and device, to at least solve the technical problem of low operating efficiency due to poor JSON deserialization processing performance during aggregation processing

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
  • JSON character string processing method and apparatus
  • JSON character string processing method and apparatus
  • JSON character string processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0022] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily to describe a preset sequence or sequence . It is to be understood that the data so used are interchangeable under appropriate circu...

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 character string processing method and apparatus. The method comprises the steps of obtaining a to-be-processed JSON character string; splitting the JSON character string according to a first format rule of the JSON character string, thereby generating a field set; and performing aggregation processing on fields in the field set according to preset aggregation processing parameters, and determining aggregation indexes. According to the method and the apparatus, the technical problem of low running efficiency caused by poor deserialization processing performance of JSON during aggregation processing is solved.

Description

technical field [0001] The present invention relates to the field of data storage, in particular to a method and device for processing JSON strings. Background technique [0002] Currently, when storing big data, column storage engines such as Impala are usually used. For data tables with many-to-many associations, there often exist many-to-many associations between entities. When the above-mentioned data tables with many-to-many associations are queried, the overhead of table connection shuffle is relatively high, and the query performance is not very high. [0003] In order to improve the query performance of the column storage engine, multiple pieces of data with many-to-many associations can be stored in a string in JSON (JavaScript Object Notation, JavaScript Object Notation) data format and stored in the same field. Since multiple pieces of data are stored in a string in JSON format, when it is necessary to analyze the data content in the JSON string, it is usually n...

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
IPC IPC(8): G06F17/30
CPCG06F16/24556G06F16/288
Inventor 洪超
Owner BEIJING GRIDSUM TECH CO LTD
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