WO2014079304A1 - 一种报表创建方法、装置和*** - Google Patents

一种报表创建方法、装置和*** Download PDF

Info

Publication number
WO2014079304A1
WO2014079304A1 PCT/CN2013/086062 CN2013086062W WO2014079304A1 WO 2014079304 A1 WO2014079304 A1 WO 2014079304A1 CN 2013086062 W CN2013086062 W CN 2013086062W WO 2014079304 A1 WO2014079304 A1 WO 2014079304A1
Authority
WO
WIPO (PCT)
Prior art keywords
report
query
template
data
adr
Prior art date
Application number
PCT/CN2013/086062
Other languages
English (en)
French (fr)
Inventor
汪春
赵理洋
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US14/647,201 priority Critical patent/US20150324423A1/en
Priority to EP13857146.8A priority patent/EP2924588B1/en
Publication of WO2014079304A1 publication Critical patent/WO2014079304A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • G06F16/244Grouping and aggregation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2428Query predicate definition using graphical user interfaces, including menus and forms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/283Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results

Definitions

  • the present invention relates to the field of report systems, and in particular, to a report creation method, apparatus, and system. Background technique
  • the existing report system is generally customized according to the user's needs.
  • the query conditions of the report limit can only be entered, and the results are displayed according to the output mode of the report design.
  • the report needs to be re-developed.
  • This type of report system does not support user customization.
  • Some reporting systems currently support user customization. These types of reporting systems generally fall into two categories: One is that it can support simple customization, and the range that users can customize is limited. Only query conditions can be adjusted, and queries can be selected. As a result, the output style is selected; another class can support complex customizations, users can design tables, write complex query conditions, design complex query algorithms and personalized output styles, and require users to master complex secondary development processes. For ordinary users, the technical threshold is high, it is difficult to master, and the development cycle will be longer. Summary of the invention
  • the main purpose of the embodiments of the present invention is to provide a report creation method, device, and system, which support complex report template creation, and does not involve complicated secondary development process and second development script writing.
  • An embodiment of the present invention provides a report creation method, where the method includes:
  • the created ADR model is composed of one or more ADRs, and each ADR includes two types of basic elements: a basic dimension and a basic indicator; the basic dimension is divided into a time dimension and an object dimension; each ADR contains one data.
  • Source name a basic dimension and a basic indicator
  • the basic dimension is divided into a time dimension and an object dimension
  • each ADR contains one data.
  • the data of one or more data tables associated with the ADR is stored in a database corresponding to the name of the data source;
  • Each basic dimension and basic indicator included in the ADR respectively correspond to a specific field of one or more data tables associated with the ADR;
  • One or more data tables associated with the ADR are divided into a fact table and an aggregation table; the aggregation table is obtained by aggregating the fact tables.
  • the report template is created according to the ADR model, including:
  • setting a query condition of the report template to be created includes: setting a granularity as a query condition, and setting one or more granularity of the report template to be created, so that the one or more granularities are greater than or equal to the report to be created.
  • Set the output of the report template to be created including: Select one or more of the basic dimensions and basic metrics included in the ADR associated with the report template to be created as output.
  • the method further includes: expanding a basic dimension included in the ADR associated with the report template to be created to obtain a virtual dimension; and the report template to be created The basic indicators included in the associated ADR are extended to obtain the KPI;
  • the virtual dimension is divided into a combined dimension, a custom dimension, a dimension group, and a child dimension; the KPI It is divided into common KPIs, ratios, and statistics.
  • setting the output content of the report template to be created further includes: selecting one or more of the virtual dimension and the UI as the output content, and performing parent-child relationship on one or more dimensions as the output content. set up;
  • the one or more dimensions as output content include a base dimension and/or a virtual dimension.
  • setting the query condition of the report template to be created further includes: one or more of the dimensions and/or indicators included in the ADR associated with the report template to be created as a query condition; the dimension includes a basic dimension and/or Virtual dimension; the indicator includes basic indicators and/or
  • the report template is created according to the ADR model, and further includes: setting a time parameter, a drill option, a ⁇ option, a sorting rule of the output content, and/or an extended output manner of the output content of the report template to be created.
  • the created report template is invoked, the report query operation is performed, and the report data obtained by the query is displayed, including: calling the created report template, generating a structured query statement according to the input query condition, and querying the data table data in the database , get the report data and display it.
  • the report template is invoked, a structured query statement is generated according to the input query condition, and the data table data is queried in the database, and the report data is obtained and displayed, including:
  • the ADR associated with the invoked report template is authenticated
  • the domain object that the user has access to is obtained, and is added to the input query condition, and a new query condition is generated;
  • Report data corresponds to the data source name included in the ADR associated with the invoked report template, connecting to the corresponding database, and executing the structured query statement to query the data table data in the database, Report data;
  • the report data is displayed according to the output mode of the called report template.
  • the method further includes: performing a drill query on the record in the query result.
  • the embodiment of the invention further provides a report creation system, comprising: a database, a report client and a report server, wherein:
  • the database is configured to store data table data, perform abstraction processing on the data table, and create an ADR model
  • the report server is configured to create a report template according to the ADR model, and store the report template, and execute the report query function to perform the report query operation in the database, and return the query to the report client.
  • Report data ;
  • the report client is configured to issue a report template instruction and a report query operation instruction to the report server, and is further configured to display the report data obtained by the query.
  • the report server is further configured to select an ADR associated with the report template to be created from the ADR model of the database, determine the location of the report template to be created in the navigation tree, and set the report to be created.
  • the default output method for the template name, query conditions, output content, and output content is further configured to select an ADR associated with the report template to be created from the ADR model of the database, determine the location of the report template to be created in the navigation tree, and set the report to be created.
  • the report server is further configured to set a time parameter, a drill option, a TOPN option, a sorting rule of the output content, and/or an extended output mode of the output content of the report template to be created.
  • the report server is further configured to generate a structured query statement according to the input query condition, query the data table data in the database, and obtain report data.
  • the report client is further configured to invoke the created report template according to the user instruction, construct a GUI interface for the user to input the query condition, and send the query condition input by the user to the report server;
  • the report server is further configured to authenticate the ADR associated with the invoked report template; When the authentication succeeds, it is further configured to acquire a domain object that the user has access to and attach to the input query condition, generate a new query condition, and output content and output content according to the new query condition, the invoked report template.
  • the collation generates a structured query statement; and is further configured to connect to the corresponding database according to the data source name included in the ADR associated with the invoked report template, and execute the structured query statement to query the data table data in the database, Obtain report data and send it to the report client.
  • the embodiment of the invention further provides a report creation device, comprising: a template creation unit and a report query unit, wherein:
  • the template creation unit is configured to create a report template according to an ADR model and store the data; the ADR model obtains an abstraction process on the data table in the database;
  • the report query unit is configured to invoke the created report template, perform a report query operation, and obtain report data.
  • the template creation unit is further configured to select an ADR associated with the report template to be created from the ADR model, determine the location of the report template to be created in the navigation tree, and set the name of the report template to be created. , the default output method for query conditions, output content, and output content.
  • the template creation unit is further configured to set a time parameter, a drill option, a TOPN option, a sort rule of the output content, and/or an extended output mode of the output content to be created.
  • the report query unit is further configured to generate a structured query statement according to the input query condition, query the data table data in the database, and obtain report data.
  • the report query unit is further configured to authenticate the ADR associated with the invoked report template; when the authentication is successful, the method further includes: acquiring a domain object that the user has access to and adding to the input query condition, Generating a new query condition, and generating a structured query statement according to the new query condition, the output content of the invoked report template, and the sorting rule of the output content; also configured to be based on the data source name included in the ADR associated with the invoked report template, Connect to the corresponding data The library, and executing the structured query statement to query the data table data in the corresponding database to obtain the report data.
  • the report creation method, device and system provided by the invention abstract the data table in the database, create an abstract data record ADR model; create a report template according to the ADR model, and store; call the created report template, execute the report query Action, and display the report query results.
  • This ADR-based report creation can create complex report templates without involving complex secondary development processes and secondary development scripts.
  • FIG. 1 is a schematic flowchart of a method for creating a report according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an ADR model according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a report creation system according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a process for creating a report template according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a query process of a report template according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of a drill query according to an embodiment of the present invention. detailed description
  • the technical solutions of the present invention are further elaborated below in conjunction with the accompanying drawings and specific embodiments.
  • the method adopted by the embodiment of the present invention firstly requires modeling the data table in the database, and describes the data table in the database by using an abstract data model.
  • the abstract database model is simply referred to as an ADR (Abstract Data Record) model.
  • the ADR model can be thought of as describing the data tables in the database from a business perspective. This model should be for report users and can be understood by report users.
  • users can create various report templates based on the ADR model.
  • the report template is created, the user can select the report template to query the report data. First, fill in the query conditions set in the report template, and then automatically construct according to the input query conditions. Create a structured query statement, query the data table from the database to get the query result, that is, the report data, and display the query report data according to the output mode set by the report template.
  • the report creation method provided by the embodiment of the present invention, as shown in FIG. 1 includes:
  • Step 101 Perform an abstraction process on the data table in the database to create an ADR model.
  • Step 102 Create a report template according to the ADR model, and store the data template.
  • Step 103 Call the report template, perform a report query operation, and display the report data obtained by the query.
  • Figure 2 shows the structure of the ADR model.
  • An ADR model consists of one or more ADRs; each ADR contains two basic elements: Dimensions and metrics (to distinguish between dimensions and metrics that are subsequently extended, referred to herein as basic dimensions and basic metrics), where Basic dimensions can be divided into time dimensions and object dimensions.
  • the virtual dimension and the KPI can be separately expanded based on the basic elements of the basic dimension and the basic indicator.
  • the dimensions described later in the embodiment of the present invention include a basic dimension and a virtual dimension, and the indicator includes a basic indicator and a KPI.
  • the virtual dimension is an extension of the dimension and can be divided into a combined dimension, a custom dimension, a dimension group, and a child dimension.
  • the so-called combined dimension is to combine existing dimensions to form a new dimension.
  • MCC Mobile Country Code
  • MNC Mobile Network Code
  • PLMN Public Land Mobile Network
  • IP IP
  • IPV4 IP
  • IPV4 IPV4
  • MONTH a system function
  • the dimension group is to group multiple dimensions (including virtual dimensions) into one group.
  • the dimension group when performing a report query, only one dimension in the dimension group can be selected as the query condition; when the dimension group is used as the output Content, when performing a report query, you must and can only select one of the dimensions in the dimension group as the output.
  • the so-called sub-dimension is to associate the dimension in the ADR with other dimension tables.
  • the terminal type dimension in the ADR can be associated with the terminal manufacturer or the operating system in the terminal type dimension table, thereby implementing the terminal manufacturer or the operating system.
  • the indicator type analysis, the terminal type dimension is the sub-dimension of the terminal manufacturer dimension.
  • KPIs are divided into common KPIs, percentages, and statistics.
  • Commonly used ⁇ is to perform four operations on the same ADR indicator.
  • the four operations of the indicator are a frequently used ⁇ , such as the success rate ⁇ , which is calculated by the number of successes / (number of successes + number of failures).
  • the ratio ⁇ is used to calculate the comparison of a certain metric of a dimension with respect to other metrics of the same type. For example, the proportion of user traffic is the percentage of a user's traffic to the total of all user traffic. statistics
  • the trick is to count the number of dimensions, such as the number of business users, and to count the users who use each service.
  • Each ADR contains a data source name attribute that describes the data source for the ADR-associated data table, such as a database.
  • data tables can be stored in multiple data sources, avoiding performance bottlenecks and capacity bottlenecks caused by all data being stored in one data source.
  • the ADR model describes the data tables in the database from a business perspective, so each ADR must be associated with several data tables in the database.
  • Each basic dimension and basic metric in the ADR corresponds to a specific field of the data table; the virtual dimension and ⁇ have no corresponding fields in the data table, but they all operate and process the fields in the data table. owned.
  • ADR-associated data tables can be divided into two categories: fact tables and aggregate tables.
  • the fields of the fact table cover all the basic dimensions and basic indicators in the ADR model, and the fact table describes the largest amount of information.
  • the concept of an aggregate table is introduced.
  • the data in the aggregate table is the aggregation of the fact table data.
  • corresponding aggregation tables can be created for different granularities.
  • an ADR can be associated with up to 7 granularities (15 minutes granularity, hour granularity, day granularity, weekly granularity, month). Aggregate tables for granularity, quarter granularity, and annual granularity.
  • the system preferentially queries the aggregated table of the corresponding granularity according to the report granularity. If there is no aggregated table corresponding to the granularity, the system automatically queries the small-grained aggregates. table. For example, the ADR-associated aggregation table has only 15 minutes granularity and hourly granularity. If the user queries the daily granularity report, the system queries the data of the daily granularity report from the hourly granular aggregation table.
  • the fact table is generally divided into days; the 15 minute particle size aggregation table is generally divided into days; the hourly particle size aggregation table is generally divided into weekly sub-tables; the daily particle size aggregation table is generally divided into monthly sub-tables; The sub-table is performed; the monthly granularity aggregation table is generally divided into years; the quarterly granular aggregation table and the annual granular aggregation table are not necessary to be separated.
  • the system selects the corresponding data table according to the granularity and time range of the query. If the query time spans multiple data tables, it is necessary to perform a union query on multiple data tables.
  • FIG. 3 is a schematic diagram of a report creation system according to an embodiment of the present invention.
  • the system is composed of three parts: a report client, a report server, and a database.
  • the B/S architecture is used between the report client and the report server, and the report client program is deployed on the report server in the form of a swf file.
  • the report client needs to install the flash player and web browser.
  • the browser of the report client downloads the swf file from the report server and runs the client program locally through the flash player.
  • the report client provides: three main functions: creating a report template (referring to user actions), reporting query condition input, and outputting report query results.
  • the report server is responsible for creating and saving report templates and performing report query operations based on user actions.
  • the report server dynamically connects to the database through Open Database Connectivity (ODBC).
  • ODBC Open Database Connectivity
  • the report server supports access to multiple databases, and the report data corresponding to different ADRs can be stored in different databases.
  • a database configured to store data table data, abstracting the data tables, and creating an ADR model
  • the report server is configured to create a report template according to the ADR model, and is stored; and is configured to invoke the created report template, perform a report query operation in the database, and return the report data obtained by the query to the report client;
  • the report client is configured to issue a report template instruction and a report query operation instruction to the report server; and is configured to display the report data obtained by the query.
  • the report server is further configured to select an ADR associated with the report template to be created from the ADR model of the database, determine the location of the report template to be created in the navigation tree, set the name of the report template to be created, query conditions, The default output method for output content and output content.
  • the report server is also configured to set the time parameter, drill option, and report server of the report template to be created. It is also configured to generate a structured query statement according to the input query condition, query the data table data in the database, and obtain the report data.
  • the report client is further configured to invoke the created report template according to the user instruction, construct a GUI interface for the user to input the query condition, and send the query condition input by the user to the report server; the report server is also configured as a report template for the call.
  • the associated ADR is authenticated; when the authentication succeeds, it is also configured to obtain the domain object that the user has access to, and attach to the input query condition, generate a new query condition, and according to the new query condition, the called report template
  • the sorting rule of the output content and the output content generates a structured query statement; is further configured to connect to the corresponding database according to the data source name included in the ADR associated with the invoked report template, and execute the structured query statement to query in the corresponding database And obtain report data, which is sent to the report client.
  • FIG. 4 is a flowchart of a report template creation process according to an embodiment of the present invention, including the following steps: Step 1: Select an ADR associated with the report template to be created from the ADR model. Each report template must be associated with only one ADR.
  • Step 2 Select the location of the report template you want to create on the navigation tree. Through the navigation tree, you can manage the created report templates.
  • Step 3 Set the name of the report template you want to create.
  • Step 4 Set the granularity of the report template to be created (ie the query criteria).
  • Each ADR is configured with its supported granularity. There can be multiple granularities for the report template configuration, and all the granularity of the report template must be greater than or equal to the minimum granularity supported by ADR. (The granularity here can be set according to needs, such as 15 minutes, 30 minutes, 1 hour, 1 day, 1 month, 1st quarter, 1 year, etc.).
  • Step 5 Set the output of the report template to be created. Select one or more of the basic dimensions and basic metrics included in the ADR associated with the report template to be created as output.
  • Step 6 Set the default output method for the output of the report template to be created, for example, it can be a table.
  • a simple report template can be created using the six steps above. If you need to create a complex report template, you can choose the steps below to set it up.
  • Optional operation 1 When setting the output of the report template, in addition to the basic dimensions and basic indicators, you can select one or more of the virtual dimensions and KPIs as the output content.
  • the parent-child relationship is set for one or more dimensions that are output content.
  • Optional operation 2 When setting the query condition of the report template, you can use one or more of the dimensions and/or indicators included in the ADR associated with the report template to be created as the query condition.
  • Dissions can include basic dimensions and virtual dimensions; metrics can include basic metrics and KPIs.
  • Common algorithms such as matching), RL (right fuzzy matching), LIKE (fuzzy matching, support?, and *wildcard).
  • Multiple query conditions can be set in a report template, and AND, OR, NOR operations can be performed between these conditions.
  • the attribute of the query condition (precondition or postcondition) needs to be set.
  • the so-called precondition is to condition the original record. Filtering;
  • the so-called postcondition is to conditionally filter the query results.
  • Each query condition can be set whether it is preset or not.
  • the so-called preset condition is the query condition that must be carried in each query report, and can be considered as a special mandatory condition.
  • Optional operation 3 Set time parameters, including date multiple selection, time period selection, busy hour, and holiday day. If the date is selected multiple times, the data query of the discrete date can be realized; if the time period is selected, the data query of the specified time period can be realized; if the busy time is set, the data query of the busy time can be realized, and the busy time belongs to the special time period selection; Holidays, you can achieve data query for holidays, holidays are more than a special date.
  • Optional Action 4 Set the drill options.
  • a drill function is required.
  • the so-called drill is to use the query result as the condition of the next query.
  • associative query it is convenient for the user to locate the problem.
  • Optional action five Set the collation. Many report data queries require sorting of query results. When creating a report template, you can set the sort field. Sort fields are dimensions or metrics (that is, output content). You can select multiple sort fields. You can set the sorting rules (ascending, descending) and order of each sorting field.
  • Optional Action 6 Set the TOPN option.
  • a report template can set multiple TOPN options. Each TOPN option must specify parameters: number of records (N in TOPN), dimensions, metrics, and collation. The dimension specified by TOPN must be the output of the report template.
  • Optional operation seven Set the extended output mode of the output content, such as graphic style. Users can set the graphical display style used for report data: histogram, columnar stacked chart, trend chart, pie chart, area chart, radar chart, dashboard. Trend and histograms support double coordinates and merges.
  • users can quickly create complex report templates without involving complex secondary development processes and secondary development scripts.
  • the report client will check to see if there are any omissions or design errors.
  • the report template is verified, the user can preview the query effect of the template. If it is not satisfied, the report template can be partially modified or redesigned to achieve the WYSIWYG effect.
  • the creation of the report template is provided by the report client, and the designed report template is saved to the report server.
  • Figure 5 shows the query flow of the report template.
  • the general process is as follows: Call the report template, generate a structured query statement according to the input query conditions, query the data table data from the database, and obtain the report data and display it. details as follows:
  • the user selects a created report template on the report client and double-clicks to perform the query operation.
  • the report client constructs a GUI interface to display query conditions according to the query conditions defined in the report template to the user, and the preset conditions are not displayed on the GUI interface for the user to select.
  • the user enters the query conditions and clicks on the query. If the required condition is not entered, an error message is returned; otherwise, continue to the next step.
  • the ADR accessed by the user is the ADR associated with the invoked report template.
  • the report client sends the query conditions entered by the user to the report server.
  • the report server first authenticates the ADR accessed by the user. If the authentication fails, an error message is returned; otherwise, the next step is continued.
  • the report server obtains the domain object that the current user can access, and attaches it to the query condition sent by the report client in the form of an AND operation to form a new query condition.
  • a structured query is generated based on the new query criteria, the output of the invoked report template, and the collation of the output. 4.
  • the report server connects to the corresponding database according to the data source name included in the ADR accessed by the user, and executes the structured query statement to query and obtain the report data in the database.
  • the report server will execute the result of the structured query statement, that is, the report data returned by the query database, and persist it to the local file, that is, the result file, and send it to the report client.
  • the report client reads the result file returned by the report server, and performs tabular display and graphic rendering according to the output mode of the report template.
  • Figure 6 shows the flow of the drill query.
  • the user can select a record in the query results for a drill query.
  • drill options There are two ways to drill: fast drilling and advanced drilling.
  • the so-called fast drill means You can only select one dimension at a time as the drill dimension.
  • the current query condition and the dimension in the selected record are used as the conditions for the drill query; the drill dimension selected by the user is used as the output dimension of the drill query; and the indicator of the current query is used as the output index of the drill query.
  • the so-called advanced drill refers to: You can select multiple dimensions as the drill dimension each time. You can select some of the dimensions in the current query output dimension as the query criteria; you can add additional query conditions; you can specify the output metrics for the drill query; you can set the collation of the drilled query results; you can set the graphical style of the output.
  • the report server After the report client sends the query request to the report server, the report server automatically constructs the SQL query statement according to the drilled query conditions, output dimensions, output indicators, and collation rules, and queries the data from the database. The user can drill the query again for the drill result. Because the output dimension of the current query (as a query condition) and the drill output dimension can no longer be used as drill dimensions, the drillable dimensions are reduced once per drill, until no dimensions are drillable, the drill process It is over.
  • a user can create a complex report template, and on this basis, implement report data query and data drill analysis.
  • the method of sub-database sub-table solves the performance bottleneck of massive data query; solves the data security problem by decentralized domain.
  • the embodiment of the present invention further provides a report creation device, including: a template creation unit and a report query unit, wherein:
  • a template creation unit configured to create a report template according to an ADR model and store the same; the ADR model obtains an abstraction process on the data table in the database;
  • the report query unit is configured to invoke the created report template, perform a report query operation, and obtain report data.
  • the template creation unit is further configured to select an ADR associated with the report template to be created from the ADR model, determine the location of the report template to be created in the navigation tree, and set the name, query condition, and output of the report template to be created.
  • the default output method for content and output content is further configured to select an ADR associated with the report template to be created from the ADR model, determine the location of the report template to be created in the navigation tree, and set the name, query condition, and output of the report template to be created. The default output method for content and output content.
  • the template creation unit is further configured to set a time parameter, a drill option, and a report query unit of the report template to be created, and is further configured to generate a structured query statement according to the input query condition, query the data table data in the database, and obtain the report data.
  • the report query unit is further configured to authenticate the ADR associated with the invoked report template. When the authentication succeeds, the domain name object that the user has access to is obtained and added to the input query condition to generate a new query condition, and Generating a structured query statement according to the new query condition, the output content of the invoked report template, and the sorting rule of the output content; and is further configured to connect to the corresponding database according to the data source name included in the ADR associated with the invoked report template, and Execute the structured query statement to query the data table data in the corresponding database to obtain the report data.
  • the template creation unit and the report query unit may be implemented by a central processing unit (CPU), a microprocessor (MPU, a Micro Processing Unit), a digital signal processor (DSP), or Programmable Array (FPGA) implementation.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA Programmable Array

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种报表创建方法和***、装置,包括:对数据库中的数据表进行抽象化处理,创建抽象数据记录ADR模型;根据ADR模型创建报表模板、并存储;调用已创建的报表模板,执行报表查询操作,并显示查询获得的报表数据。通过本发明,用户可以快速创建出复杂的报表模板,不涉及到复杂的二次开发流程和二次开发脚本的编写。

Description

一种报表创建方法、 装置和*** 技术领域
本发明涉及报表***技术领域, 尤其涉及一种报表创建方法、 装置和 ***。 背景技术
现有的报表***一般都是按照用户需求进行定制开发, 用户查询报表 数据时, 只能输入报表限制的查询条件, 按照报表设计的输出方式展示结 果。 当用户查询报表数据的需求发生变化时, 需要重新进行报表的定制开 发, 这类报表***不支持用户自定义。 当然, 目前也有部分报表***支持 用户自定义, 这类报表***一般分为两类: 一类是可以支持简单的自定义, 用户可以自定义的范围也是有限的, 只能调整查询条件, 选择查询结果, 选择输出风格; 另外一类可以支持复杂的自定义, 用户可以设计表格, 编 写复杂的查询条件, 设计复杂的查询算法和个性化的输出风格, 需要用户 掌握复杂的二次开发流程, 对于普通用户来说, 技术门槛较高, 很难掌握, 而且开发周期也会比较长。 发明内容
有鉴于此, 本发明实施例的主要目的在于提供一种报表创建方法、 装 置和***, 支持复杂的报表模板创建, 不涉及到复杂的二次开发流程和二 次开发脚本的编写。
为达到上述目的, 本发明实施例的技术方案是这样实现的:
本发明实施例提供了一种报表创建方法, 该方法包括:
对数据库中的数据表进行抽象化处理, 创建抽象数据记录 ADR模型; 根据所述 ADR模型创建报表模板、 并存储; 调用已创建的报表模板, 执行报表查询操作, 并显示查询获得的报表 数据。
优选地,创建的所述 ADR模型由一个或多个 ADR组成,每个 ADR包 含两类基本元素: 基本维度和基本指标; 所述基本维度分为时间维度和对 象维度; 每个 ADR包含一个数据源名称;
ADR关联的一个或多个数据表的数据存放在数据源名称对应的数据库 中;
ADR包含的每个基本维度和基本指标分别对应 ADR关联的一个或多 个数据表的特定字段;
ADR关联的一个或多个数据表分为事实表和聚集表; 所述聚集表是对 所述事实表聚集得到。
优选地, 根据所述 ADR模型创建报表模板, 包括:
从 ADR模型中选择要创建的报表模板所关联的一个 ADR、 并确定要 创建的报表模板在导航树上的位置;
设置要创建的报表模板的名称、 查询条件、 输出内容和输出内容的默 认输出方式。
优选地, 设置要创建的报表模板的查询条件, 包括: 将粒度设置为查 询条件, 设置要创建的报表模板的一个或多个粒度, 使所述一个或多个粒 度均大于等于要创建的报表模板关联的 ADR支持的最小粒度;
设置要创建的报表模板的输出内容, 包括: 从要创建的报表模板关联 的 ADR包含的基本维度和基本指标中选择一个或多个作为输出内容。
优选地, 设置要创建的报表模板的输出内容时, 该方法还包括: 对所 述要创建的报表模板关联的 ADR所包含的基本维度进行扩展,得到虚拟维 度; 对所述要创建的报表模板关联的 ADR所包含的基本指标进行扩展, 得 到 KPI;
所述虚拟维度分为组合维度、 自定义维度、 维度组和子维度; 所述 KPI 分为常用 KPI、 占比 ΚΡΙ和统计 ΚΡΙ。
优选地, 设置要创建的报表模板的输出内容, 还包括: 从所述虚拟维 度和所述 ΚΡΙ中选择一个或多个作为输出内容, 并对作为输出内容的一个 或多个维度进行父子关系的设定;
所述作为输出内容的一个或多个维度包括基本维度和 /或虚拟维度。 优选地, 设置要创建的报表模板的查询条件, 还包括: 将要创建的报 表模板关联的 ADR包含的维度和 /或指标中的一个或多个作为查询条件; 所述维度包括基本维度和 /或虚拟维度; 所述指标包括基本指标和 /或
KPL
优选地, 根据所述 ADR模型创建报表模板, 还包括: 设置要创建报表 模板的时间参数、 钻取选项、 ΤΟΡΝ选项、 输出内容的排序规则和 /或输出 内容的扩展输出方式。
优选地, 调用已创建的报表模板, 执行报表查询操作, 并显示查询获 得的报表数据, 包括: 调用已创建的报表模板, 根据输入的查询条件生成 结构化查询语句, 到数据库中查询数据表数据, 获得报表数据并显示。
优选地, 调用所述报表模板, 根据输入的查询条件生成结构化查询语 句, 到数据库中查询数据表数据, 获得报表数据并显示, 包括:
根据用户指令调用已创建的报表模板, 构造 GUI界面供用户输入查询 条件;
对调用的报表模板关联的 ADR进行鉴权;
所述鉴权成功时, 获取用户有权访问的域对象, 并附加到输入的查询 条件、 生成新的查询条件;
根据新的查询条件、 调用的报表模板的输出内容和输出内容的排序规 则生成结构化查询语句;
根据调用的报表模板关联的 ADR所包含的数据源名称,连接到对应的 数据库, 并执行所述结构化查询语句到所述数据库中查询数据表数据, 获 得报表数据;
根据调用的报表模板的输出方式显示所述报表数据。
优选地, 对所述已创建的报表模板设置钻取选项时, 该方法还包括: 对所述查询结果中的记录进行钻取查询。
本发明实施例还提供了一种报表创建***, 包括: 数据库、 报表客户 端和报表服务器, 其中:
所述数据库, 配置为存储数据表数据, 对所述数据表进行抽象化处理, 创建 ADR模型;
所述报表服务器, 配置为根据所述 ADR模型创建报表模板、 并存储; 还配置为调用已创建的报表模板, 到所述数据库中执行报表查询操作, 并 向所述报表客户端返回查询获得的报表数据;
所述报表客户端, 配置为向所述报表服务器发出创建报表模板指令和 报表查询操作指令; 还配置为显示所述查询获得的报表数据。
优选地, 所述报表服务器, 还配置为从所述数据库的 ADR模型中选择 要创建的报表模板所关联的一个 ADR、 并确定要创建的报表模板在导航树 上的位置, 设置要创建的报表模板的名称、 查询条件、 输出内容和输出内 容的默认输出方式。
优选地, 所述报表服务器, 还配置为设置要创建报表模板的时间参数、 钻取选项、 TOPN选项、 输出内容的排序规则和 /或输出内容的扩展输出方 式。
优选地, 所述报表服务器, 还配置为根据输入的查询条件生成结构化 查询语句, 到所述数据库中查询数据表数据, 获得报表数据。
优选地, 所述报表客户端, 还配置为根据用户指令调用已创建的报表 模板, 构造 GUI界面供用户输入查询条件; 并将用户输入的查询条件, 发 给报表服务器;
所述报表服务器, 还配置为对调用的报表模板关联的 ADR进行鉴权; 所述鉴权成功时, 还配置为获取用户有权访问的域对象并附加到输入的查 询条件、 生成新的查询条件, 并根据新的查询条件、 调用的报表模板的输 出内容和输出内容的排序规则生成结构化查询语句; 还配置为根据调用的 报表模板关联的 ADR所包含的数据源名称, 连接到对应的数据库, 并执行 所述结构化查询语句到所述数据库中查询数据表数据, 获得报表数据, 发 送给所述报表客户端。
本发明实施例还提供了一种报表创建装置, 包括: 模板创建单元和报 表查询单元, 其中:
所述模板创建单元, 配置为根据 ADR模型创建报表模板、 并存储; 所 述 ADR模型是对数据库中的数据表进行抽象化处理获得;
所述报表查询单元, 配置为调用已创建的报表模板, 执行报表查询操 作, 获得报表数据。
优选地, 所述模板创建单元, 还配置为从 ADR模型中选择要创建的报 表模板所关联的一个 ADR、 并确定要创建的报表模板在导航树上的位置, 设置要创建的报表模板的名称、 查询条件、 输出内容和输出内容的默认输 出方式。
优选地, 所述模板创建单元, 还配置为设置要创建报表模板的时间参 数、 钻取选项、 TOPN选项、 输出内容的排序规则和 /或输出内容的扩展输 出方式。
优选地, 所述报表查询单元, 还配置为根据输入的查询条件生成结构 化查询语句, 到所述数据库中查询数据表数据, 获得报表数据。
优选地, 所述报表查询单元, 还配置为对调用的报表模板关联的 ADR 进行鉴权; 所述鉴权成功时, 还配置为获取用户有权访问的域对象并附加 到输入的查询条件、 生成新的查询条件, 并根据新的查询条件、 调用的报 表模板的输出内容和输出内容的排序规则生成结构化查询语句; 还配置为 根据调用的报表模板关联的 ADR所包含的数据源名称,连接到对应的数据 库, 并执行所述结构化查询语句到对应的数据库中查询数据表数据, 获得 报表数据。
本发明提供的报表创建方法、 装置和***, 对数据库中的数据表进行 抽象化处理, 创建抽象数据记录 ADR模型; 根据 ADR模型创建报表模板、 并存储; 调用已创建的报表模板, 执行报表查询操作, 并显示报表查询结 果。 这种基于 ADR模型的报表创建, 可以创建出复杂的报表模板, 而不涉 及到复杂的二次开发流程和二次开发脚本的编写。 附图说明
图 1为本发明实施例提供的报表创建方法流程示意图;
图 2为本发明实施例提供的 ADR模型结构示意图;
图 3为本发明实施例提供的报表创建***示意图;
图 4为本发明实施例提供的报表模板创建流程示意图;
图 5为本发明实施例提供的报表模板的查询流程示意图;
图 6为本发明实施例提供的钻取查询的流程示意图。 具体实施方式
下面结合附图和具体实施例对本发明的技术方案进一步详细阐述。 本发明实施例采用的方法, 首先要求对数据库中的数据表进行建模, 通过抽象数据模型描述数据库中的数据表, 这种抽象的数据库模型简称为 ADR ( Abstract Data Record, 抽象数据记录)模型, ADR模型可以认为是 从业务的角度描述数据库中的数据表, 这种模型应该是面向报表用户的, 是报表用户可以理解的。
当 ADR模型创建完毕后, 用户可以根据 ADR模型, 创建各种报表模 板。 当报表模板创建完毕后, 用户可以选择报表模板进行报表数据查询, 首先填写报表模板中设置的查询条件, 然后根据输入的查询条件, 自动构 造结构化查询语句, 从数据库中查询数据表得到查询结果、 即报表数据, 根据报表模板设置的输出方式, 显示查询到的报表数据。
本发明实施例提供的报表创建方法, 如图 1所示, 包括:
步骤 101, 对数据库中的数据表进行抽象化处理, 创建 ADR模型; 步骤 102, 根据所述 ADR模型创建报表模板、 并存储;
步骤 103, 调用报表模板, 执行报表查询操作, 并显示查询获得的报表 数据。
下面具体说明本发明实施例的上述技术方案。
图 2所示为 ADR模型结构示意图。
一套 ADR模型由一个或多个 ADR组成;每个 ADR包含了两类基本元 素: 维度和指标(为了便于和后续扩展的维度和指标进行区分, 这里称为 基本维度和基本指标), 其中, 基本维度可以分为时间维度和对象维度。
优选地, 为了满足复杂报表创建的需要, 在基本维度和基本指标这两 类基本元素的基础上, 可以分别扩展出虚拟维度和 KPI ( Key Performance Indicator, 关键绩效指标)。 则本发明实施例后续描述的维度包含基本维度 和虚拟维度, 指标包含基本指标和 KPI。
其中, 虚拟维度是对维度的扩展, 可以分为组合维度、 自定义维度、 维度组和子维度。 所谓组合维度, 就是对已有的维度进行组合, 形成一个 新的维度, 例如移动国家号码(MCC, Mobile Country Code )和移动网络 号码(MNC, Mobile Network Code )可以组合成虚拟维度公共陆地移动网 络(PLMN, Public Land Mobile Network )。 所谓自定义维度, 可以通过一 些***函数实现对现有维度的转换,例如 IPV4(IP),其中 IPV4是***函数, 表示将 IP维度(十六进制 )转换为 IPV4的字符串地址, 或者通过字符串 拼接对维度进行格式化; 例如 YEAR(time)+,-,+MONTH(time), 其中 YEAR 是***函数,表示从 time维度中提取年信息,其中 MONTH也是***函数, 表示从 time维度中提取月信息,如果 time的值是 2012年 9月 8日 15:39:30, 那么上面这个虚拟维度对应的值就是字符串 "2012-09"。 所谓维度组, 就是 将多个维度(包括虚拟维度) 归为一个组; 当维度组作为查询条件, 执行 报表查询时, 只能选择该维度组中的一个维度作为查询条件; 当维度组作 为输出内容, 执行报表查询时, 必须且只能选择该维度组中的一个维度作 为输出内容。 通过维度组, 可以将多个报表模板合并为一个模板。 所谓子 维度, 就是将 ADR中的维度与其他维度表进行关联, 例如 ADR中的终端 类型维度, 可以与终端类型维度表中的终端厂家或者操作***进行关联, 从而可以实现对终端厂家或操作***的指标分析, 终端类型维度就是终端 厂家维度的子维度。
KPI分为常用 KPI、 占比 ΚΡΙ和统计 ΚΡΙ。 常用 ΚΡΙ是对同一个 ADR 的指标进行四则运算,指标的四则运算是一种经常使用的 ΚΡΙ,例如成功率 ΚΡΙ, 就是通过成功次数 / (成功次数 +失败次数 )计算得到。 占比 ΚΡΙ是用 来计算某个维度的某个指标相对于同类型其他维度同指标的对比情况, 例 如用户流量占比, 就是某个用户流量占所有用户流量总和的百分比。 统计
ΚΡΙ则是统计某个维度的数量,例如业务用户数,统计使用各个业务的用户。
每个 ADR都包含一个数据源名称属性, 描述了 ADR关联的数据表存 放的数据源, 例如数据库。 通过此方式, 可以将数据表存放在多个数据源 中, 避免所有数据存放在一个数据源, 导致的性能瓶颈和容量瓶颈。 当执 行报表模板查询数据表时, ***自动连接报表模板对应 ADR的数据源, 执 行结构化查询语句获取报表数据。
ADR模型是从业务的角度描述数据库中的数据表, 因此每个 ADR必 然关联数据库中的若干张数据表。 ADR中的每个基本维度和基本指标分别 对应数据表的某个特定字段; 虚拟维度和 ΚΡΙ在数据表中没有字段与之对 应, 但是, 它们都是通过对数据表中的字段进行运算和处理得到的。
可以将 ADR关联的数据表分为两类: 事实表和聚集表。 事实表的字段 涵盖了 ADR模型中的所有基本维度和基本指标,事实表描述的信息量最大。 为了提高查询效率, 引入了聚集表的概念, 聚集表中的数据是对事实表数 据进行聚集而来的。 同样, 为了提高查询效率, 可以针对不同粒度、 分别 创建对应的聚集表, 从图 2中可以看出, 一个 ADR最多可以关联 7种粒度 ( 15分钟粒度、 小时粒度、 天粒度、 周粒度、 月粒度、 季度粒度、 年粒度) 的聚集表。 不是所有的 ADR都关联如此多粒度的聚集表, 当用户查询报表 数据时, ***根据报表粒度, 优先查询对应粒度的聚集表, 如果不存在对 应粒度的聚集表, ***会自动查询小粒度的聚集表。 例如, ADR关联的聚 集表只有 15分钟粒度和小时粒度, 如果用户查询天粒度的报表, ***从小 时粒度的聚集表查询天粒度报表的数据。
考虑到数据表中的数据量较大, 可以通过分表的方式减少每个数据表 的数据量, 从而提升查询效率。 事实表一般按天进行分表; 15分钟粒度聚 集表一般按天进行分表; 小时粒度聚集表一般按周进行分表; 天粒度聚集 表一般按月进行分表; 周粒度聚集表一般按年进行分表; 月粒度聚集表一 般按年进行分表; 季度粒度聚集表和年粒度聚集表没有必要分表。 ***在 查询报表数据时, 根据查询的粒度和时间范围, 选择对应的数据表, 如果 查询的时间跨越多张数据表, 需要对多张数据表进行 union查询。
图 3 所示为本发明实施例提供的报表创建***示意图, 该***由三部 分组成: 报表客户端、 报表服务器和数据库。 其中, 报表客户端与报表服 务器之间采用 B/S架构, 报表客户端程序采用 swf文件的形式, 部署在报 表服务器上。 报表客户端需要安装 flash player和 web浏览器, 报表客户端 的浏览器从报表服务器下载 swf文件, 通过 flash player在本地运行客户端 程序。 报表客户端提供: 创建报表模板(指用户操作)、 报表查询条件输入 和输出报表查询结果, 这三个主要功能。
报表服务器负责根据用户操作, 创建并保存报表模板, 和执行报表查 询操作。 在报表查询过程中, 报表服务器通过开放数据库互连(ODBC , Open Database Connectivity )方式动态连接数据库。 为了支持海量数据的查询,报表服务器支持接入多个数据库,不同 ADR 对应的报表数据可以存放到不同的数据库中。
具体的, 在创建 表时, 上述***的三个部分的功能为:
数据库, 配置为存储数据表数据, 对这些数据表进行抽象化处理, 创 建 ADR模型;
报表服务器, 配置为根据 ADR模型创建报表模板、 并存储; 还配置为 调用已创建的报表模板, 到数据库中执行报表查询操作, 并向报表客户端 返回查询获得的报表数据;
报表客户端, 配置为向报表服务器发出创建报表模板指令和报表查询 操作指令; 还配置为显示查询获得的报表数据。
报表服务器,还配置为从数据库的 ADR模型中选择要创建的报表模板 所关联的一个 ADR、 并确定要创建的报表模板在导航树上的位置, 设置要 创建的报表模板的名称、 查询条件、 输出内容和输出内容的默认输出方式。
报表服务器, 还配置为设置要创建报表模板的时间参数、 钻取选项、 报表服务器, 还配置为根据输入的查询条件生成结构化查询语句, 到 数据库中查询数据表数据, 获得报表数据。
报表客户端,还配置为根据用户指令调用已创建的报表模板,构造 GUI 界面供用户输入查询条件; 并将用户输入的查询条件, 发给报表服务器; 报表服务器, 还配置为对调用的报表模板关联的 ADR进行鉴权; 鉴权 成功时, 还配置为获取用户有权访问的域对象, 并附加到输入的查询条件、 生成新的查询条件, 并根据新的查询条件、 调用的报表模板的输出内容和 输出内容的排序规则生成结构化查询语句; 还配置为根据调用的报表模板 关联的 ADR所包含的数据源名称, 连接到对应的数据库, 并执行结构化查 询语句到对应的数据库中查询并获得报表数据, 发送给所述报表客户端。
图 4所示为本发明实施例提供的报表模板创建流程, 包括如下步骤: 第一步: 从 ADR模型中选择要创建的报表模板所关联的一个 ADR, 每个报表模板必须且只能关联一个 ADR。
第二步: 选择要创建的报表模板在导航树上的位置。 通过导航树, 可 以实现对创建的报表模板的管理。
第三步: 设置要创建的报表模板的名称。
第四步: 设置要创建的报表模板的粒度(即查询条件)。 每个 ADR都 配置了其支持的粒度, 为报表模板配置的粒度可以有多个, 且该报表模板 所有的粒度必须大于等于 ADR支持的最小粒度。 (这里的粒度可以根据需 要设定, 例如 15分钟、 30分钟、 1小时、 1天、 1月、 1季度、 1年等等)。
第五步: 设置要创建的报表模板的输出内容。 从要创建的报表模板关 联的 ADR所包含的基本维度和基本指标中选择一个或多个作为输出内容。
第六步: 设置要创建的报表模板的输出内容的默认输出方式, 例如可 以是表格。
通过上述六个步骤可以创建出一个简单的报表模板。 如果需要创建一 个复杂的报表模板, 可以选择下面的步骤进行设置。
可选操作一: 在设置报表模板输出内容时, 除了基本维度和基本指标, 还可以从虚拟维度和 KPI中选择一个或多个作为输出内容。 对作为输出内 容的一个或多个维度进行父子关系的设定。
可选操作二: 设置报表模板的查询条件时, 可以将要创建的报表模板 关联的 ADR包含的维度和 /或指标中的一个或多个作为查询条件。 (维度可 以包括基本维度和虚拟维度; 指标可以包括基本指标和 KPI )这里, 每个查 询条件可以支持〉、 >=、 <、 <=、 =、 <>、 IN、 NOT IN, LL (左模糊匹配)、 RL (右模糊匹配)、 LIKE (模糊匹配, 支持?和 *通配符)等常见算法。 一 个报表模板中可以设置多个查询条件, 这些条件之间可以进行 AND、 OR、 NOR运算。 需要指出的是, 当指标作为查询条件时, 需要设置该查询条件 的属性(前置条件或后置条件), 所谓前置条件, 就是对原始记录进行条件 过滤; 所谓后置条件, 就是对查询结果进行条件过滤。 每个查询条件可以 设置是否预置, 是否必选。 所谓预置条件, 就是每次查询报表必须携带的 查询条件, 可以认为特殊的必选条件。 通过上述查询条件设置, 可以支持 复杂的条件查询。
可选操作三: 设置时间参数, 包括日期多选、 时段选择、 忙时、 节假 日。 如果设置日期多选, 可以实现离散日期的数据查询; 如果设置时段选 择, 可以实现指定时段的数据查询; 如果设置忙时, 可以实现忙时的数据 查询, 忙时属于特殊的时段选择; 如果设置节假日, 可以实现节假日的数 据查询, 节假日属于特殊的日期多选。
可选操作四: 设置钻取选项。 为了满足用户的数据分析需求, 需要提 供钻取功能。 所谓钻取, 就是将查询结果作为下一次查询的条件, 通过这 种关联查询, 可以方便用户定位问题。 在创建报表模板阶段, 只需要选择 支持钻取的维度即可, 至于钻取的先后顺序, 在钻取查询过程中可以动态 选择。
可选操作五: 设置排序规则。 很多报表数据查询都要求对查询结果进 行排序, 在创建报表模板时, 可以设置排序字段。 排序字段为维度或者指 标(即输出内容), 可以选择多个排序字段, 可以设置每个排序字段的排序 规则 (升序、 降序)和先后顺序。
可选操作六: 设置 TOPN选项。 一个报表模板可以设置多个 TOPN选 项, 每个 TOPN选项必须指定参数: 记录数( TOPN中的 N )、 维度、 指标 及排序规则。 其中 TOPN指定的维度必须作为报表模板的输出内容。
可选操作七: 设置输出内容的扩展输出方式, 例如图形风格。 用户可 以设置报表数据所采用的图形显示风格: 柱状图、 柱状堆积图、 趋势图、 饼图、 面积图、 雷达图、 仪表盘。 趋势图和柱状图支持双坐标和合并。
通过上述七项可选操作, 用户可以快速创建出复杂的报表模板, 不涉 及到复杂的二次开发流程和二次开发脚本的编写。 完成报表模板创建后, 报表客户端会进行校验, 检查是否有遗漏或者 设计错误。 报表模板校验通过后, 用户可以预览该模板的查询效果, 如果 不满意, 可以对报表模板进行局部修改或重新设计, 达到所见即所得的效 果。
报表模板的创建功能由报表客户端提供, 设计好的报表模板保存到报 表服务器上。
图 5 所示为报表模板的查询流程, 大致过程为: 调用报表模板, 根据 输入的查询条件生成结构化查询语句, 从数据库中查询数据表数据, 获得 报表数据并显示。 具体如下:
1、根据用户指令调用已创建的报表模板,构造 GUI界面供用户输入查 询条件。
用户在报表客户端上选择某个已创建的报表模板, 双击执行查询操作。 报表客户端根据报表模板中定义的查询条件, 构造 GUI界面显示查询条件 给用户选择,预置条件不显示在 GUI界面给用户选择。用户在 GUI界面中, 输入查询条件, 点击查询。 如果必选条件没有输入, 则返回错误提示; 否 则, 继续下一步。
2、 对用户所访问的 ADR进行鉴权。 这里, 用户所访问的 ADR即为调 用的报表模板关联的 ADR。
报表客户端将用户输入的查询条件, 发给报表服务器。 报表服务器首 先对用户所访问的 ADR进行鉴权, 如果鉴权失败, 则返回错误提示; 否则 继续下一步。
3、 获取用户有权访问的域对象并附加到输入的查询条件、 生成新的查 询条件。
报表服务器获取当前用户可以访问的域对象,以 AND运算的方式附加 到报表客户端下发的查询条件中, 形成新的查询条件。 根据新的查询条件、 调用的报表模板的输出内容和输出内容的排序规则生成结构化查询语句。 4、 报表服务器根据用户所访问的 ADR所包含的数据源名称, 连接到 对应的数据库, 并执行结构化查询语句到数据库中查询、 获得报表数据。
5、 根据调用的报表模板的输出方式显示查询获得的报表数据。
报表服务器将执行结构化查询语句的结果、 即查询数据库返回的报表 数据, 持久化到本地文件中、 即结果文件, 发给报表客户端。 报表客户端 读取报表服务器返回的结果文件, 根据报表模板的输出方式, 进行表格化 展示和图形渲染。
图 6所示为钻取查询的流程。
如果报表模板配置了钻取选项, 则用户可以选择查询结果中的某条记 录进行钻取查询。 有两种钻取方式: 快速钻取和高级钻取。
所谓快速钻取是指: 每次只能选择一个维度作为钻取维度。 将当前查 询条件和所选择的记录中的维度作为钻取查询的条件; 将用户选择的钻取 维度作为钻取查询的输出维度; 将当前查询的指标作为钻取查询的输出指 标。
所谓高级钻取是指: 每次可以选择多个维度作为钻取维度。 可以选择 当前查询输出维度中的某些维度作为查询条件; 可以添加额外的查询条件; 可以指定钻取查询的输出指标; 可以设置钻取查询结果的排序规则; 可以 设置输出的图形风格。
报表客户端将钻取查询的请求发给报表服务器后, 报表服务器根据钻 取的查询条件、输出维度、输出指标和排序规则, 自动构造 SQL查询语句, 从数据库中查询数据。 用户可以对钻取结果再次进行钻取查询。 由于, 当 前查询的输出维度(作为查询条件)和钻取输出维度不能再作为钻取维度, 因此, 每钻取一次, 可钻取的维度就会减少, 直到没有维度可钻取, 钻取 流程就结束了。
综上所述, 采用本发明实施例的方法, 用户可以创建出复杂的报表模 板, 在此基础上, 实现报表数据查询和数据的钻取分析。 通过事先聚集和 分库分表的方式, 解决了海量数据查询的性能瓶颈; 通过分权分域, 解决 了数据的安全性问题。
为了实现上述报表创建方法, 本发明实施例还提供了一种报表创建装 置, 包括: 模板创建单元和报表查询单元, 其中:
模板创建单元, 配置为根据 ADR模型创建报表模板、 并存储; ADR 模型是对数据库中的数据表进行抽象化处理获得;
报表查询单元, 配置为调用已创建的报表模板, 执行报表查询操作, 获得报表数据。
模板创建单元,还配置为从 ADR模型中选择要创建的报表模板所关联 的一个 ADR、 并确定要创建的报表模板在导航树上的位置, 设置要创建的 报表模板的名称、 查询条件、 输出内容和输出内容的默认输出方式。
模板创建单元, 还配置为设置要创建报表模板的时间参数、 钻取选项、 报表查询单元, 还配置为根据输入的查询条件生成结构化查询语句, 到数据库中查询数据表数据, 获得报表数据。
报表查询单元, 还配置为对调用的报表模板关联的 ADR进行鉴权; 鉴 权成功时, 还配置为获取用户有权访问的域对象并附加到输入的查询条件, 生成新的查询条件, 并根据新的查询条件、 调用的报表模板的输出内容和 输出内容的排序规则生成结构化查询语句; 还配置为根据调用的报表模板 关联的 ADR所包含的数据源名称, 连接到对应的数据库, 并执行结构化查 询语句到对应的数据库中查询数据表数据, 获得报表数据。
另外, 上述模板创建单元和报表查询单元可由报表创建装置中的中央 处理器(CPU, Central Processing Unit ),微处理器(MPU, Micro Processing Unit )、 数字信号处理器(DSP, Digital Signal Processor )或可编程逻辑阵列 ( FPGA, Field - Programmable Gate Array ) 实现。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围

Claims

权利要求书
1、 一种报表创建方法, 该方法包括:
对数据库中的数据表进行抽象化处理,创建抽象数据记录 ADR模型; 根据所述 ADR模型创建报表模板、 并存储;
调用已创建的报表模板, 执行报表查询操作, 并显示查询获得的报 表数据。
2、 根据权利要求 1所述报表创建方法, 其中, 创建的所述 ADR模 型由一个或多个 ADR组成, 每个 ADR包含两类基本元素: 基本维度和 基本指标; 所述基本维度分为时间维度和对象维度; 每个 ADR包含一个 数据源名称;
ADR关联的一个或多个数据表的数据存放在数据源名称对应的数据 库中;
ADR 包含的每个基本维度和基本指标分别对应 ADR关联的一个或 多个数据表的特定字段;
ADR关联的一个或多个数据表分为事实表和聚集表; 所述聚集表是 对所述事实表聚集得到。
3、 根据权利要求 1所述报表创建方法, 其中, 根据所述 ADR模型 创建报表模板, 包括:
从 ADR模型中选择要创建的报表模板所关联的一个 ADR、并确定要 创建的报表模板在导航树上的位置;
设置要创建的报表模板的名称、 查询条件、 输出内容和输出内容的 默认输出方式。
4、 根据权利要求 2或 3所述报表创建方法, 其中,
设置要创建的报表模板的查询条件, 包括: 将粒度设置为查询条件, 设置要创建的报表模板的一个或多个粒度, 使所述一个或多个粒度均大 于等于要创建的报表模板关联的 ADR支持的最小粒度;
设置要创建的报表模板的输出内容, 包括: 从要创建的报表模板关 联的 ADR包含的基本维度和基本指标中选择一个或多个作为输出内容。
5、 根据权利要求 4所述报表创建方法, 其中,
设置要创建的报表模板的输出内容时, 该方法还包括: 对所述要创 建的报表模板关联的 ADR所包含的基本维度进行扩展, 得到虚拟维度; 对所述要创建的报表模板关联的 ADR所包含的基本指标进行扩展,得到 KPI;
所述虚拟维度分为组合维度、 自定义维度、 维度组和子维度; 所述
KPI分为常用 KPI、 占比 ΚΡΙ和统计 ΚΡΙ。
6、 根据权利要求 5所述报表创建方法, 其中, 设置要创建的报表模 板的输出内容, 还包括: 从所述虚拟维度和所述 ΚΡΙ 中选择一个或多个 作为输出内容, 并对作为输出内容的一个或多个维度进行父子关系的设 定;
所述作为输出内容的一个或多个维度包括基本维度和 /或虚拟维度。
7、 根据权利要求 5所述报表创建方法, 其中, 设置要创建的报表模 板的查询条件, 还包括: 将要创建的报表模板关联的 ADR包含的维度和 /或指标中的一个或多个作为查询条件;
所述维度包括基本维度和 /或虚拟维度; 所述指标包括基本指标和 /或
KPL
8、 根据权利要求 3所述报表创建方法, 其中, 根据所述 ADR模型 创建报表模板, 还包括: 设置要创建报表模板的时间参数、 钻取选项、
9、 根据权利要求 1所述报表创建方法, 其中, 调用已创建的报表模 板, 执行报表查询操作, 并显示查询获得的报表数据, 包括: 调用已创 建的报表模板, 根据输入的查询条件生成结构化查询语句, 到数据库中 查询数据表数据, 获得报表数据并显示。
10、 根据权利要求 9所述报表创建方法, 其中, 调用所述报表模板, 根据输入的查询条件生成结构化查询语句, 到数据库中查询数据表数据, 获得报表数据并显示, 包括:
根据用户指令调用已创建的报表模板, 构造 GUI界面供用户输入查 询条件;
对调用的报表模板关联的 ADR进行鉴权;
所述鉴权成功时, 获取用户有权访问的域对象, 并附加到输入的查 询条件、 生成新的查询条件;
根据新的查询条件、 调用的报表模板的输出内容和输出内容的排序 规则生成结构化查询语句;
根据调用的报表模板关联的 ADR所包含的数据源名称, 连接到对应 的数据库, 并执行所述结构化查询语句到所述数据库中查询数据表数据, 获得报表数据;
根据调用的报表模板的输出方式显示所述报表数据。
11、 根据权利要求 10所述报表创建方法, 其中, 对所述已创建的报 表模板设置钻取选项时, 该方法还包括: 对所述查询结果中的记录进行 钻取查询。
12、 一种报表创建***, 包括: 数据库、 报表客户端和报表服务器, 其中:
所述数据库, 配置为存储数据表数据, 对所述数据表进行抽象化处 理, 创建 ADR模型;
所述报表服务器,配置为根据所述 ADR模型创建报表模板、并存储; 还配置为调用已创建的报表模板, 到所述数据库中执行报表查询操作, 并向所述报表客户端返回查询获得的报表数据;
所述报表客户端, 配置为向所述报表服务器发出创建报表模板指令 和报表查询操作指令; 还配置为显示所述查询获得的报表数据。
13、 根据权利要求 12所述报表创建***, 其中,
所述报表服务器, 还配置为从所述数据库的 ADR模型中选择要创建 的报表模板所关联的一个 ADR、 并确定要创建的报表模板在导航树上的 位置, 设置要创建的报表模板的名称、 查询条件、 输出内容和输出内容 的默认输出方式。
14、 根据权利要求 13所述报表创建***, 其中,
所述报表服务器, 还配置为设置要创建报表模板的时间参数、 钻取
15、 根据权利要求 12所述报表创建***, 其中,
所述报表服务器, 还配置为根据输入的查询条件生成结构化查询语 句, 到所述数据库中查询数据表数据, 获得报表数据。
16、 根据权利要求 15所述报表创建***, 其中,
所述报表客户端, 还配置为根据用户指令调用已创建的报表模板, 构造 GUI界面供用户输入查询条件; 并将用户输入的查询条件, 发给报 表服务器;
所述报表服务器,还配置为对调用的报表模板关联的 ADR进行鉴权; 所述鉴权成功时, 还配置为获取用户有权访问的域对象并附加到输入的 查询条件、 生成新的查询条件, 并根据新的查询条件、 调用的报表模板 的输出内容和输出内容的排序规则生成结构化查询语句; 还配置为根据 调用的报表模板关联的 ADR所包含的数据源名称,连接到对应的数据库, 并执行所述结构化查询语句到所述数据库中查询数据表数据, 获得报表 数据, 发送给所述报表客户端。
17、 一种报表创建装置, 包括: 模板创建单元和报表查询单元, 其 中:
所述模板创建单元, 配置为根据 ADR模型创建报表模板、 并存储; 所述 ADR模型是对数据库中的数据表进行抽象化处理获得; 所述报表查询单元, 配置为调用已创建的报表模板, 执行报表查询 操作, 获得报表数据。
18、 根据权利要求 17所述报表创建装置, 其中,
所述模板创建单元, 还配置为从 ADR模型中选择要创建的报表模板 所关联的一个 ADR、 并确定要创建的报表模板在导航树上的位置, 设置 要创建的报表模板的名称、 查询条件、 输出内容和输出内容的默认输出 方式。
19、 根据权利要求 18所述报表创建装置, 其中,
所述模板创建单元, 还配置为设置要创建报表模板的时间参数、 钻 式。
20、 根据权利要求 17所述报表创建装置, 其中,
所述报表查询单元, 还配置为根据输入的查询条件生成结构化查询 语句, 到所述数据库中查询数据表数据, 获得报表数据。
21、 根据权利要求 20所述报表创建装置, 其中,
所述报表查询单元,还配置为对调用的报表模板关联的 ADR进行鉴 权; 所述鉴权成功时, 还配置为获取用户有权访问的域对象并附加到输 入的查询条件、 生成新的查询条件, 并根据新的查询条件、 调用的报表 模板的输出内容和输出内容的排序规则生成结构化查询语句; 还配置为 根据调用的报表模板关联的 ADR所包含的数据源名称, 连接到对应的数 据库, 并执行所述结构化查询语句到对应的数据库中查询数据表数据, 获得报表数据。
PCT/CN2013/086062 2012-11-26 2013-10-28 一种报表创建方法、装置和*** WO2014079304A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/647,201 US20150324423A1 (en) 2012-11-26 2013-10-28 Report creation method, device and system
EP13857146.8A EP2924588B1 (en) 2012-11-26 2013-10-28 Report creation method, device and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210485311.2A CN103020158B (zh) 2012-11-26 2012-11-26 一种报表创建方法、装置和***
CN201210485311.2 2012-11-26

Publications (1)

Publication Number Publication Date
WO2014079304A1 true WO2014079304A1 (zh) 2014-05-30

Family

ID=47968762

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/086062 WO2014079304A1 (zh) 2012-11-26 2013-10-28 一种报表创建方法、装置和***

Country Status (4)

Country Link
US (1) US20150324423A1 (zh)
EP (1) EP2924588B1 (zh)
CN (1) CN103020158B (zh)
WO (1) WO2014079304A1 (zh)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107861929A (zh) * 2017-09-30 2018-03-30 深圳市买买提乐购金融服务有限公司 文档生成方法、终端及计算机可读介质
CN108108375A (zh) * 2016-11-25 2018-06-01 深圳市创梦天地科技有限公司 一种大数据提取方法和***
CN109460542A (zh) * 2018-01-15 2019-03-12 安徽七禾软件有限公司 一种粮油报表生成方法及***
CN110597842A (zh) * 2019-07-22 2019-12-20 石化盈科信息技术有限责任公司 业务数据查询方法及***
CN111158650A (zh) * 2019-12-25 2020-05-15 中国建设银行股份有限公司 报表模板、报表模板及报表的生成方法、装置
CN111881192A (zh) * 2020-08-03 2020-11-03 浪潮云信息技术股份公司 可视化配置报表的生成方法、***、电子设备及存储介质
CN111913962A (zh) * 2020-07-30 2020-11-10 山东浪潮通软信息科技有限公司 一种多维度年度明细资金计划编制***及方法
CN113760240A (zh) * 2020-09-02 2021-12-07 北京沃东天骏信息技术有限公司 一种生成数据模型的方法和装置
CN114817237A (zh) * 2021-09-17 2022-07-29 安徽中科新辰技术有限公司 一种数据的归集方法及设备

Families Citing this family (63)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020158B (zh) * 2012-11-26 2016-09-07 中兴通讯股份有限公司 一种报表创建方法、装置和***
CN104239017B (zh) * 2013-06-19 2018-09-14 深圳联友科技有限公司 一种配置及调用自定义表单的规则的方法和***
CN104809130B (zh) * 2014-01-27 2019-03-08 腾讯科技(深圳)有限公司 数据查询的方法、设备及***
US11288290B2 (en) 2014-12-18 2022-03-29 Ab Initio Technology Llc Building reports
CN104462497B (zh) * 2014-12-19 2018-07-10 深圳中兴网信科技有限公司 基于关系型数据库的跨库事务处理方法和***
CN104699788A (zh) * 2015-03-16 2015-06-10 百度在线网络技术(北京)有限公司 数据库查询方法和装置
CN104715052B (zh) * 2015-03-27 2018-08-28 国家电网公司 生成报表的方法及其***
CN105117531B (zh) * 2015-08-06 2018-07-06 深圳大成创安达电子科技发展有限公司 一种***作业处理方法及***
CN106528067B (zh) * 2015-09-15 2019-09-13 阿里巴巴集团控股有限公司 一种生成报表的方法及装置
CN106708610B (zh) * 2015-11-17 2020-11-03 北京京东尚科信息技术有限公司 一种业务模型的管理方法和***
CN106933899B (zh) * 2015-12-30 2020-08-18 远光软件股份有限公司 表格处理方法及装置
US10536349B1 (en) * 2015-12-31 2020-01-14 VCE IP Holding Company LLC Configuration system and method for an integrated computing system
CN105893488A (zh) * 2016-03-29 2016-08-24 国云科技股份有限公司 一种便捷灵活自制的数据统计报表制作方法
CN107491454A (zh) * 2016-06-13 2017-12-19 百度在线网络技术(北京)有限公司 数据查询方法及装置
CN106126569B (zh) * 2016-06-17 2018-06-12 南京乐运乐科技有限公司 一种快速数据服务方法及***
US10545975B1 (en) 2016-06-22 2020-01-28 Palantir Technologies Inc. Visual analysis of data using sequenced dataset reduction
US10776405B2 (en) * 2016-07-28 2020-09-15 International Business Machines Corporation Mechanism and apparatus of spatial encoding enabled multi-scale context join
CN106407171B (zh) * 2016-11-03 2023-09-26 华能澜沧江水电股份有限公司 基于树形结构的安全监测自定义报表的生成***及方法
CN107180117B (zh) * 2017-06-30 2020-12-18 东软集团股份有限公司 图表推荐方法、装置和计算机设备
CN107451109B (zh) * 2017-07-05 2022-01-04 北京京东尚科信息技术有限公司 报表生成方法及***
CN107316185B (zh) * 2017-07-10 2021-03-16 广州莱伯世开科技有限公司 一种lims***中检测流程的建立方法及建立***
US10884980B2 (en) * 2017-07-26 2021-01-05 International Business Machines Corporation Cognitive file and object management for distributed storage environments
US10817515B2 (en) 2017-07-26 2020-10-27 International Business Machines Corporation Cognitive data filtering for storage environments
CN107515912A (zh) * 2017-08-15 2017-12-26 上海数聚软件***股份有限公司 一种基于行业管理模型的报表数据获取方法
CN107516166B (zh) * 2017-08-15 2021-04-20 广州莱伯世开科技有限公司 一种超级样品自适应管理方法
CN110147352A (zh) * 2017-09-29 2019-08-20 北京国双科技有限公司 一种数据处理方法和装置
CN110019357B (zh) * 2017-09-29 2021-06-29 北京国双科技有限公司 数据库查询脚本生成方法及装置
CN110019974B (zh) * 2017-09-30 2021-06-29 北京国双科技有限公司 图表下钻实现方法及装置
CN107977459B (zh) * 2017-12-19 2020-11-03 北京星选科技有限公司 报表生成方法及装置
CN108595394A (zh) * 2018-03-21 2018-09-28 上海蔚界信息科技有限公司 一种文本分析报告的快速构建方案
CN108536660B (zh) * 2018-04-03 2023-08-04 福建榕基软件工程有限公司 一种自定义报表的生成方法及终端
CN108647316A (zh) * 2018-05-10 2018-10-12 北京中电普华信息技术有限公司 数据处理方法和装置
CN108984499B (zh) * 2018-06-01 2022-05-31 北京五八信息技术有限公司 报表数据处理方法和装置、电子设备和可读存储介质
CN109165377A (zh) * 2018-06-11 2019-01-08 玖富金科控股集团有限责任公司 生成表单数据的方法和制表设备
CA3116777A1 (en) 2018-07-17 2020-01-23 Vantage Agora, Inc. Business operating system engine
CN109165378A (zh) * 2018-08-15 2019-01-08 北京天安智慧信息技术有限公司 复杂功能报表定制方法及***
CN109445816B (zh) * 2018-10-16 2022-03-22 网易(杭州)网络有限公司 导表处理方法、装置、存储介质、处理器及终端
CN109491656A (zh) * 2018-10-31 2019-03-19 上海用天网络科技有限公司 一种企业管理软件中创建报表模型及模板的方法
CN109800264B (zh) * 2018-12-27 2024-05-31 平安科技(深圳)有限公司 多样化申报表导出方法、装置及存储介质
CN109871406B (zh) * 2018-12-28 2023-06-20 北京云杉信息技术有限公司 通用监控报表平台的设计方法
CN109815244A (zh) * 2019-02-21 2019-05-28 中国联合网络通信集团有限公司 一种数据处理方法和装置
CN110175184B (zh) * 2019-04-30 2023-01-20 创新先进技术有限公司 一种数据维度的下钻方法、***及电子设备
CN110334109B (zh) * 2019-05-08 2020-07-24 重庆猪八戒知识产权服务有限公司 关系式数据库数据查询方法、***、介质和电子设备
CN110276059B (zh) * 2019-06-24 2023-10-27 银联商务股份有限公司 一种动态报表的处理方法和装置
CN110413634B (zh) * 2019-06-27 2022-03-29 北京奇艺世纪科技有限公司 数据查询方法、***、装置及计算机可读存储介质
CN110928962B (zh) * 2019-11-26 2024-03-26 浪潮通用软件有限公司 一种基于动态字段的查询报表生成方法
CN111026759B (zh) * 2019-12-11 2024-03-12 中盈优创资讯科技有限公司 基于Hbase的报表生成方法及装置
CN111143356B (zh) * 2019-12-12 2023-08-01 中盈优创资讯科技有限公司 报表检索方法及装置
CN111143358A (zh) * 2019-12-13 2020-05-12 航天信息股份有限公司 报表配置方法和***
CN111158795A (zh) * 2019-12-24 2020-05-15 深圳壹账通智能科技有限公司 报表生成方法、装置、介质及电子设备
CN111090974B (zh) * 2019-12-27 2023-10-24 中国银行股份有限公司 一种报表生成方法、装置及设备
CN111221884A (zh) * 2019-12-31 2020-06-02 上海上实龙创智慧能源科技股份有限公司 一种基于Vue.js框架的报表配置及显示的方法和装置
CN111353813A (zh) * 2020-02-20 2020-06-30 苏宁云计算有限公司 画像分析方法、***、计算机设备及存储介质
CN111444177B (zh) * 2020-03-02 2023-05-12 北京深演智能科技股份有限公司 配置报表的方法和装置
CN111459933B (zh) * 2020-03-12 2023-06-06 平安科技(深圳)有限公司 Gdb数据动态扩展方法、装置及存储介质
CN112182349B (zh) * 2020-09-14 2024-06-11 支付宝(杭州)信息技术有限公司 合规档案的查询方法、装置及***
CN112131220B (zh) * 2020-09-15 2024-03-15 北京奇艺世纪科技有限公司 数据报表处理方法及装置
CN112598289A (zh) * 2020-12-25 2021-04-02 平安银行股份有限公司 指标配置方法、***、计算机设备及计算机可读存储介质
CN113190581A (zh) * 2021-04-30 2021-07-30 宝宝巴士股份有限公司 一种基于大数据动态生成报表的方法及终端
CN113239115B (zh) * 2021-05-19 2023-06-02 中国医学科学院医学生物学研究所 一种疫苗不良反应批量数据快速、准确的同步方法
CN113486111A (zh) * 2021-06-21 2021-10-08 浙大城市学院 一种支持集群计算的报表***及方法
CN113342821B (zh) * 2021-06-29 2023-04-07 深圳前海微众银行股份有限公司 报表配置方法、装置、设备及计算机存储介质
CN114004208B (zh) * 2021-10-19 2022-09-09 江苏瑞中数据股份有限公司 一种可灵活定制的电力营销***报表模板构建方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770449A (zh) * 2008-12-30 2010-07-07 北京天融信网络安全技术有限公司 一种使用可扩展标记语言动态生成报表的方法和装置
CN102722533A (zh) * 2012-05-09 2012-10-10 浙江图讯科技有限公司 一种报表展现与填报的方法及***
CN103020158A (zh) * 2012-11-26 2013-04-03 中兴通讯股份有限公司 一种报表创建方法、装置和***

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6651055B1 (en) * 2001-03-01 2003-11-18 Lawson Software, Inc. OLAP query generation engine
US6775675B1 (en) * 2001-04-04 2004-08-10 Sagemetrics Corporation Methods for abstracting data from various data structures and managing the presentation of the data
CN1189835C (zh) * 2002-02-10 2005-02-16 华为技术有限公司 报表的实现方法
US20050034064A1 (en) * 2003-07-25 2005-02-10 Activeviews, Inc. Method and system for creating and following drill links
US7979456B2 (en) * 2004-04-08 2011-07-12 International Business Machines Corporation Method of managing and providing parameterized queries
US9251222B2 (en) * 2006-06-29 2016-02-02 International Business Machines Corporation Abstracted dynamic report definition generation for use within information technology infrastructure
CN101192976A (zh) * 2006-11-30 2008-06-04 中兴通讯股份有限公司 增值业务标准报表自动生成方法
US7840600B1 (en) * 2006-12-29 2010-11-23 Izenda, LLC Systems and methods for interactively creating, customizing, and executing reports over the internet
CN100478956C (zh) * 2007-01-26 2009-04-15 华为技术有限公司 生成和获取报表的方法及相应的***
US8731972B1 (en) * 2007-09-04 2014-05-20 United Services Automobile Association (Usaa) Method and system for market performance analysis
US8874545B2 (en) * 2007-10-19 2014-10-28 Oracle International Corporation Data source-independent search system architecture
US7801929B2 (en) * 2008-02-29 2010-09-21 Red Hat, Inc. Pyramid reporting tool
CN101247620A (zh) * 2008-03-24 2008-08-20 中兴通讯股份有限公司 自定义报表实现方法
CN101308490B (zh) * 2008-04-28 2010-06-09 北京航空航天大学 一种动态报表生成方法及平台
CN101615205A (zh) * 2009-07-20 2009-12-30 中兴通讯股份有限公司 报表服务器、即时报表实现方法及***
CN101673276B (zh) * 2009-09-22 2011-08-17 山东中创软件工程股份有限公司 一种数据模板的动态生成方法和装置
CN101694661B (zh) * 2009-10-22 2012-05-09 中兴通讯股份有限公司 一种统计报表生成方法、装置和统计服务器
US8423436B2 (en) * 2010-09-18 2013-04-16 Oracle International Corporation Data-driven customizable payroll element template
US20130246041A1 (en) * 2012-03-19 2013-09-19 Marc Alexander Costa Systems and methods for event and incident reporting and management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770449A (zh) * 2008-12-30 2010-07-07 北京天融信网络安全技术有限公司 一种使用可扩展标记语言动态生成报表的方法和装置
CN102722533A (zh) * 2012-05-09 2012-10-10 浙江图讯科技有限公司 一种报表展现与填报的方法及***
CN103020158A (zh) * 2012-11-26 2013-04-03 中兴通讯股份有限公司 一种报表创建方法、装置和***

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CUI, YONGSHENG ET AL.: "A Graphical Design and Implementation of Report Tool", INFORMATION TECHNOLOGY AND INFORMATIZATION, April 2012 (2012-04-01), pages 65 - 68, XP008176972 *
ZHANG, JIAN.: "Design and implementation of WEB report tool based on BI", CHINA MASTER'S THESES FULL-TEXT DATABASE, March 2012 (2012-03-01), pages 1139 - 431, XP055201590 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108375B (zh) * 2016-11-25 2022-05-17 深圳市创梦天地科技有限公司 一种大数据提取方法和***
CN108108375A (zh) * 2016-11-25 2018-06-01 深圳市创梦天地科技有限公司 一种大数据提取方法和***
CN107861929A (zh) * 2017-09-30 2018-03-30 深圳市买买提乐购金融服务有限公司 文档生成方法、终端及计算机可读介质
CN109460542A (zh) * 2018-01-15 2019-03-12 安徽七禾软件有限公司 一种粮油报表生成方法及***
CN110597842A (zh) * 2019-07-22 2019-12-20 石化盈科信息技术有限责任公司 业务数据查询方法及***
CN110597842B (zh) * 2019-07-22 2023-10-03 石化盈科信息技术有限责任公司 业务数据查询方法及***
CN111158650A (zh) * 2019-12-25 2020-05-15 中国建设银行股份有限公司 报表模板、报表模板及报表的生成方法、装置
CN111158650B (zh) * 2019-12-25 2023-06-27 中国建设银行股份有限公司 报表模板、报表的生成方法、装置
CN111913962A (zh) * 2020-07-30 2020-11-10 山东浪潮通软信息科技有限公司 一种多维度年度明细资金计划编制***及方法
CN111913962B (zh) * 2020-07-30 2024-03-08 浪潮通用软件有限公司 一种多维度年度明细资金计划编制***及方法
CN111881192A (zh) * 2020-08-03 2020-11-03 浪潮云信息技术股份公司 可视化配置报表的生成方法、***、电子设备及存储介质
CN111881192B (zh) * 2020-08-03 2024-01-30 浪潮云信息技术股份公司 可视化配置报表的生成方法、***、电子设备及存储介质
CN113760240A (zh) * 2020-09-02 2021-12-07 北京沃东天骏信息技术有限公司 一种生成数据模型的方法和装置
CN114817237A (zh) * 2021-09-17 2022-07-29 安徽中科新辰技术有限公司 一种数据的归集方法及设备

Also Published As

Publication number Publication date
US20150324423A1 (en) 2015-11-12
CN103020158A (zh) 2013-04-03
EP2924588A4 (en) 2016-01-20
EP2924588A1 (en) 2015-09-30
EP2924588B1 (en) 2019-08-21
CN103020158B (zh) 2016-09-07

Similar Documents

Publication Publication Date Title
WO2014079304A1 (zh) 一种报表创建方法、装置和***
US11693904B2 (en) Pushing presented data visualizations to assigned displays
WO2020000706A1 (zh) 基于数据库比对的接口测试方法、***、设备和存储介质
US11782987B1 (en) Using an augmented process model to track process instances
US10997192B2 (en) Data source correlation user interface
US10585560B2 (en) Display management for data visualizations of analytics data
US11651012B1 (en) Coding commands using syntax templates
US11003682B2 (en) Metrics analysis workflow
WO2017166644A1 (zh) 一种数据采集方法和***
CN110515896B (zh) 模型资源管理方法、模型文件制作方法、装置和***
US20150213066A1 (en) System and method for creating data models from complex raw log files
CN105528218B (zh) 数据图表级联方法及数据图表级联***
CN111078695B (zh) 计算企业内元数据关联关系的方法及装置
JP6582819B2 (ja) データベース連携システムおよびデータベース連携用プログラム
CN111949832A (zh) 批量作业依赖关系的解析方法及装置
WO2021012909A1 (zh) 数据导出方法、装置、计算机设备和存储介质
WO2024001493A1 (zh) 一种可视化的数据分析方法及设备
CN110909010A (zh) 一种数据智能分析配置管理方法、装置、设备及存储介质
WO2019214014A1 (zh) 网销产品管理方法、装置、终端设备及存储介质
CN109408502A (zh) 一种数据标准处理方法、装置及其存储介质
US7949610B2 (en) Method and system for discovering dependencies in project plans of distributed system
CN109033157B (zh) 一种基于自定义搜索条件树的复杂数据检索方法和***
US9817891B1 (en) System, method, and computer program for creating metadata-based search queries
CN109947435A (zh) 服务器集群软件环境的部署方法及***
US20130086037A1 (en) Encapsulated, model-centric aggregation of data from differentiated data sources

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13857146

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 14647201

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2013857146

Country of ref document: EP