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

Data correlation query method and data correlation query device

A data association and query device technology, applied in the field of report analysis, can solve problems such as troubles, free scalability constraints of associated fields, and unit formula schemes that cannot meet the data layer modeling requirements, so as to avoid fatal pressure and ensure scalability , the effect of improving query efficiency

Active Publication Date: 2012-06-27
YONYOU NETWORK TECH
View PDF3 Cites 70 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The above schemes 1 and 3, when solving the aforementioned application problems, still need to use multi-table joint query SQL as the main implementation scheme, and it is difficult to solve the pressure brought by multiple dimension tables on the system operating efficiency in the process of breadth and depth association fields
Although the second solution takes into account the joint operation of SQL+cache formulas, the unit formula solution is difficult to meet the modeling requirements of the data layer, so it brings inconvenience and trouble to users in terms of data model reusability and operation interaction technology
In addition, the above schemes also have constraints on the free scalability of associated fields. Although some related schemes take into account the query of associated extended fields, they are ultimately limited to querying original data + extended data through SQL, and do not solve big data. Performance problems caused by joint query

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
  • Data correlation query method and data correlation query device
  • Data correlation query method and data correlation query device
  • Data correlation query method and data correlation query device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to be able to understand the above objectives, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0037] In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the present invention is not limited to the specific embodiments disclosed below. limit.

[0038] The following first briefly introduces some hardware modules involved in the data association query device according to the present invention:

[0039] Data dictionary building unit, such as figure 2 , Responsible for data dictionary initialization, access and tree display. Data dictionary usually refers to a logical layer generated after encapsulating the physical structure or objects of ...

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 provides a data correlation query device and a data correlation query method. The data correlation query device comprises a data acquisition unit, an SQL (structured query language) execution unit, a cache number-picking formula construction unit and a cache execution unit. The data acquisition unit is used for obtaining a fundamental field of a fact table and selecting a field of a dimension table based on the fundamental field to be used as an correlation field for correlation of the fact table and the dimension table; and the SQL execution unit is used for implementing query operations through SQL statements based on the fundamental field and a datasheet with the fundamental field, and obtaining a result set; the cache number-picking formula construction unit is used for obtaining a main key value corresponding to the correlation field from the result set, and constructing a cache number-picking formula in combination with a data path with the correlation field; and the cache execution unit is used for obtaining the value of the correlation field according to the cache number-picking formula and combining the value of the correlation field and the result set to obtain final query results. The fact table and the dimension table can be associated efficiently, results can be implemented efficiently, the fatal pressure on the system caused by correlation query of the fact table and the dimension table with a large number of data can be avoided, and the efficiency can be improved.

Description

Technical field [0001] The invention relates to the field of report analysis, in particular to a data association query method and a data association query device. Background technique [0002] In the field of report analysis, it is a very typical application to query the results after associating fact tables and dimension tables and display them in the report. Take ERP (Enterprise Resource Planning) software products and relational databases as examples. The document table can be regarded as a fact table, and the amount of data is usually large; the basic file table can be regarded as a dimension table, and the amount of data depends on the file type. There are big and small. The primary key of the basic file table is stored in the document table as a foreign key. Simple SQL can be used to find out the business information (such as document number, document date, quantity, amount, etc.) stored in the document table and the primary key of the relevant basic file. The report req...

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 Applications(China)
IPC IPC(8): G06F17/30
Inventor 朱俊彬刘丽
Owner YONYOU NETWORK TECH
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