Visualized structured query language (SQL) condition tree establishing method and device

A technology of structured query and construction method, applied in the field of business operation support, which can solve problems such as low efficiency, simplicity, lack of understandability, and unclear levels

Active Publication Date: 2015-09-09
CHINA MOBILE GRP FUJIAN CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Third, the existing data analysis products have certain deficiencies in terms of simplicity and understandability when constructing complex SQL
[0007] In addition, existing data analysis products in the industry, such as commercial cognos, bo, MicroStrategy, and open source Pentaho, SpagoBI, etc., simply list the conditions defined by users one by one when constructing SQL conditional statements for data analysis , using the default and (and) operation relationship to combine, when it is necessary to deal with the complex business data analysis requirements of arbitrary combinations of SQL conditions, there are deficiencies in ease of use and intuition
[0008] The Chinese patent applica...

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
  • Visualized structured query language (SQL) condition tree establishing method and device
  • Visualized structured query language (SQL) condition tree establishing method and device
  • Visualized structured query language (SQL) condition tree establishing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] figure 1 Schematic diagram of the interface for constructing data analysis conditions for cognos in the prior art, such as figure 1 As shown, when cognos builds SQL conditions, it places each logical condition side by side above the interface, so that it cannot intuitively reflect the hierarchical relationship of logical condition combinations in SQL conditions.

[0031] In the embodiment of the present invention, it is judged whether each condition in the SQL condition to be constructed belongs to an attribute operation expression, and the conditions belonging to the attribute operation expression are respectively used as the first layer of leaf nodes, and the conditions not belonging to the attribute operation expression are used as the second One layer of intermediate nodes, and the conditions that do not belong to the attribute operation expression are divided into more than one first sub-condition group according to the AND or relationship; to judge whether each co...

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 visualized structured query language (SQL) condition tree establishing method, comprising: judging whether each of SQL conditions to be established belongs to an attribute operation expression formula, using the conditions belonging to the attribute operation expression formula as first-layer leaf nodes, using the conditions which do not belong to the attribute operation expression formula as first-layer middle nodes, partitioning the conditions which do not belong to the attribute operation expression formula into more than one first sub-condition group according to an and/or relation, and so on till all conditions are dissolved into the attribute operation expression formula; and establishing a default condition group according to the SQL conditions to be established, using the default condition group as a root nodes, and establishing an SQL condition tree according to the determined middle nodes and leaf nodes on each layer. Furthermore, the SQL condition tree is showed in two columns of condition group names and an operation relation by an operation interface. The invention also discloses a visualized SQL condition tree establishing device.

Description

technical field [0001] The present invention relates to a business operation support technology in the communication field, in particular to a method and device for constructing a conditional tree of a visualized structured query language (Structured Query Language, SQL). Background technique [0002] With the development of information technology, the amount of information in enterprises is increasing day by day, and business systems are becoming more and more complex, so the requirements for data analysis are also getting higher and higher. Faced with the current increasingly complex data analysis requirements, analysts often need to design complex business analysis SQL, and there are usually the following problems in the design process: [0003] First, most business analysts do not have deep knowledge about databases, and cannot completely write SQL for complex businesses by hand; [0004] Second, from the perspective of security, it is often necessary to avoid business ...

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
Inventor 魏建荣彭家华谢志崇徐林
Owner CHINA MOBILE GRP FUJIAN CO LTD
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