WO2014206131A1 - Method and apparatus for report generation - Google Patents

Method and apparatus for report generation Download PDF

Info

Publication number
WO2014206131A1
WO2014206131A1 PCT/CN2014/074931 CN2014074931W WO2014206131A1 WO 2014206131 A1 WO2014206131 A1 WO 2014206131A1 CN 2014074931 W CN2014074931 W CN 2014074931W WO 2014206131 A1 WO2014206131 A1 WO 2014206131A1
Authority
WO
WIPO (PCT)
Prior art keywords
data index
index
report
configuration information
data
Prior art date
Application number
PCT/CN2014/074931
Other languages
French (fr)
Inventor
Chengtao FAN
Gang Wang
Gongwei Li
Haiyang Zhu
Original Assignee
Tencent Technology (Shenzhen) Company Limited
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 Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of WO2014206131A1 publication Critical patent/WO2014206131A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management

Definitions

  • the present invention relates to the field of statistical data organization, and particularly, to a method and apparatus for report generation.
  • the reports are usually counted respectively, and a data system is constructed using the counted reports.
  • a certain data system includes a plurality of reports each at least containing one data index.
  • the statistician firstly counts various data indexes in one report, and then combines the counted results into a report. In the same way, the statistician counts all the reports in the data system, respectively.
  • the data indexes in various reports need to be counted respectively, and thus when a new report is to be counted, the statistician shall recount various data indexes in the new report, causing poor system extendibility.
  • the new report contains a data index in the old data report, the data index still needs to be recounted, causing poor reusability of the data indexes.
  • the embodiments of the present invention provide a method and apparatus for report generation.
  • the technical solutions are given as follows.
  • a method for report generation performed by a computing device comprising:
  • the configuration information of the report including an identification of a data index contained in the report;
  • the report containing the extracted concrete parameters of the data index.
  • an apparatus for report generation comprising at least a processor operating in conjunction with a memory and a plurality of modules, which modules comprise:
  • a report configuration obtaining module adapted to obtain preset configuration information of a report, the configuration information of the report including an identification of a data index contained in the report;
  • an index parameter extracting module adapted to extract concrete parameters of the data index from a preset index database according to the identification of the data index
  • the present invention provides a computer program product comprising program codes for performing the methods described above according to the present invention when the computer program product is executed on one or more computing devices.
  • the computer program product can be stored on a computer readable recording medium.
  • Fig. 1 is a tree structure diagram of a statistical object according to an embodiment of the present invention.
  • Fig. 2 is a methodological flowchart of a method for report generation according to Embodiment 1 of the present invention
  • Fig. 3 is a methodological flowchart of a method for report generation according to Embodiment 2 of the present invention.
  • Fig. 4 is a diagram of modules in an apparatus for report generation according to Embodiment 3 of the present invention
  • Fig. 5 is a diagram of modules in an apparatus for report generation according to Embodiment 4 of the present invention.
  • a report is usually for counting with respect to a certain statistical object.
  • Fig. 1 taking an Internet product operated by an enterprise as an example, it illustrates the tree structure diagram of the statistical object.
  • a parent product includes a plurality of sub-products each comprising at least one product module respectively, and each element in the drawing can be taken as a statistical object to perform the report statistics. Since a data system is composed of a plurality of reports each comprising multiple data indexes respectively, the data index is thus the least element in the data system.
  • the spirit of the embodiments provided by the present invention is to count and store all the data indexes of the statistical object in advance, and when the report is to be generated only extract the data indexes from the report, so as to improve the extendibility of the data system and the reusability of the data index.
  • FIG. 2 it illustrates a methodological flowchart of a method for report generation performed by a computing device according to Embodiment 1 of the present invention, and the method for report generation performed by a computing device may comprise:
  • Step 102 obtaining preset configuration information of a report, the configuration information of the report including an identification of a data index contained in the report;
  • Step 104 extracting concrete parameters of the data index from a preset index database according to the identification of the data index; and Step 106: generating the report the report containing contains the extracted concrete parameters of the data index.
  • An exemplary computing device may include a processor, a storage medium, a monitor, a communication module, a database, peripherals, and one or more bus to couple the modules together. Certain modules may be omitted and other modules may be included.
  • the processor may include any appropriate processor or processors. Further, the processor can include multiple cores for multi-thread or parallel processing.
  • the storage medium may include memory modules, such as ROM, RAM, and flash memory modules, and mass storages, such as CD-ROM, U-disk, removable hard disk, etc.
  • the storage medium may store computer programs for implementing various processes, when executed by processor.
  • the monitor may include display devices for displaying certain user interface contents such as splash screens.
  • the peripherals may include I/O devices such as keyboard and mouse, and communication module may include network devices for establishing connections through the communication network.
  • the database may include one or more databases for storing certain data and for performing certain operations on the stored data, such as database management, data extraction /analysis.
  • the method for report generation performed by a computing device according to Embodiment 1 of the present invention by obtaining the preset configuration information of the report, extracting the concrete parameters of the data index from the preset index database according to the identification of the data index in the configuration information and generating the report, thereby solves the problem in the prior art that the data indexes of various reports need to be counted respectively, and achieves the purpose of improving the extendibility and the reusability of the data system.
  • FIG. 3 it illustrates a methodological flowchart of a method for report generation performed by a computing device according to Embodiment 2 of the present invention.
  • the method for report generation performed by a computing device may comprise:
  • Step 202 an apparatus for report generation obtaining preset configuration information of a data index
  • the configuration information of the data index is preset by the statistician
  • the configuration information may include a name and an identification of the data index, a statistical object corresponding to the data index, a statistical mode of the data index, extraction location information of an original flow corresponding to the data index, etc.
  • a statistical object corresponding to the data index is not an bottom layer object, i.e., the statistical object includes at least one sub-object
  • the data index is an aggregation of congeneric indexes corresponding to the at least one sub-object
  • the configuration information of the data index may further contain identifications of the congeneric indexes corresponding to the at least one sub-object and an aggregation mode.
  • Step 204 the apparatus for report generation obtaining concrete parameters of the data index according to the configuration information of the data index.
  • the apparatus for report generation may extract an original flow corresponding to the data index, and count the extracted original flow according to the statistical mode of the data index, to obtain the concrete parameters of the data index.
  • the original flow may include an operation log generated during the operation of the statistical object corresponding to the data index.
  • the network product can record various operations of the user in real time.
  • the server of the social network may record information such as the user's operation and time of logging in the social network, operation and time based on the social network, operation and time of using an application in the social network, and operation and time of exiting the social network, as the user's operation logs, and then sort and store them.
  • the server may refer to one or more server computers configured to provide certain server functionalities, such as monitoring, alteration, and database management.
  • a server may also include one or more processors to execute computer programs in parallel.
  • An exemplary computing system for a server may include a processor, a storage medium, a monitor, a communication module, a database, peripherals, and one or more bus to couple the devices together. Certain devices may be omitted and other devices may be included.
  • the processor may include any appropriate processor or processors. Further, processor can include multiple cores for multi-thread or parallel processing.
  • Storage medium may include memory modules, such as ROM, RAM, and flash memory modules, and mass storages, such as CD-ROM, U-disk, removable hard disk, etc. Storage medium may store computer programs for implementing various processes, when executed by processor.
  • the monitor may include display devices for displaying certain user interface contents such as splash screens.
  • Peripherals may include I/O devices such as keyboard and mouse, and communication module may include network devices for establishing connections through the communication network.
  • Database may include one or more databases for storing certain data and for performing certain operations on the stored data, such as database management, data extraction /analysis.
  • the apparatus for report generation may extract and count the original flow according to the extraction location information of corresponding original flow contained in the configuration information of the data index.
  • the extraction location information of the original flow may be an extraction interface of the original flow.
  • the apparatus for report generation extracts the original flow from the interface, and counts according to the statistical mode in the configuration information of the data index, to obtain the concrete parameters of the data index.
  • the statistical mode may be a parameter calculation formula, or an algorithm program, or a pointer for calling the algorithm program, etc.
  • the statistical mode may be an formula for calculating the login duration.
  • the apparatus for report generation may extract the concrete parameters of the congeneric indexes from an index database, according to the identifications of the congeneric indexes contained in the configuration information of the data index; and aggregate the concrete parameters of the congeneric indexes to obtain the concrete parameters of the data index.
  • the apparatus for report generation may perform an aggregation according to an aggregation mode contained in the configuration information of the data index, wherein the aggregation mode may include a direct addition or a duplicate removal addition.
  • Step 206 the apparatus for report generation storing the concrete parameters of the data index and the identification of the data index in correspondence in the index database.
  • the apparatus for report generation may store the concrete parameters of the data index obtained through the statistics in correspondence to the identification of the data index in the index database, for the convenience of subsequent extraction.
  • Step 208 the apparatus for report generation obtaining preset configuration information of the report, the configuration information of the report including the identification of the data index contained by the report.
  • the apparatus for report generation may obtain the preset configuration information of the report.
  • the statistician may preset the configuration information of the report to be represented, the configuration information of the report includes the identification of the data index contained in the report.
  • the apparatus for report generation obtains configuration information of the report.
  • Step 210 the apparatus for report generation extracting the concrete parameters of the data index from the preset index database according to the identification of the data index.
  • Step 212 the apparatus for report generation generating the report containing the extracted concrete parameters of the data index.
  • the apparatus for report generation generates and represents a complete report according to the extracted concrete parameters of the data index.
  • the apparatus for report generation obtains the concrete parameters of the new data index by counting the original flow or aggregating the concrete data of the congeneric indexes according to the configuration file, thereby improves the extendibility of the data system.
  • the plurality of reports can directly extract the concrete parameters of the data index from the index database, without counting the data index respectively, thereby improves the reusability of the data index.
  • the apparatus for report generation according to Embodiment 2 of the present invention by obtaining the concrete parameters by counting the original flow according to the preset configuration file of the data index, storing the concrete parameters in the index database, and extracting the required concrete parameters of the data index from the index database according to the preset configuration information of the report when a report is to be represented and generating the report, thereby solving the problem in the prior art that the data indexes of various reports need to be counted respectively, and achieves the purpose of improving the extendibility and the reusability of the data system.
  • the apparatus for report generation may comprise at least a processor operating in conjunction with a memory and a plurality of modules, which modules comprise: a report configuration obtaining module 301 adapted to obtain preset configuration information of a report, the configuration information of the report including an identification of a data index contained in the report;
  • an index parameter extracting module 302 adapted to extract concrete parameters of the data index from a preset index database according to the identification of the data index
  • a report generating module 303 adapted to generate the report, the report containing contains the extracted concrete parameters of the data index extracted by the index parameter extracting module 302.
  • the apparatus for report generation according to Embodiment 3 of the present invention by obtaining the preset configuration information of the report, and extracting the concrete parameters of the data index from the preset index database according to the identification of the data index in the configuration information and generating the report, thereby solves the problem in the prior art that the data indexes of various reports need to be counted respectively, and achieves the purpose of improving the extendibility and the reusability of the data system.
  • the apparatus for report generation may comprise at least a processor operating in conjunction with a memory and a plurality of modules, which modules comprise:
  • a report configuration obtaining module 301 adapted to obtain preset configuration information of a report the configuration information of the report an identification of a data index contained in the report;
  • an index parameter extracting module 302 adapted to extract concrete parameters of the data index from a preset index database according to the identification of the data index
  • a report generating module 303 adapted to generate the report, the report containing contains the extracted concrete parameters of the data index extracted by the index parameter extracting module 302.
  • the apparatus further comprises:
  • an index configuration obtaining module 304 adapted to, before the index parameter extracting module 302 extracting the concrete parameters of the data index from the preset index database according to the identification of the data index, obtain preset configuration information of the data index;
  • an index parameter obtaining module 305 adapted to obtain the concrete parameters of the data index according to the configuration information of the data index obtained by the index configuration obtaining module 304;
  • a storing module 306 adapted to store the concrete parameters of the data index obtained by the index parameter obtaining module 305 and the identification of the data index in correspondence in the index database.
  • the index parameter obtaining module 305 comprises:
  • a flow extracting unit 305a adapted to extract an original flow corresponding to the data index
  • an obtaining unit 305b adapted to count the original flow according to a statistical mode of the data index, to obtain the concrete parameters of the data index;
  • the configuration information of the data index includes the statistical mode of the data index.
  • the original flow includes an operation log generated during the operation of the statistical object corresponding to the data index.
  • the flow extracting unit 305a is adapted to extract the original flow according to extraction location information of the original flow
  • the configuration information of the data index contains the extraction location information of the original flow corresponding to the data index.
  • the index parameter obtaining module 305 comprises:
  • a parameter extracting unit 305c adapted to, when a statistical object corresponding to the data index corresponds to at least one sub-object, and the data index is an aggregation of the congeneric indexes corresponding to the at least one sub-object, extract concrete parameters of congeneric indexes from the index database according to identifications of the congeneric indexes;
  • an aggregating unit 305d adapted to aggregate the concrete parameters of the congeneric indexes to obtain the concrete parameters of the data index
  • the configuration information of the data index contains the identifications of the congeneric indexes
  • the aggregating unit 305d is adapted to aggregate the concrete parameters of the congeneric indexes according to an aggregation mode in the configuration information of the data index;
  • the configuration information of the data index further contains the aggregation mode, the aggregation mode includes a direct addition or a duplicate removal addition.
  • the apparatus for report generation according to Embodiment 4 of the present invention by obtaining the concrete parameters by counting the original flow according to the preset configuration file of the data index, and storing the concrete parameters in the index database, and extracting the required concrete parameters of the data index from the index database according to the preset configuration information of the report when a report is to be represented and generating the report, thereby solves the problem in the prior art that the data indexes of various reports need to be counted respectively, and achieves the purpose of improving the extendibility and the reusability of the data system.
  • the apparatus for report generation according to the above embodiments generates a report, it is just described through an example of the division of the above functional modules.
  • the above functions may be allocated to be performed by different functional modules upon demand, i.e., the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions.
  • the apparatus for report generation and the method for report generation performed by a computing device according to the above embodiments belong to the same conception. Therefore the apparatus for report generation is illustrated with reference to the method embodiments for their implementations, and herein will not be iterated.
  • the present invention also provides a computer program product comprising program codes for performing the methods described above according to the embodiments of the present invention when the computer program product is executed on one or more computing devices.
  • the computer program product can be stored on a computer readable recording medium.
  • the program may be stored in a computer readable storage medium, which may be a Read Only Memory (ROM), a magnetic disc, an optical disc, etc.
  • ROM Read Only Memory

Abstract

The present invention discloses a method and apparatus for report generation, which belong to the field of statistical data organization. The method comprising: obtaining preset configuration information of a report,the configuration information of the report includes an identification of a data index contained in the report; extracting concrete parameters of the data index from a preset index database according to the identification of the data index;and generating the report, the report containing the extracted concrete parameters of the data index. The present invention obtains the preset configuration information of the report, extracts the concrete parameters of a data index from a preset index database according to the identification of the data index in the configuration information, and generates the report, thereby solves the problem that the data indexes of various reports shall be counted respectively in the prior art, and achieves the purpose of improving the extendibility and the reusability of the data system.

Description

METHOD AND APPARATUS FOR REPORT GENERATION
Cross-reference to Related Applications
This application claims the priority benefit of Chinese Patent Application No. 2013102718619, filed on June 28, 2013, the contents of which are incorporated by reference herein in their entirety for all purposes.
Technical Field
The present invention relates to the field of statistical data organization, and particularly, to a method and apparatus for report generation.
Background In order to perform accurate and concrete data statistics for various services, an enterprise needs to establish a complete data system during operation, and the data system is usually composed of reports.
In the existing method for report generation, the reports are usually counted respectively, and a data system is constructed using the counted reports. For example, a certain data system includes a plurality of reports each at least containing one data index. The statistician firstly counts various data indexes in one report, and then combines the counted results into a report. In the same way, the statistician counts all the reports in the data system, respectively.
In the process of implementing the present invention, the inventor finds that the prior art at least has the following problem:
In the existing method for report generation, the data indexes in various reports need to be counted respectively, and thus when a new report is to be counted, the statistician shall recount various data indexes in the new report, causing poor system extendibility. In addition, even if the new report contains a data index in the old data report, the data index still needs to be recounted, causing poor reusability of the data indexes.
Summary of the Invention
In order to solve the problem in the prior art that the data indexes in various reports need to be counted respectively, the embodiments of the present invention provide a method and apparatus for report generation. The technical solutions are given as follows.
In one aspect, a method for report generation performed by a computing device is provided, comprising:
obtaining preset configuration information of a report, the configuration information of the report including an identification of a data index contained in the report;
extracting concrete parameters of the data index from a preset index database according to the identification of the data index; and
generating the report, the report containing the extracted concrete parameters of the data index.
In another aspect, an apparatus for report generation is provided, comprising at least a processor operating in conjunction with a memory and a plurality of modules, which modules comprise:
a report configuration obtaining module adapted to obtain preset configuration information of a report, the configuration information of the report including an identification of a data index contained in the report;
an index parameter extracting module adapted to extract concrete parameters of the data index from a preset index database according to the identification of the data index; and
a report generating module adapted to generate the report, the report containing the concrete parameters of the data index extracted by the index parameter extracting module. In a further aspect, the present invention provides a computer program product comprising program codes for performing the methods described above according to the present invention when the computer program product is executed on one or more computing devices. Optionally, the computer program product can be stored on a computer readable recording medium.
The technical solutions provided by the embodiments of the present invention bring the following beneficial effects:
Those technical solutions by obtaining the preset configuration information of the report, and extracting the concrete parameters of the data index from the preset index database according to the identification of the data index in the configuration information and generating the report, thereby solves the problem in the prior art that the data indexes of various reports need to be counted respectively, and achieves the purpose of improving the extendibility and the reusability of the data system.
Brief Description of the Drawings
In order to more clearly describe the technical solutions in the embodiments of the present invention, the drawings to be used in the description of the embodiments will be briefly introduced as follows. Apparently, the following drawings are only for illustration of some embodiments of the present invention, and a person skilled in the art can obtain other drawings from these drawings without paying any creative effort.
Fig. 1 is a tree structure diagram of a statistical object according to an embodiment of the present invention;
Fig. 2 is a methodological flowchart of a method for report generation according to Embodiment 1 of the present invention;
Fig. 3 is a methodological flowchart of a method for report generation according to Embodiment 2 of the present invention;
Fig. 4 is a diagram of modules in an apparatus for report generation according to Embodiment 3 of the present invention; and Fig. 5 is a diagram of modules in an apparatus for report generation according to Embodiment 4 of the present invention.
Detailed Description of the Embodiments
In order that the objective, technical solutions and advantages of the present invention are clearer, the embodiments of the present invention will be further described in details as follows with reference to the drawings.
A report is usually for counting with respect to a certain statistical object. Referring to Fig. 1, taking an Internet product operated by an enterprise as an example, it illustrates the tree structure diagram of the statistical object. Wherein, a parent product includes a plurality of sub-products each comprising at least one product module respectively, and each element in the drawing can be taken as a statistical object to perform the report statistics. Since a data system is composed of a plurality of reports each comprising multiple data indexes respectively, the data index is thus the least element in the data system. The spirit of the embodiments provided by the present invention is to count and store all the data indexes of the statistical object in advance, and when the report is to be generated only extract the data indexes from the report, so as to improve the extendibility of the data system and the reusability of the data index.
Embodiment 1
Referring to Fig. 2, it illustrates a methodological flowchart of a method for report generation performed by a computing device according to Embodiment 1 of the present invention, and the method for report generation performed by a computing device may comprise:
Step 102: obtaining preset configuration information of a report, the configuration information of the report including an identification of a data index contained in the report;
Step 104: extracting concrete parameters of the data index from a preset index database according to the identification of the data index; and Step 106: generating the report the report containing contains the extracted concrete parameters of the data index.
An exemplary computing device may include a processor, a storage medium, a monitor, a communication module, a database, peripherals, and one or more bus to couple the modules together. Certain modules may be omitted and other modules may be included. The processor may include any appropriate processor or processors. Further, the processor can include multiple cores for multi-thread or parallel processing. The storage medium may include memory modules, such as ROM, RAM, and flash memory modules, and mass storages, such as CD-ROM, U-disk, removable hard disk, etc. The storage medium may store computer programs for implementing various processes, when executed by processor. Further, the monitor may include display devices for displaying certain user interface contents such as splash screens. The peripherals may include I/O devices such as keyboard and mouse, and communication module may include network devices for establishing connections through the communication network. The database may include one or more databases for storing certain data and for performing certain operations on the stored data, such as database management, data extraction /analysis.
In conclusion, the method for report generation performed by a computing device according to Embodiment 1 of the present invention by obtaining the preset configuration information of the report, extracting the concrete parameters of the data index from the preset index database according to the identification of the data index in the configuration information and generating the report, thereby solves the problem in the prior art that the data indexes of various reports need to be counted respectively, and achieves the purpose of improving the extendibility and the reusability of the data system.
Embodiment 2
A more preferable solution is based on the method for report generation performed by a computing device according to Embodiment 1. Referring to Fig. 3, it illustrates a methodological flowchart of a method for report generation performed by a computing device according to Embodiment 2 of the present invention. Taking a certain network product to be performed statistics as an example, the method for report generation performed by a computing device may comprise:
Step 202: an apparatus for report generation obtaining preset configuration information of a data index;
wherein, the configuration information of the data index is preset by the statistician, the configuration information may include a name and an identification of the data index, a statistical object corresponding to the data index, a statistical mode of the data index, extraction location information of an original flow corresponding to the data index, etc. When a statistical object corresponding to the data index is not an bottom layer object, i.e., the statistical object includes at least one sub-object, and the data index is an aggregation of congeneric indexes corresponding to the at least one sub-object, the configuration information of the data index may further contain identifications of the congeneric indexes corresponding to the at least one sub-object and an aggregation mode.
Step 204: the apparatus for report generation obtaining concrete parameters of the data index according to the configuration information of the data index.
Specifically, the apparatus for report generation may extract an original flow corresponding to the data index, and count the extracted original flow according to the statistical mode of the data index, to obtain the concrete parameters of the data index.
When the statistical object is a network product, the original flow may include an operation log generated during the operation of the statistical object corresponding to the data index. Specifically, when the user uses a certain network product, the network product can record various operations of the user in real time. In an example where the user uses a certain social network, the server of the social network may record information such as the user's operation and time of logging in the social network, operation and time based on the social network, operation and time of using an application in the social network, and operation and time of exiting the social network, as the user's operation logs, and then sort and store them.
The server, as used herein, may refer to one or more server computers configured to provide certain server functionalities, such as monitoring, alteration, and database management. A server may also include one or more processors to execute computer programs in parallel.
An exemplary computing system for a server may include a processor, a storage medium, a monitor, a communication module, a database, peripherals, and one or more bus to couple the devices together. Certain devices may be omitted and other devices may be included. The processor may include any appropriate processor or processors. Further, processor can include multiple cores for multi-thread or parallel processing. Storage medium may include memory modules, such as ROM, RAM, and flash memory modules, and mass storages, such as CD-ROM, U-disk, removable hard disk, etc. Storage medium may store computer programs for implementing various processes, when executed by processor. Further, the monitor may include display devices for displaying certain user interface contents such as splash screens. Peripherals may include I/O devices such as keyboard and mouse, and communication module may include network devices for establishing connections through the communication network. Database may include one or more databases for storing certain data and for performing certain operations on the stored data, such as database management, data extraction /analysis.
The apparatus for report generation may extract and count the original flow according to the extraction location information of corresponding original flow contained in the configuration information of the data index.
Specifically, the extraction location information of the original flow may be an extraction interface of the original flow. The apparatus for report generation extracts the original flow from the interface, and counts according to the statistical mode in the configuration information of the data index, to obtain the concrete parameters of the data index. Wherein, the statistical mode may be a parameter calculation formula, or an algorithm program, or a pointer for calling the algorithm program, etc. For example, if the data index is the duration for each user to log in a social network, the statistical mode may be an formula for calculating the login duration.
More preferably, for a corresponding statistical object includes at least one sub-object, and the data index can be obtained by aggregating the congeneric indexes corresponding to the at least one sub-object, the apparatus for report generation may extract the concrete parameters of the congeneric indexes from an index database, according to the identifications of the congeneric indexes contained in the configuration information of the data index; and aggregate the concrete parameters of the congeneric indexes to obtain the concrete parameters of the data index. The apparatus for report generation may perform an aggregation according to an aggregation mode contained in the configuration information of the data index, wherein the aggregation mode may include a direct addition or a duplicate removal addition.
Step 206: the apparatus for report generation storing the concrete parameters of the data index and the identification of the data index in correspondence in the index database.
The apparatus for report generation may store the concrete parameters of the data index obtained through the statistics in correspondence to the identification of the data index in the index database, for the convenience of subsequent extraction.
Step 208: the apparatus for report generation obtaining preset configuration information of the report, the configuration information of the report including the identification of the data index contained by the report.
When a report is to be represented, the apparatus for report generation may obtain the preset configuration information of the report. Specifically, the statistician may preset the configuration information of the report to be represented, the configuration information of the report includes the identification of the data index contained in the report. When the user selects to represent a report corresponding to a certain statistical object, the apparatus for report generation obtains configuration information of the report.
Step 210: the apparatus for report generation extracting the concrete parameters of the data index from the preset index database according to the identification of the data index.
Step 212: the apparatus for report generation generating the report containing the extracted concrete parameters of the data index.
The apparatus for report generation generates and represents a complete report according to the extracted concrete parameters of the data index.
Through the above method, when a statistician needs to count a new report, he can directly configure a configuration file of the new report, and directly extract the concrete parameters of the data index from the index database according to the identification of the data index in the configuration file to generate the report. When the statistician needs to count a new data index, he can also configure a configuration file of the data index, and the apparatus for report generation obtains the concrete parameters of the new data index by counting the original flow or aggregating the concrete data of the congeneric indexes according to the configuration file, thereby improves the extendibility of the data system. In addition, in a case where a plurality of reports include the same data index, the plurality of reports can directly extract the concrete parameters of the data index from the index database, without counting the data index respectively, thereby improves the reusability of the data index.
In conclusion, the apparatus for report generation according to Embodiment 2 of the present invention by obtaining the concrete parameters by counting the original flow according to the preset configuration file of the data index, storing the concrete parameters in the index database, and extracting the required concrete parameters of the data index from the index database according to the preset configuration information of the report when a report is to be represented and generating the report, thereby solving the problem in the prior art that the data indexes of various reports need to be counted respectively, and achieves the purpose of improving the extendibility and the reusability of the data system.
Embodiment 3
Referring to Fig. 4, it illustrates a diagram of modules in an apparatus for report generation according to Embodiment 3 of the present invention. The apparatus for report generation may comprise at least a processor operating in conjunction with a memory and a plurality of modules, which modules comprise: a report configuration obtaining module 301 adapted to obtain preset configuration information of a report, the configuration information of the report including an identification of a data index contained in the report;
an index parameter extracting module 302 adapted to extract concrete parameters of the data index from a preset index database according to the identification of the data index; and
a report generating module 303 adapted to generate the report, the report containing contains the extracted concrete parameters of the data index extracted by the index parameter extracting module 302.
In conclusion, the apparatus for report generation according to Embodiment 3 of the present invention by obtaining the preset configuration information of the report, and extracting the concrete parameters of the data index from the preset index database according to the identification of the data index in the configuration information and generating the report, thereby solves the problem in the prior art that the data indexes of various reports need to be counted respectively, and achieves the purpose of improving the extendibility and the reusability of the data system.
Embodiment 4
Based on the apparatus for report generation provided in Embodiment 3, referring to Fig. 5, it illustrates a diagram of modules in an apparatus for report generation according to Embodiment 4 of the present invention. The apparatus for report generation may comprise at least a processor operating in conjunction with a memory and a plurality of modules, which modules comprise:
a report configuration obtaining module 301 adapted to obtain preset configuration information of a report the configuration information of the report an identification of a data index contained in the report;
an index parameter extracting module 302 adapted to extract concrete parameters of the data index from a preset index database according to the identification of the data index; and
a report generating module 303 adapted to generate the report, the report containing contains the extracted concrete parameters of the data index extracted by the index parameter extracting module 302.
The apparatus further comprises:
an index configuration obtaining module 304 adapted to, before the index parameter extracting module 302 extracting the concrete parameters of the data index from the preset index database according to the identification of the data index, obtain preset configuration information of the data index;
an index parameter obtaining module 305 adapted to obtain the concrete parameters of the data index according to the configuration information of the data index obtained by the index configuration obtaining module 304; and
a storing module 306 adapted to store the concrete parameters of the data index obtained by the index parameter obtaining module 305 and the identification of the data index in correspondence in the index database.
The index parameter obtaining module 305 comprises:
a flow extracting unit 305a adapted to extract an original flow corresponding to the data index; and
an obtaining unit 305b adapted to count the original flow according to a statistical mode of the data index, to obtain the concrete parameters of the data index;
wherein, the configuration information of the data index includes the statistical mode of the data index. The original flow includes an operation log generated during the operation of the statistical object corresponding to the data index.
The flow extracting unit 305a is adapted to extract the original flow according to extraction location information of the original flow;
wherein, the configuration information of the data index contains the extraction location information of the original flow corresponding to the data index.
The index parameter obtaining module 305 comprises:
a parameter extracting unit 305c adapted to, when a statistical object corresponding to the data index corresponds to at least one sub-object, and the data index is an aggregation of the congeneric indexes corresponding to the at least one sub-object, extract concrete parameters of congeneric indexes from the index database according to identifications of the congeneric indexes; and
an aggregating unit 305d adapted to aggregate the concrete parameters of the congeneric indexes to obtain the concrete parameters of the data index;
wherein, when the statistical object corresponding to the data index corresponds to at least one sub-object, and the data index is an aggregation of the congeneric indexes corresponding to the at least one sub-object, the configuration information of the data index contains the identifications of the congeneric indexes;
The aggregating unit 305d is adapted to aggregate the concrete parameters of the congeneric indexes according to an aggregation mode in the configuration information of the data index;
wherein, when the statistical object corresponding to the data index corresponds to at least one sub-object, and the data index is an aggregation of the congeneric indexes corresponding to the at least one sub-object, the configuration information of the data index further contains the aggregation mode, the aggregation mode includes a direct addition or a duplicate removal addition.
In conclusion, the apparatus for report generation according to Embodiment 4 of the present invention, by obtaining the concrete parameters by counting the original flow according to the preset configuration file of the data index, and storing the concrete parameters in the index database, and extracting the required concrete parameters of the data index from the index database according to the preset configuration information of the report when a report is to be represented and generating the report, thereby solves the problem in the prior art that the data indexes of various reports need to be counted respectively, and achieves the purpose of improving the extendibility and the reusability of the data system. To be noted, when the apparatus for report generation according to the above embodiments generates a report, it is just described through an example of the division of the above functional modules. In practical applications, the above functions may be allocated to be performed by different functional modules upon demand, i.e., the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions. In addition, the apparatus for report generation and the method for report generation performed by a computing device according to the above embodiments belong to the same conception. Therefore the apparatus for report generation is illustrated with reference to the method embodiments for their implementations, and herein will not be iterated.
In a further aspect, the present invention also provides a computer program product comprising program codes for performing the methods described above according to the embodiments of the present invention when the computer program product is executed on one or more computing devices. Optionally, the computer program product can be stored on a computer readable recording medium.
The embodiments of the present invention are numbered just for the convenience of description, rather than indicating the priorities of the embodiments.
A person skilled in the art shall appreciate that all or a part of the steps of the above embodiments may be completed through hardware, or by instructing relevant hardware through a program. The program may be stored in a computer readable storage medium, which may be a Read Only Memory (ROM), a magnetic disc, an optical disc, etc.
The above descriptions are just the preferred embodiments of the present invention, but not limitations to the present invention. Any modification, equivalent replacement or improvement made within the spirit and principle of the present invention shall be covered by the protection scope of the present invention.

Claims

1. A method for report generation performed by a computing device, comprising:
obtaining preset configuration information of a report, the configuration information of the report including an identification of a data index contained in the report;
extracting concrete parameters of the data index from a preset index database according to the identification of the data index; and
generating the report, the report containing the extracted concrete parameters of the data index.
2. The method according to claim 1, wherein before extracting the concrete parameters of the data index from the preset index database according to the identification of the data index, the method further comprises:
obtaining preset configuration information of the data index;
obtaining the concrete parameters of the data index according to the configuration information of the data index; and
storing the concrete parameters of the data index and the identification of the data index in correspondence in the index database.
3. The method according to claim 2, wherein the configuration information of the data index contains a statistical mode of the data index;
the step of obtaining the concrete parameters of the data index according to the configuration information of the data index comprises:
extracting an original flow corresponding to the data index, and counting the original flow according to the statistical mode of the data index, to obtain the concrete parameters of the data index;
wherein the original flow includes an operation log generated during an operation of a statistical object corresponding to the data index.
4. The method according to claim 3, wherein the configuration information of the data index contains extraction location information of the original flow corresponding to the data index;
the step of extracting the original flow corresponding to the data index comprises:
extracting the original flow according to the extraction location information of the original flow.
5. The method according to claim 2, wherein when a statistical object corresponding to the data index corresponds to at least one sub-object, and the data index is an aggregation of congeneric indexes corresponding to the at least one sub-object, the configuration information of the data index contains identifications of the congeneric indexes;
the step of obtaining the concrete parameters of the data index according to the configuration information of the data index comprises:
when the statistical object corresponding to the data index corresponds to at least one sub-object, and the data index is an aggregation of the congeneric indexes corresponding to the at least one sub-object, extracting concrete parameters of the congeneric indexes from the index database according to the identifications of the congeneric indexes; and
aggregating the concrete parameters of the congeneric indexes, to obtain the concrete parameters of the data index.
6. The method according to claim 5, wherein when the statistical object corresponding to the data index corresponds to at least one sub-object, and the data index is an aggregation of the congeneric indexes corresponding to the at least one sub-object, the configuration information of the data index further contains an aggregation mode, the aggregation mode including a direct addition or a duplicate removal addition;
the step of aggregating the concrete parameters of the congeneric indexes comprises:
aggregating the concrete parameters of the congeneric indexes according to the aggregation mode.
7. An apparatus for report generation, comprising at least a processor operating in conjunction with a memory and a plurality of modules, which modules comprise:
a report configuration obtaining module adapted to obtain preset configuration information of a report, the configuration information of the report including an identification of a data index contained in the report;
an index parameter extracting module adapted to extract concrete parameters of the data index from a preset index database according to the identification of the data index; and
a report generating module adapted to generate the report, the report containing the concrete parameters of the data index extracted by the index parameter extracting module.
8. The apparatus according to claim 7, further comprising:
an index configuration obtaining module adapted to, before the index parameter extracting module extracting the concrete parameters of the data index from the preset index database according to the identification of the data index, obtain preset configuration information of the data index;
an index parameter obtaining module adapted to obtain the concrete parameters of the data index according to the configuration information of the data index obtained by the index configuration obtaining module; and
a storing module adapted to store the concrete parameters of the data index obtained by the index parameter obtaining module and the identification of the data index in correspondence in the index database.
9. The apparatus according to claim 8, wherein the index parameter obtaining module comprises:
a flow extracting unit adapted to extract an original flow corresponding to the data index; and
an obtaining unit adapted to count the original flow according to a statistical mode of the data index, to obtain the concrete parameters of the data index;
wherein the configuration information of the data index contains the statistical mode of the data index, and the original flow includes an operation log generated during an operation of a statistical object corresponding to the data index.
10. The apparatus according to claim 9, wherein the flow extracting unit is adapted to extract the original flow according to extraction location information of the original flow;
wherein the configuration information of the data index contains the extraction location information of the original flow corresponding to the data index.
1 1. The apparatus according to claim 8, wherein the index parameter obtaining module comprises:
a parameter extracting unit adapted to, when a statistical object corresponding to the data index corresponds to at least one sub-object, and the data index is an aggregation of the congeneric indexes corresponding to the at least one sub-object, extract concrete parameters of congeneric indexes from the index database according to identifications of the congeneric indexes; and
an aggregating unit adapted to aggregate the concrete parameters of the congeneric indexes, to obtain the concrete parameters of the data index;
wherein when the statistical object corresponding to the data index corresponds to at least one sub-object, and the data index is an aggregation of the congeneric indexes corresponding to the at least one sub-object, the configuration information of the data index contains the identifications of the congeneric indexes.
12. The apparatus according to claim 1 1, wherein the aggregating unit is adapted to aggregate the concrete parameters of the congeneric indexes according to an aggregation mode in the configuration information of the data index;
wherein when the statistical object corresponding to the data index corresponds to at least one sub-object, and the data index is an aggregation of the congeneric indexes corresponding to the at least one sub-object, the configuration information of the data index further contains the aggregation mode, the aggregation mode includes a direct addition or a duplicate removal addition.
13. A computer program product comprising program codes for performing the following steps when the computer program product is executed on one or more computing devices:
obtaining preset configuration information of a report, the configuration information of the report including an identification of a data index contained in the report;
extracting concrete parameters of the data index from a preset index database according to the identification of the data index; and
generating the report, the report containing the extracted concrete parameters of the data index.
14. The computer program product according to claim 13, stored on a computer readable recording medium.
PCT/CN2014/074931 2013-06-28 2014-04-08 Method and apparatus for report generation WO2014206131A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310271861.9A CN104252443A (en) 2013-06-28 2013-06-28 Report generation method and device
CN201310271861.9 2013-06-28

Publications (1)

Publication Number Publication Date
WO2014206131A1 true WO2014206131A1 (en) 2014-12-31

Family

ID=52140986

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/074931 WO2014206131A1 (en) 2013-06-28 2014-04-08 Method and apparatus for report generation

Country Status (2)

Country Link
CN (1) CN104252443A (en)
WO (1) WO2014206131A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677539A (en) * 2016-01-12 2016-06-15 北京中交兴路车联网科技有限公司 Method and device for big data system information summarizing and graph reporting

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104616134B (en) * 2015-01-23 2019-07-02 北京京东尚科信息技术有限公司 A kind of statement analysis report method for pushing and device
CN105989082B (en) * 2015-02-10 2019-06-25 腾讯科技(深圳)有限公司 Tabular views generation method and device
CN106681970B (en) * 2015-11-11 2020-05-12 北京国双科技有限公司 Report generation method and device
CN106372188A (en) * 2016-08-31 2017-02-01 成都九鼎瑞信科技股份有限公司 Water affair data analysis method and device
CN108228548B (en) * 2016-12-21 2019-08-13 腾讯科技(深圳)有限公司 A kind of report display method, apparatus, terminal and system
CN107038218B (en) * 2017-03-17 2023-11-17 腾讯科技(深圳)有限公司 Report processing method and system
CN109359108B (en) * 2018-08-13 2020-12-25 东软集团股份有限公司 Report extraction method and device, storage medium and electronic equipment
CN109359143B (en) * 2018-10-31 2022-03-22 新华三信息安全技术有限公司 Report generation method and device
CN112667630B (en) * 2020-12-24 2023-06-02 平安科技(深圳)有限公司 Method, device, equipment and storage medium for integrating business report

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388036A (en) * 2008-10-08 2009-03-18 金蝶软件(中国)有限公司 Data table summarizing method and device
US20110202831A1 (en) * 2010-02-15 2011-08-18 Microsoft Coproration Dynamic cache rebinding of processed data
CN103020301A (en) * 2012-12-31 2013-04-03 中国科学院自动化研究所 Multidimensional data query and storage method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997060A (en) * 2006-11-24 2007-07-11 华为技术有限公司 Method and system for index acquisition
US7925678B2 (en) * 2007-01-12 2011-04-12 Loglogic, Inc. Customized reporting and mining of event data
CN101183371B (en) * 2007-12-12 2010-06-09 中兴通讯股份有限公司 Method for quickly finishing large data-handling and reporting system
CN101247620A (en) * 2008-03-24 2008-08-20 中兴通讯股份有限公司 Method for realizing user-defined report forms
CN101605049B (en) * 2008-06-13 2012-05-23 中国移动通信集团天津有限公司 Processing method, processing device and data management system of network management data statistical analysis indexes
CN102096688A (en) * 2009-12-11 2011-06-15 中国移动通信集团山西有限公司 Method and device for generating data report
CN102467559A (en) * 2010-11-19 2012-05-23 金蝶软件(中国)有限公司 Multilevel and multidimensional method and device for analyzing data attributes

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388036A (en) * 2008-10-08 2009-03-18 金蝶软件(中国)有限公司 Data table summarizing method and device
US20110202831A1 (en) * 2010-02-15 2011-08-18 Microsoft Coproration Dynamic cache rebinding of processed data
CN103020301A (en) * 2012-12-31 2013-04-03 中国科学院自动化研究所 Multidimensional data query and storage method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677539A (en) * 2016-01-12 2016-06-15 北京中交兴路车联网科技有限公司 Method and device for big data system information summarizing and graph reporting

Also Published As

Publication number Publication date
CN104252443A (en) 2014-12-31

Similar Documents

Publication Publication Date Title
WO2014206131A1 (en) Method and apparatus for report generation
US10437969B2 (en) Detecting and tracking virtual containers
US11093501B2 (en) Searching in a database
US11182691B1 (en) Category-based sampling of machine learning data
US10430332B2 (en) System and method for performance tuning of garbage collection algorithms
US9026916B2 (en) User interface for managing questions and answers across multiple social media data sources
US20210092160A1 (en) Data set creation with crowd-based reinforcement
US20150379429A1 (en) Interactive interfaces for machine learning model evaluations
US11295247B2 (en) Discovery and generation of organizational key performance indicators utilizing glossary repositories
US20180247234A1 (en) Platform for management and tracking of collaborative projects
US20160171047A1 (en) Dynamic creation and configuration of partitioned index through analytics based on existing data population
US11425012B2 (en) Dynamically generating visualizations of data based on correlation measures and search history
US10579663B2 (en) Data insight discovery using a clustering technique
AU2021244852B2 (en) Offloading statistics collection
US20200272973A1 (en) Root Cause Identification and Analysis
CN110519263A (en) Anti- brush amount method, apparatus, equipment and computer readable storage medium
US11354297B2 (en) Detecting positivity violations in multidimensional data
CN111897700A (en) Application index monitoring method and device, electronic equipment and readable storage medium
US20170315212A1 (en) System and method for use of qualitative modeling for signal analysis
US20200351284A1 (en) Generating summaries of messages associated with assets in an enterprise system
US10133997B2 (en) Object lifecycle analysis tool
US10713264B2 (en) Reduction of feature space for extracting events from medical data
US11755923B2 (en) Guided plan recognition
US20230244596A1 (en) Generating test data for application performance
US20230060245A1 (en) System and method for automated account profile scoring on customer relationship management platforms

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: 14817372

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 030616)

122 Ep: pct application non-entry in european phase

Ref document number: 14817372

Country of ref document: EP

Kind code of ref document: A1