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

Statistical query method

A statistical query and calculation logic technology, applied in the database field, can solve the problems such as the inability of SQL language to realize row-column transposition, the low efficiency and performance of statistical query tasks, and the inability to perform efficient statistical queries, so as to reduce data processing. operation, improve efficiency, improve the effect of overall efficiency

Inactive Publication Date: 2012-01-18
BEIJING ZHONGCHUANG TELECOM TEST
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, the server needs to transmit a large amount of data to the client, so that the client with limited resources undertakes a large amount of data interaction calculation work, which makes the operation efficiency and performance of the statistical query task low
[0004] In the existing technology, in order to solve the problem of low operating efficiency and performance of statistical query tasks, there is a way to use database interconnection SQL technology, but this method is more suitable for simple queries, complex statistical queries require multi-step Moreover, the SQL language cannot implement inter-row merging and row-column transposition processing, which requires complex program logic to complete, so efficient statistical queries cannot be performed

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
  • Statistical query method
  • Statistical query method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0024] In order to achieve low cost and enable the obtained evaluation results to accurately reflect the quality of experience of mobile data network users, an embodiment of the present invention provides a statistical query method, such as figure 1 shown, including steps:

[0025] S11. Obtain a statistical query request;

[0026] Through the client as the foreground, the user can set statistical query requests according to requirements; the server as the backgrou...

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 embodiment discloses a statistical query method, which comprises: obtaining a statistical query request; analyzing a unit mode in the statistical query request, and dividing the unit mode into pre-calculation logic, aggregate calculation and post-calculation logic; carrying out calculation for data received during statistical query and calculation threads separately allocated to the pre-calculation logic, and producing an aggregate result set for the calculation threads separately allocated to the pre-calculation logic; and producing statistical query results through the post-calculation logic according to the aggregate result set after completion of aggregate calculation. In the embodiment, all data processing operations are completed on the background, and only the submission of statistical query requests and display of final results needs to be completed on the foreground. Therefore, data interaction between the foreground and the background is reduced, data processing operations on the foreground are also reduced, and thus the overall efficiency of the statistical inquiry is increased.

Description

technical field [0001] The invention relates to the field of databases, more specifically, to a statistical query method. Background technique [0002] When performing statistical query through a distributed database, the general operation mode is that the client sends the query request to each server, and the service process on each server returns the statistical data that meets the conditions and has been initially gathered to the client; the client After receiving the data transmitted by each server, the terminal performs further aggregation, dynamic column transposition, information expansion and other processing, and then generates and displays the data required by the user. [0003] In a distributed environment, the data is scattered in multiple servers, so the statistical query through the distributed database usually needs to summarize the stored data, transpose the rows and columns, translate the values, or merge the rows before generating the report. Wherein, when...

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 BEIJING ZHONGCHUANG TELECOM TEST
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