System and method for generating an in-memory tabular model database

By generating event models and display databases, the table model is automatically constructed, which solves the problem of table cube generation delay in the existing technology and improves the efficiency and data processing capabilities of the analysis platform.

CN113287100BActive Publication Date: 2024-08-23MICROSOFT TECHNOLOGY LICENSING LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980088566.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-01-10
Filing Date
2019-12-20
Publication Date
2024-08-23
Estimated Expiration
2039-12-20

AI Technical Summary

Technical Problem

The process of building and maintaining tabular cubes in the prior art is time-consuming and manual, resulting in delays in tabular cube generation and inability to analyze transaction data in a timely manner.

Method used

By generating event models, mapping dimensions and generating display databases, the tabular model generation system is used to automatically build tabular models, reducing manual labor and increasing generation speed.

Benefits of technology

This enables faster generation and updating of tabular models, increasing efficiency for analytics platform users, reducing processing resources, and improving the efficiency of data analysis and visualization processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113287100B_ABST
    Figure CN113287100B_ABST
Patent Text Reader

Abstract

Methods, systems, apparatus, and computer program products for generating a tabular model are provided. An event model is generated, the event model including a plurality of events and one or more dependencies between each event. For example, through interaction with a graphical user interface (GUI) such as an event studio, events and dependencies can be identified. Multiple dimensions are mapped to each event, and event records associated with the event model are obtained. For the event model, a presentation database is generated. Using the presentation database, a tabular model can be generated. In some implementations, the tabular model can be stored and / or presented as a tabular cube in a platform for analyzing transactional data.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Solutions for visualizing and interpreting transactional data may include many platforms for different types of data. For example, a business may desire to view various aspects of previous sales to better understand the nature of such sales, costs and / or profits, where the sales occurred, etc. One such solution that a business intelligence team may rely on includes a tabular cube that may be presented in various types of data analysis packages. Using the tabular cube, a company can visualize and / or understand the company's transactions from various viewpoints and gain valuable insights, which may enable the company to improve future sales or otherwise change its business strategy.

[0002] However, existing methods of building and maintaining tabular cubes are typically manual and time-consuming processes. For example, when a tabular cube is built from scratch, data is identified for each of the various source systems from which it is to be acquired, including each column and / or row in the database stored in such source system. The data is extracted into a staging database through the execution of one or more structured query language (SQL) commands. In order to render the content in a presentable format, various transformations are performed and the data can be placed into a presentation database, which is used to design the tabular cube in a suitable software or analysis package. As a result, preparing the data (e.g., in the staging database and presentation database) requires engineers to understand the details of all source systems in the business process and related source systems (e.g., payment systems, salary information, etc.) in order to pull and format the data in an appropriate manner.

[0003] If it is subsequently desired that the tabular cube be modified (e.g., by identifying additional data presented in new columns of the source system or obtaining information from a different source system entirely), additional manual and time-consuming steps need to be taken, including modifying one or more SQL commands to pull the new source data, updating the schema in the temporary database, modifying the presentation database schema, and modifying the tabular model. As a result, the generation of the tabular cube is delayed, often by weeks, resulting in an inability to analyze the transactional data in a timely manner. Summary of the invention

[0004] This Summary is provided to introduce some concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

[0005] Methods, systems, apparatus, and computer program products for generating a tabular model are provided. An event model is generated, the event model comprising a plurality of events and one or more dependencies between each event. For example, through interaction with a graphical user interface (GUI) such as an event studio, events and dependencies can be identified. Multiple dimensions are mapped to each event, and event records associated with the event model are obtained. For the event model, a presentation database is generated. Using the presentation database, a tabular model can be generated. In some implementations, the tabular model can be stored and / or presented as a tabular cube in a platform for analyzing transactional data.

[0006] According to the implementation described herein, the table model can be generated and / or updated more quickly. In this way, users of the analysis platform (e.g., business intelligence solution) can be enabled to more efficiently create, view and / or modify the data presented in the table cube.

[0007] Further features and advantages of the present invention, as well as the structure and operation of various embodiments are described in detail below with reference to the accompanying drawings. It should be noted that the present invention is not limited to the specific embodiments described herein. Such embodiments are presented herein for illustrative purposes only. Based on the teachings contained herein, other embodiments will be apparent to those skilled in the relevant art. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The accompanying drawings, which are incorporated herein and constitute a part of the specification, illustrate embodiments of the present application and, together with the description, further serve to explain the principles of the embodiments and enable those skilled in the relevant art to make and use the embodiments.

[0009] Figure 1 A block diagram of a system for generating a tabular model according to an example embodiment is shown.

[0010] Figure 2 A flowchart of a method for generating a tabular model according to an example embodiment is shown.

[0011] Figure 3 A block diagram of a table model generation system according to an example embodiment is shown.

[0012] Figure 4 A flow chart of a method for storing dimensional metadata in a super generalized database according to an example embodiment is shown.

[0013] Figure 5 A flow chart of a method for generating a presentation database based in part on dimensional metadata according to an example embodiment is shown.

[0014] Figure 6A flow chart of a method for generating a fact table associated with a dimension table in a presentation database according to an example embodiment is shown.

[0015] Figure 7 A flow chart of a method for deriving dimension attribute names according to an example embodiment is shown.

[0016] Figure 8A-8G An illustrative database schema that may be generated according to an example embodiment is shown.

[0017] Fig. 9 A block diagram of an example computing device that may be used to implement example embodiments is shown.

[0018] Features and advantages of the present invention will become more apparent from the following detailed description in conjunction with the accompanying drawings, in which the same reference numerals identify corresponding elements throughout. In the accompanying drawings, the same reference numerals generally indicate identical, functionally similar, and / or structurally similar elements. The figure in which an element first appears is represented by the leftmost (multiple) digits in the corresponding reference numeral. DETAILED DESCRIPTION

[0019] I. Introduction

[0020] This specification and the accompanying drawings disclose one or more embodiments incorporating features of the present invention. The scope of the present invention is not limited to the disclosed embodiments. The disclosed embodiments are intended only to illustrate the present invention, and modifications of the disclosed embodiments are also included in the present invention. Embodiments of the present invention are defined by the appended claims.

[0021] References in the specification to "one embodiment", "an embodiment", "example embodiment", etc. indicate that the described embodiment may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases do not necessarily refer to the same embodiment. Furthermore, when a particular feature, structure, or characteristic is described in conjunction with an example embodiment, it is considered to be within the knowledge of those skilled in the art to implement such feature, structure, or characteristic in conjunction with other embodiments, whether or not explicitly described.

[0022] In the discussion, unless otherwise stated, adjectives such as "substantially" and "approximately" modifying conditions or relational characteristics of one or more features of the example embodiments of the present disclosure should be understood to mean that the conditions or characteristics are defined within acceptable tolerances for the operation of the embodiment for its intended application.

[0023] Many exemplary embodiments are described below. It should be noted that any section / subsection title provided herein is not intended to be limiting. Embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments disclosed in any section / subsection may be combined in any manner with any other embodiment described in the same section / subsection and / or different sections / subsections.

[0024] II. Example Implementation

[0025] Solutions for visualizing and interpreting transactional data may include many platforms for different types of data. For example, a business may desire to view various aspects of previous sales to better understand the nature of such sales, costs and / or profits, where the sales occurred, etc. One such solution that a business intelligence team may rely on includes a tabular cube that may be presented in various types of data analysis packages. Using a tabular cube, a company can visualize and / or understand the company's transactions from various viewpoints and gain valuable insights, which may enable the company to improve future sales or otherwise change its business strategy.

[0026] However, existing methods of building and maintaining tabular cubes are typically manual and time-consuming processes. For example, when a tabular cube is built from scratch, data is identified for each of the various source systems from which it is to be acquired, including each column and / or row in the database stored in such source system. The data is extracted into a temporary database through the execution of one or more structured query language (SQL) commands. In order to render the content in a presentable format, various transformations are performed and the data can be placed into a presentation database that is used to design the tabular cube in a suitable software or analysis package. As a result, preparing the data (e.g., in the temporary database and presentation database) requires engineers to understand the details of all source systems in the business process and related source systems (e.g., payment systems, salary information, etc.) in order to pull and format the data in an appropriate manner.

[0027] If it is subsequently desired that the tabular cube be modified (e.g., by identifying additional data presented in new columns of the source system or obtaining information from a different source system entirely), additional manual and time-consuming steps need to be taken, including modifying one or more SQL commands to pull the new source data, updating the schema in the staging database, modifying the presentation database schema, and modifying the tabular model. As a result, the generation of the tabular cube is delayed, often by weeks, resulting in an inability to analyze the transactional data in a timely manner.

[0028] Embodiments described herein solve these and other problems by providing a system for generating a tabular model. In the system, an event model generator can generate an event model including different events and the identity of one or more dependencies between each event. The event model can be generated in part by interaction with a GUI, such as an event studio. An event recorder is configured to map dimensions to each event. The event recorder can also obtain records for events and generate a super-generalized temporary database. A warehouse builder can generate a display database for the event model, which can include one or more fact tables and multiple dimension tables. Using the facts and dimension tables from the display database, a tabular model builder can generate a tabular model that can be stored and / or presented in a suitable platform for analyzing transaction data.

[0029] Generating a tabular model in this manner has many advantages, including enabling a business intelligence team to implement and deploy such models to analysts with reduced manual labor, thereby enabling faster turnaround times. In addition, by generating a tabular model in this manner, processing resources may be reduced, thereby improving the computing system on which such a model is generated. For example, during the generation and subsequent modification of a tabular model, the number of queries executed to retrieve transaction data from a source system may be reduced, which may improve the performance of the computer system.

[0030] Additionally, while other techniques typically require retrieval of more transactional data than expected for a tabular model to be placed in a temporary database, the implementations described herein enable retrieval of data for inclusion in a given tabular model in an iterative manner, thereby allowing the model to be scaled up or down based on the actual needs of the analyst. As a result, processing and memory resources can be better utilized based on the actual data expected to be included in the model. Furthermore, such scaling up or down can enable the analyst to intentionally omit retrieval of certain sensitive information (e.g., email addresses, login information, etc.) from the source system, thereby improving the security of the computing systems involved in the generation of the tabular model.

[0031] In addition, by generating a tabular model as described herein, the prior art process of data analysis, data insights, and / or data visualization performed on one or more computing systems is also improved. For example, by enabling tabular models to be generated in a simpler, faster, and more efficient manner, business intelligence teams can more easily understand and interpret transactional data for their company. Thus, the technical process of tabular model generation is greatly improved.

[0032] An example implementation for a table model generation system is described below. For example, Figure 1 1 is a block diagram of an example system 100 for generating a table model according to an example embodiment. Figure 1As shown, system 100 includes server 102, computing device 106, and one or more source systems 110, which may be communicatively coupled by one or more networks 114. Server 102 includes table model generation system 104, which is used to generate table models according to the implementations described herein. Computing device 106 includes event studio 108, which may include a graphical user interface (GUI) for interacting with table model generation system 104, etc. (Multiple) source system 110 includes transaction data 112. System 100 is further described below.

[0033] The network 114 may include one or more of a local area network (LAN), a wide area network (WAN), a personal area network (PAN), and / or a combination of communication networks such as the Internet. The server 102, the computing device 106, and the source system(s) 110 are communicatively connected to each other via the network 114. In one implementation, the server 102, the computing device 106, and the source system(s) 110 may communicate via one or more application programming interfaces (APIs) and / or according to other interfaces and / or techniques.

[0034] Server 102, computing device 106, and source system(s) 110 may each include at least one network interface to enable communication with each other. Examples of such wired or wireless network interfaces include IEEE 802.11 wireless LAN (WLAN) wireless interfaces, Worldwide Interoperability for Microwave Access (Wi-MAX) interfaces, Ethernet interfaces, Universal Serial Bus (USB) interfaces, cellular network interfaces, Bluetooth interfaces, and the like. TM interface, near field communication (NFC) interface, and so on.

[0035] The server 102 may include one or more server devices and / or other computing devices that are co-located or remotely located, including, for example, a cloud-based computing platform. In an example, the server 102 may also be communicatively coupled to a storage device or other repository for storing transaction-related events, such as a storage device including one or more databases, spreadsheets, data warehouses, etc. In one implementation, such a storage device may be located locally on the server 102. In other implementations, such a storage device may be located remotely from the server 102 (e.g., in one or more source systems 110, as described below). The server 102 may also include or be communicatively coupled to one or more physical storage devices for storing the tabular models described herein, including, but not limited to, one or more local storage devices and / or one or more cloud-based storage devices. Examples of such storage devices include hard drives, solid-state drives, random access memory (RAM) devices, etc. Reference below Fig. 9Example computing devices that may incorporate the functionality of server 102 are described.

[0036] The table model generation system 104 is configured to automatically generate a table model according to the techniques described herein. The table model may include an in-memory database that includes relationship information between various database fields (e.g., in different tables) for presentation to a user via one or more software interfaces. The table model may include a Microsoft The example is a SQL Server Analysis Services (SSAS) tabular cube provided in the example, but this example is not intended to be limiting. The tabular model can be generated for deployment in any one or more of a number of software packages for business intelligence (BI) solutions, such as Azure Analysis Services, Power BI or other software packages such as Power View or Excel. These software packages are mentioned herein only by way of illustration, and embodiments may include any other software packages for generating data analyses and enabling interactions with such analyses, and may be executed locally or remotely (e.g., on a cloud computing platform), or implemented in other solutions such as online analytical processing (OLAP) cubes. Such tabular models or cubes deployed to one or more of these software solutions may enable users to view data from various viewpoints or dimensions to obtain valuable data insights, such as business insights.

[0037] The tabular model generation system 104 can be configured to automatically generate a tabular cube from transaction data 112 in one or more source systems 110 (or any other operational database). As described in more detail below, the tabular model generation system 104 can be configured to generate an event model that identifies multiple related events (e.g., business events) and the dependencies between each event. Dimensions, such as descriptive aspects related to the event (e.g., a person's name or identifier, a retail location or any other geographic location, an object, etc.) and / or metrics describing quantitative elements of an event or fact (e.g., quantity, sales, unit price, etc.) can be mapped to each event. A super-generalized temporary database can be configured to store event records related to the event model, and subsequently a presentation database can be generated. Using the presentation database, the tabular model generation system 104 can be configured to generate a fact table and multiple dimension tables that can be used in the generation of the tabular model. The generated cube can be stored in a memory (e.g., RAM) and / or presented in one or more business intelligence solutions described herein that can access the tabular model. In this manner, tabular models may be generated in a fast, agile, and scalable manner, which may enable analysts and other responsible entities to more effectively analyze data and support the day-to-day decision-making processes of an enterprise.The tabular model generation system 104 is described in more detail below.

[0038] The computing device 106 may include any device configured to enable a user (such as a member of a business intelligence team or an analyst) to build, modify, update, and / or interact with the tabular model generation system 104 (or a tabular model generated therefrom). In some example implementations, the event studio 108 may enable a user to identify events, such as business events for a company, along with dependencies between one or more events. The event studio 108 may include any suitable interface, such as a GUI, for enabling a user to identify such events and dependencies. In some other implementations, the event studio 108 may also enable a user to view, enter, and / or modify one or more SQL commands used during the generation of the tabular model described herein.

[0039] The event studio 108 may also include one or more interactive interfaces for presenting a tabular model in a software package (such as a business intelligence package or software) to enable a user to visualize transaction data across various dimensions. The computing device 102 may also be configured to store the generated tabular model in a suitable storage device implemented in the computing device 106. In some examples, the tabular model may include an in-memory database stored in one or more RAM devices in the computing device 106. However, the implementation is not limited to such a memory device and may include one or more other suitable storage devices for storing the tabular model. The computing device 106 may include a desktop computer, a portable computer, a smart phone, a tablet computer, or any other processing device. However, it should be noted and understood that the computing device 106 may include any number of computing devices. For example, one or more computing devices may be provided for identifying business events and dependencies, while one or more other computing devices may include a software package for presenting data visualizations based on the generated tabular model. The following references Fig. 9 Example computing devices that may incorporate the functionality of computing device 106 are described.

[0040] The source system(s) 110 may include any number and / or type of systems in which information related to a transaction event may be stored. For example, the source system(s) 110 may include a system for storing transaction data 112 related to a business event, such as payment information, order information, customer information, products, employee information (e.g., identifiers, wages, etc.), transaction dates or periods, or any other information related to an event or business transaction. The source system(s) 110 may include a variety of different types of systems (e.g., systems based on different platforms, formats / arrangements, storage structures, etc.), and are not limited to any particular type of system. In one example, when a transaction occurs, information related to the transaction may be stored in or across one or more appropriate systems, and in some implementations, information related to the transaction may be linked together using appropriate identifiers (e.g., keys, etc.). Any one or more source systems 110 include any suitable data structure for storing information, and are not limited to any particular implementation or format. For example, the source system(s) 110 may include any one or more of a database, a spreadsheet, a text file, a document, etc., or a combination thereof.

[0041] Despite Figure 1 As shown, the table model generation system 104 can be implemented in the server 102 and the event studio 108 can be implemented in the computing device 106, but it should be understood that the table model generation system 104 and / or the event studio 108 can be implemented in other computing devices. Figure 1The computing device 106 may be implemented in one or more of the servers or computing devices shown, or any additional servers or computing devices not shown, or distributed across these servers or computing devices. Figure 1 106 and server 102 may be co-located, may be implemented on a single computing device, or may be located remotely from server 102. Figure 1 Similarly, transaction data 112 need not be located on one or more additional computing devices as shown in the example above or distributed on these additional computing devices. Figure 1 The source system shown may instead be located on and / or distributed across one or more other devices, such as server 102, computing device 106, and / or other servers or devices not shown (e.g., on a cloud-based storage device).

[0042] The table model generation system 104 can operate in various ways to generate a table model. For example, the table model generation system 104 can generate a table model based on Figure 2 operate. Figure 2 A flowchart 200 of a method for generating a table model according to an example embodiment is shown. Figure 3 A flow chart 200 and a table model generation system 104 are described. Figure 3 1 shows a block diagram of a table model generation system 300 according to an example embodiment. Figure 3 As shown, system 300 includes tabular model generation system 104. Tabular model generation system 104 includes event model generator 302, event recorder 308, warehouse builder 318, and tabular model builder 326. Event model generator 302 includes studio interface 304, and can be configured to obtain event mapping 330 and generate event model 306 stored in super generalized temporary database 314. Event recorder 308 includes dimension mapper 310 and record acquirer 312. Event recorder 308 can acquire multiple event records 322 related to event model 306 to first update super generalized temporary database 314 with dimension metadata 316, and then store associated dimension records together with their relationships with event records. Figure 1 As shown, warehouse builder 318 can generate presentation database 320 including one or more fact tables 322 and multiple dimension tables 324. Table model builder 326 can generate table model 328 according to the implementations described herein. Flowchart 200 and system 300 are described in more detail below.

[0043] Figure 2The flowchart 200 starts at step 202. In step 202, an event model including a plurality of events and one or more dependencies between each event is generated. Figure 3 , the event model generator 302 can be configured to generate an event model 306 including a plurality of events and one or more dependencies between each event. In an implementation, the event model 306 can include a business event model including a plurality of business events associated with a business (e.g., sales, transactions, milestones, etc.), and corresponding dependencies between each business event.

[0044] The event model generator 302 can generate the event model 306 in a variety of ways. In one example, the event model generator 302 can obtain an event map 330 that identifies events and event dependencies. For example, the studio interface 304 can be configured to interface or communicate with a business intelligence platform or other executing on a client computer, such as the event studio 108, to obtain the event map 330, which includes a user-specified set of business events and dependencies. In some example embodiments, a developer or analyst can interact with the event studio 108 to identify business events, event dependencies, and register or identify one or more upstream data sources containing business event records from which data is to be retrieved, and / or write one or more SQL queries to retrieve business event records from such data sources.

[0045] Thus, in some implementations, the event map 330 may include a timeline or sequence of one or more interrelated and / or independent events (such as events or transactions in a business environment) occurring in an environment. Based on the event map 330, which may be identified by the event studio 108 as described herein, the event model generator 302 may generate an event model 306 that models the business environment. In some implementations, the event model 306 may be stored in the super-generalized temporary database 314, as described below. In an illustrative example, the event map 330 may identify a sequence of events that begins with accrual of funds, followed by submission of a marketing plan, review of the marketing plan, submission of reimbursements, review of reimbursements, calculation of payment dates, approval of expenditures, and issuance of payments. In this example, the event map 330 may also identify dependencies between one or more of the events, such as review of a marketing plan may only occur after submission of the marketing plan.

[0046] In addition, each such event can create one or more dimension values ​​and / or reference previously created dimension values. In the above description, the aforementioned business events can create and / or reference dimension values, such as company identifiers, account numbers, incentive programs, accrual periods, usage periods, marketing plans, reimbursement numbers, execution certificates, accrual identifiers, expenditure identifiers, settlement document identifiers, etc. However, this example is not intended to be limiting and is provided for illustrative purposes only. The example embodiments described herein can be implemented in any type of environment (business or non-business), including sequences of interrelated and / or independent events that can create and / or reference various dimensional values.

[0047] In implementation, each event in event model 306 can be associated with a SQL query comprising one or more SQL commands. For example, for each of the business events identified in the above illustrative examples, a separate SQL query can be written. In the example, the SQL query comprising one or more SQL commands can be configured to define one or more dimensions and / or metrics of the event. For example, the SQL query for a given event can include information corresponding to the dimensions and / or metrics referenced by the event. However, it should be noted and understood that although the examples are described herein as including SQL queries with one or more SQL commands, the implementation is not limited thereto and may include any other type of code or command that can be used to access transaction data from a database or any other storage system.

[0048] Dependencies between events can identify any relationship between one or more other events, if such a relationship exists. For example, a business event can be an independent or discrete event (e.g., unrelated to other events), a starting event, an evolving event (e.g., an event with one or more subsequent events), a recurring event, a milestone event (e.g., an event that occurs after another event and can represent the completion of a significant milestone in the evolving event), or any other type of event. In some examples, event dependencies can be associated with a sequence number, etc. that can identify the relative order in the entire set of events. The studio interface 304 can be used to indicate such dependencies between events. As a result of identifying such dependencies, business questions based on event relationships can be easily answered, such as the time since a particular event was triggered, which events are unresolved, etc.

[0049] In addition to identifying events and dependencies between each event, the studio interface 304 can also be used to identify one or more data sources from which data related to the event can be retrieved. For example, the identification of the data source can include a server name, a database name, a source timeout, etc., or any other identifying information of the data source registered to retrieve information from. In some examples, a given event can include multiple SQL queries, each query is configured to pull data from a different data source (e.g., a product database, a payment database, etc.).

[0050] In step 204, a plurality of dimensions are mapped to each event in an event (eg, a business event). Figure 3 , the dimension mapper 310 can decode the dimension information from the SQL query associated with the event, and use the dimension information to map multiple dimensions to each event in the identified event. As discussed above, each event can reference or create one or more dimension values, such as a company identifier, an account number, an incentive project, an accrual period, a usage period, a marketing plan, a reimbursement number, an execution certificate, an accrual identifier, an expenditure identifier, a settlement document identifier, etc. By including one or more parameters associated with each dimension in the SQL query, such dimensions can be identified as part of the SQL query for a given event. For example, for a given event, the SQL query can identify a dimension group, a dimension name, a dimension attribute name, one or more attribute labels, a usage context (e.g., create or read-only), a record status flag, or any other attribute. As a result, the various dimensions referenced and / or created by each event can be mapped before the retrieval of transaction data for such an event (e.g., event logging).

[0051] For example, after parsing the query corresponding to each event, the dimension mapper 310 can automatically determine how different dimensions can be related to each other. For each dimension in the dimension, the dimension mapper 310 can update a schema configured to store the dimension and one or more dimension attributes related to the dimension. In one implementation, the dimension mapper 310 can be configured to store each of the dimensions and dimension attributes in a table of the super generalized temporary database 314.

[0052] Thus, the dimension mapper 310 can automatically generate a dimension map by parsing each event query, which identifies how each event is related to each dimension. In other words, the dimension mapper 310 can store the following indications by ordering or sequencing of events, or in any other suitable manner: which dimensions can be created and / or referenced when each type of business event occurs in the super-generalized temporary database 314.

[0053] In addition, the dimension mapper 310 can also be configured to store metadata associated with each of the business events in the super-generalized temporary database 314. For example, the dimension mapper 310 can store dimension metadata 316 that indicates information about each dimension in a particular arrangement, such as using a predetermined encoding format of information contained within a column header (e.g., top row) of a table. In one illustrative example, the column headers that include the dimension metadata 316 can be encoded according to a format that identifies each of a plurality of fields or identifiers associated with a dimension created or referenced by an event, such as {dimension group}-{dimension name}-{dimension attribute name}-{dimension attribute label}-{usage context}-{record status flag}. It should be noted that this encoding format is merely illustrative, and implementations can include any other manner of arranging and / or storing the dimension metadata 316.

[0054] In this way, when the SQL query is executed at runtime, data can be retrieved and mapped to the identified dimensions in a specific manner defined by the SQL query. In other words, when the SQL query is executed, data can be enabled to be placed in the table in a specific or predetermined format (e.g., by identifying dimension attributes as metadata), as determined by the schema of the super-generalized temporary database 314 to be used during generation of the tabular model. In some example implementations, when the query is executed, the mapping of dimensions to events in the SQL query can cause such dimension information (i.e., dimension metadata) to be placed in the header of one or more columns. As a result, if a new dimension is to be added, removed, or modified, the SQL query for the appropriate event can simply be updated to modify the dimension mapping, rather than manually changing one or more database schemas.

[0055] In step 206, a query is executed to obtain event records related to the event model. Figure 3, the record acquirer 312 is configured to execute one or more queries associated with each of the plurality of events to obtain event records 332 associated with the event model 306. The event records 322 may include transactional data 112 stored in one or more source systems 110 described herein. For example, the event records 332 may include financial records, sales records, marketing records, etc., or any other records that may be associated with a business environment. Therefore, the record acquirer 312 may be configured to execute each of the associated queries to retrieve such event records for each of the events.

[0056] In implementation, the record acquirer 312 may store the retrieved event records 332 in the super generalized temporary database 314 in a specific or predetermined format, such as based on a schema generated for the super generalized temporary database 314. For example, the record acquirer 312 may store the acquired event records for a specific event (e.g., event records acquired by executing a SQL query for the event) in the following manner: the event occurrence data (event id, timestamp, etc.) is maintained in a single table, while the dimension records and event record to dimension mapping are stored in one or more simple key-value type lookup tables in the super generalized temporary database 314.

[0057] As discussed above, in some example embodiments, the super-generalized temporary database 314 may also be configured to store dimension metadata 316 for each event. For example, the dimension metadata 316 that may be identified in the SQL query for the event as described above may be stored in one or more tables of the super-generalized temporary database 314. Other implementations for storing the dimension metadata 316 are also contemplated, such as storing the dimension metadata as an XML or JSON string in the super-generalized temporary database 314. In this way, if the dimension mapping associated with a particular event is to be modified, updating the SQL query to reflect the desired changes may automatically cause the table or string in the super-generalized temporary database 314 to be updated with the modified dimension mapping when the record acquirer 312 executes the query. As a result, the schema of one or more databases (e.g., temporary databases) does not need to be manually changed by a user, thereby increasing the agility with which temporary databases and / or presentation databases may be generated. In addition, since each business event may contain its own SQL query that identifies the dimensions associated with the event and may be executed iteratively, separate development teams may work in parallel and optimize work distribution to further increase productivity.

[0058] In an example, the record acquirer 312 can be configured to load or populate multiple tables of the super generalized temporary database 314 with appropriate event records, dimension information, and metrics (as described later). For example, after parsing each of the SQL queries associated with the identified events, the super generalized temporary database 314 can be set up with an appropriate schema to store dimension records, business event records, and metrics. As a result, the record acquirer 312, when executing a query, can retrieve data from one or more source systems to automatically populate appropriate tables, including but not limited to event record tables, event record metric tables, dimension record tables, dimension attribute tables, and / or any other tables that may be part of the super generalized temporary database 314.

[0059] Thus, after executing each SQL query, the record acquirer 312 can retrieve appropriate transaction data from the identified (multiple) source systems in the query and place the acquired event records in the super generalized temporary database 314. Because the schema of the temporary database is determined based on the column names encoded in the SQL query, the super generalized temporary database can be used in various environments, enterprises and / or industries by customizing the SQL query. As a result, the temporary database can be implemented universally. In addition, since the super generalized temporary database stores dimension metadata (e.g., in tables, XML, JSON, or any other manner), the temporary database can be similarly used across different implementations to generate a table model, as described in more detail below. In other words, the super generalized temporary database 314 can store dimension metadata 316 after the execution of the query, which dimension metadata can be used to generate one or more dimension tables for generating a table model. By customizing the column names in the query to reflect the business intelligence expectations of a specific business, the generation of different types of dimension tables (e.g., for different business environments) can be performed.

[0060] In implementation, the event recorder 308 (including the dimension mapper 310 and the record acquirer 312) may include any suitable software instructions and / or execution engine for parsing and / or executing the SQL queries described herein. In some example embodiments, the event recorder 308 may perform any of the tasks described by one or more C Sharp (also known as C#) programming language instructions, which are configured to parse and execute SQL queries for one or more transaction source systems defined in the query. In some other implementations, the event recorder 308 may include one or more software instructions in C# or in any other suitable programming language, which are used to generate dimension mappings and load event records into the super generalized temporary database 314 after parsing and / or executing the query as described herein. As will be understood by those skilled in the relevant art, other ways of parsing and / or executing queries are also considered to be used to implement the described technology.

[0061] In step 208, a presentation database for the event model is generated. Figure 3 , the warehouse builder 318 can be configured to automatically generate a presentation database 320 for the event model 306. In an example, the presentation database 320 can include one or more transformations of the information included in the super generalized temporary database 314. In an example, the warehouse builder 318 can include one or more software instructions (e.g., written in C# or any other suitable programming language) configured to read the dimension metadata 316 and the event model 306 in the super generalized temporary database 314. Based on the dimension metadata 316 and the event model 306, the warehouse builder 318 can generate a presentation database 320 with tables of appropriate types and arrangements. For example, in an implementation, the warehouse builder 318 can automatically generate one or more fact tables 322 associated with a plurality of dimension tables 324 in the presentation database 320, which can be used to build a tabular model. The warehouse builder 318 can also be configured to automatically load or populate each generated fact table and dimension table with appropriate data from the super generalized temporary database 314.

[0062] As used herein, fact table(s) 322 may include a central table in a star schema or snowflake schema in a data warehouse. For example, a fact table may include a central table surrounded by multiple dimension tables. Fact table(s) 322 may include transactional data in various forms, including but not limited to raw facts and / or metrics (e.g., aggregations) of data. Dimension tables 324 may include descriptive attributes by which facts in fact table 322 may be analyzed. Although dimension tables may include textual attributes, dimension tables may also include numerical values ​​(e.g., store identifiers, product codes, etc.). Depending on the technology, multiple dimension tables 324 may be associated with a single fact table. As understood by those skilled in the relevant art, entries in a dimension table may be associated with entries in a fact table by one or more keys, such as a primary key and / or a foreign key.

[0063] In some implementations, the warehouse builder 318 can be configured to convert the schema of the super generalized temporary database 314 into a domain-specific database (i.e., the presentation database 320) from which the tabular model can be generated. For example, the warehouse builder 318 can read the data store across various tables of the super generalized temporary database 314, including the dimension metadata 316, and generate the presentation database 320 including one or more dimension tables (e.g., separate dimension tables for reimbursement, marketing plans, etc.). In other words, with the dimension metadata 316 including dependency information, etc., the warehouse builder 318 can automatically query each of the dimensions related to each specific business event and load the data retrieved from the super generalized temporary database 314 for these events into the presentation database 320. As a result, by parsing the dimension metadata 316, which can be stored as tables in the super generalized temporary database 314, the warehouse builder 318 can execute one or more software instructions to create dimension tables on the fly.

[0064] In step 210, using the presentation database, a table model is generated. For example, referring to Figure 3 , the tabular model builder 326 can be configured to generate a tabular model 328 using the presentation database 320 (including one or more fact tables 322 and multiple dimension tables 324) and metadata stored in the super generalized temporary database 314. In an example implementation, the tabular model builder 326 can include one or more software instructions (e.g., written in C# or any other suitable programming language) configured to read the dimension metadata 316 and the event model 306 from the super generalized temporary database 314 to automatically identify the relationship between the one or more fact tables 322 and the multiple dimension tables 324. In some examples, the tabular model builder 326 can also be configured to automatically generate a star schema or a snowflake schema in conjunction with the generation of the tabular model 328.

[0065] Tabular model builder 326 may also be configured to execute one or more data refresh queries using one or more table partitions of tabular model 328. For example, tabular model builder 326 may implement one or more extract, transform, and load (ETL) techniques to refresh data in tabular model 328 to ensure that the data stored therein is up to date. Tabular model builder 326 may automatically execute such refresh queries, or may execute such queries manually (e.g., in response to user-initiated events, such as interactions with GUI elements in a BI package).

[0066] It should also be noted that although the table model builder 326 can be Figure 3328. As shown implemented in the table model generation system 104, the table model builder 326 may be implemented in or distributed across one or more other systems or services not explicitly shown. For example, the table model builder 326 may be configured to generate the table model 328 through one or more other systems or services, through a suitable API, etc.

[0067] In implementation, the tabular model 328 may be loaded or populated with appropriate data and deployed to an appropriate analysis service, such as SSAS (SQL Server Analysis Services) or other software packages for BI solutions such as Azure Analysis Services, Power BI), or other software packages such as Power View or In some other implementations, the table model 328 may also be stored in a memory (such as RAM) or other suitable storage device, where the model may be accessed to perform data analysis.

[0068] In this way, the tabular model builder 326 can generate the tabular model 328 using a general database that can be universally implemented for various fields or industries (e.g., retail, telecommunications, consulting, etc. or any other non-business field). In other words, by identifying business events and their dependencies, as well as their interrelationships with one or more dimensions, the super-generalized temporary database 314 can be designed in such a way that it can be used to model a wide range of business events and enables analysts to use the tabular model generation system 104 to generate robust and adaptive tabular models. As a result, the manual creation of tables and databases (e.g., dimension tables) can be reduced or even avoided entirely. Instead, by defining events through the event studio 108, a domain-specific database can be automatically generated and populated from appropriate data sources based on the event model 306.

[0069] In implementation, the process by which a developer or analyst desires to modify the tabular model 328 using a change request may also be streamlined using the techniques described herein. For example, where a new field is added to the tabular model 328, one or more SQL queries may be modified by the event studio 108 to identify or register a new upstream data source from which the new field is obtained. The event recorder 308 may be configured to execute SQL queries for one or more of the identified business events, which causes the super-generalized temporary database 314 to include updated dimension metadata 316, which includes the new field. The event recorder 308 may also be configured to populate the super-generalized temporary database 314 with appropriate data values ​​for the newly added fields based on the identified data sources. The warehouse builder 318 may be executed to regenerate the fact table(s) 322 and dimension table(s) 324 as described herein, so that the newly added fields appear as columns in the appropriate dimension table(s). After generating the updated fact table and dimension table, the table model builder 326 can regenerate the table model 328 with the updated fields, and deploy the model to the desired BI package and / or store the table model in memory. In this way, the manual labor of modifying the table model can be reduced, so that the table model can be updated more efficiently.

[0070] Event recorder 308 may operate in various ways to store the mapping of dimension metadata to events. For example, Figure 4 400 is a flowchart of a method for storing dimension metadata in a super-generalized database according to an example embodiment. In one implementation, the method of flowchart 400 may be implemented by event recorder 308. Figure 3 Reference to describe Figure 4 Based on the following description of flowchart 400 and Figure 3 Based on the discussion of system 300, other structural and operational implementations will be apparent to those skilled in the relevant art(s).

[0071] Flowchart 400 begins at step 402. In step 402, the query associated with each event is parsed to map dimension metadata to the event. Figure 3 , the dimension mapper 310 can be configured to parse each SQL query associated with each event in the event model 306 to map dimension metadata to the event. As described above, each event can be associated with a specific query that identifies a number of dimension parameters associated with the event, etc. For example, the query can be parsed to identify a dimension group, a dimension name, a dimension attribute name, one or more attribute labels, a usage context, a record status flag, or any other attribute related to a dimension associated with the event.

[0072] Thus, in examples, dimension and dimension attribute metadata may be included as part of a SQL query in a manner such that (when executed) the results of the query automatically utilize the metadata to encode event records. In some illustrative examples, after retrieving an event record, a column name or column header may be encoded using dimension metadata by identifying dimension information in a specific encoding format (e.g., {dimension group}-{dimension name}-{dimension attribute name}-{dimension attribute label}-{usage context}-{record status flag}). In this manner, each event record that may be identified by a timestamp and / or key value may be automatically mapped to multiple dimensions based on the column header information.

[0073] In step 404, the dimension metadata is stored in a super generalized database. Figure 3 , the dimension mapper 310 can store the dimension attribute information in the super generalized temporary database 314 as described above. In some examples, the dimension mapper 310 can be configured to generate a database schema that associates each event with dimensions and dimension attributes as dimension metadata 316. In some other implementations, the dimension mapper 310 can also automatically create a schema based on the encoded information in the query to store the dimensions and related dimension attributes in the super generalized temporary database 314. For example, as described above, after executing the query for each event, the dimension metadata 316 can be stored in the super generalized temporary database 314 along with the event records 332 retrieved from the source system identified in the query. In this way, the super generalized temporary database 314 combined with the dimension metadata 316 (e.g., in a table, XML, JSON, or in any other manner) can be populated in a manner that automatically associates each of the events with one or more dimensions.

[0074] As described above, the presentation database 320 may be generated from the super-generalized temporary database 314. For example, Figure 5 Flowchart 500 of a method for generating a presentation database based in part on dimensional metadata according to an example embodiment is shown. In one implementation, the method of flowchart 500 may be implemented by warehouse builder 318. Figure 3 Reference to describe Figure 5 Based on the following flow chart 500 and Figure 3 Based on the discussion of system 300, other structural and operational implementations will be apparent to those skilled in the relevant art(s).

[0075] Flowchart 500 begins at step 502. In step 502, dimension metadata is identified from a schema of a super generalized database. Figure 3, dimension metadata 316 may be included in the schema of the super generalized temporary database 314, as described above. The warehouse builder 318 may be configured to obtain dimension metadata 316, which may identify, among other things, the mapping of dimensions and dimension attributes to each business event. For example, such dimension metadata may be stored in a table of the super generalized temporary database 314 for each event type.

[0076] However, it should be noted and understood that each event can be associated with multiple dimensions. For example, the dimension metadata 316 can include multiple rows in a table, where each row identifies a different dimension associated with a particular event. In this way, by obtaining the dimension metadata 316 from the super-generalized temporary database 314, the warehouse builder 318 can automatically identify the relationship and association between events and dimensions.

[0077] In step 504, based in part on the dimensional metadata, a presentation database is generated. Figure 3 , the warehouse builder 318 can be configured to generate dimension tables in the presentation database 320 based on the dimension metadata 316. In implementation, the warehouse builder 318 can be configured to generate a plurality of dimension tables 324 based on the dimension metadata 316 and load these tables with appropriate data from the super-generalized temporary database 314. For example, because the dimension metadata 316 identifies the various dimensions to be included in the tabular model and their relationship to the business events, the warehouse builder 318 can automatically set up the appropriate dimension tables and load the tables with the necessary data. Similarly, by virtue of identifying the dependencies of the events in the event model 306 and the relationship of each event to the various dimensions, the warehouse builder 318 can be configured to generate one or more fact tables 322 on the fly.

[0078] In an example implementation, fact tables and dimension tables may be generated in various ways. For example, Figure 6 600 is a flowchart of a method for generating a fact table associated with a dimension table in a presentation database according to an example embodiment. In one implementation, the method of flowchart 600 can be implemented by a warehouse builder 318. Figure 3 Reference to describe Figure 6 Based on the following description of flowchart 600 and Figure 3 Based on the discussion of system 300, other structural and operational implementations will be apparent to those skilled in the relevant art(s).

[0079] Flowchart 600 begins at step 602. In step 602, a fact table associated with a plurality of dimension tables in a presentation database is generated. Figure 3, the warehouse builder 318 can be configured to generate one or more fact tables 322 and associate them with a plurality of dimension tables in the presentation database 320 as described above. In an implementation, the warehouse builder 318 can be configured to automatically and / or on-the-fly generate fact tables and dimension tables based at least in part on the dimension metadata 316 and the event model 306, which can identify relationships between events and dimensions.

[0080] In some example embodiments, based on the mapping of business events to dimensions, fact tables can be generated on the fly by executing dynamic queries associated with each type of event (e.g., instructions for initiating events, instructions for evolving events, etc.), as discussed above. For example, the warehouse builder 318 can execute a set of instructions to combine various entries in the super generalized temporary database 314. As previously described, the super generalized temporary database 314 can be loaded with event records and dimension records, etc. In one example, the warehouse builder 318 can include instructions to perform a LEFT JOIN (or OUTER JOIN) on such entries. When the LEFT JOIN is executed, the warehouse builder can retrieve records from two separate tables in the super generalized temporary database 314. For example, the LEFT JOIN command can be executed to connect events and dimensions to generate a fact table on the fly. As a result, a fact table including a combination of events and dimensions that are referenced and / or created can be generated. Implementations are not limited to using LEFT JOIN to generate fact tables, but can include any other JOIN commands or other techniques for combining values ​​stored in the super generalized temporary database 314.

[0081] Using such associated fact and dimension tables generated in the manner described above, the tabular model builder 326 can automatically generate a star schema or snowflake schema at runtime having a fact table at the center that is appropriately linked to each of a plurality of dimension tables in a manner understood by those skilled in the art (e.g., by linking primary and foreign keys).

[0082] In some other example embodiments, one or more fact tables 322 may include metrics defined in queries associated with events. Metrics may include any aggregation, summation, or combination of facts (e.g., sales for a given month, quarter, year, etc.). In some other examples, metrics may include time intervals between various events, such as processing time between a reimbursement submission event and the final processing of the reimbursement. For example, time intervals may be determined based on event dependencies defined in the event studio 108 and stored in the event model 306 of the super generalized temporary database 314. If such event dependencies exist, such dependencies may enable one or more events to be linked together via a sequence number or key. Since dependency information between events is known, when a fact table is generated, metrics including the expected intervals between events, or metrics indicating that certain events have not yet occurred (e.g., reimbursement has not yet been processed despite submission) may be automatically included. However, metrics are not limited to such illustrative examples, and may include any other analysis that may be beneficial to analyzing across one or more dimensions or events.

[0083] In an example, metrics can be defined in one or more SQL queries associated with a business event. For example, a developer or analyst may determine that certain metrics may be desirable for analysis of a given event, and therefore such metrics may be defined in the SQL query associated with the event. In this way, if metrics are to be added, removed, and / or modified, the developer or analyst may revise the query for the event rather than engaging in the complex and time-consuming process of otherwise defining metrics.

[0084] In some example implementations, dimension attribute information may be extracted from dimension metadata 316 of super generalized temporary database 314. For example, Figure 7 Flowchart 700 of a method for deriving dimension attribute names according to an example embodiment is shown. In one implementation, the method of flowchart 700 may be implemented by dimension mapper 310. Figure 3 Reference to describe Figure 7 Based on the following description of flowchart 700 and Figure 3 Based on the discussion of system 300, other structural and operational implementations will be apparent to those skilled in the relevant art(s).

[0085] Flowchart 700 begins at step 702. In step 702, the dimension attribute name of one of the dimension tables is derived from the column header. Figure 3, the super generalized temporary database 314 may include dimension metadata 316 as described above. The dimension metadata 316 may include metadata that links events and dimensions in various ways. In an example implementation, the dimension metadata 316 may include metadata that is encoded into the column headers of the SQL query associated with the event and stored in the super generalized temporary database 314 when the results from the query associated with the event are loaded into the database.

[0086] In the illustrative examples described earlier, the column headers can be encoded in a predetermined format, such as by identifying one or more dimension-related fields. For example, the column headers can be encoded in a non-limiting manner as follows: {dimension group}-{dimension name}-{dimension attribute name}-{dimension attribute label}-{usage context}-{record status flag}, where each field contains an appropriate identifier or flag entry. Therefore, based on such dimension metadata, the dimension mapper 310 can be configured to automatically identify the dimension attribute name from the column header, which dimension attribute name can be used when generating the dimension table as described above. In some other implementations, the dimension mapper 310 can also be configured to rename or reformat the dimension attribute name into one or more user-friendly names, such as by adding spaces between words, capitalizing certain letters, fixing punctuation marks, etc. The table model builder 326 can also be configured to show these user-friendly names in the table model 328, improving the readability of the model and the discoverability of the data. In this way, generation of user-friendly dimension tables may be further automated by automatically including appropriate names for dimension attributes (or any other identifiers that may be present in dimension metadata 316).

[0087] III. Illustrative Database Schema Embodiment

[0088] As described above, the tabular model generation system 104 (and subcomponents included therein) interprets and processes the domain-independent event and dimension data stored in the super-generalized temporary database 314 to automatically generate the presentation database 320 , and then constructs the tabular model 328 . Figure 8A-8G An illustrative database schema that may be generated according to an example embodiment is depicted to enable the event model generator 302, event recorder 308, warehouse builder 318, and table model builder 326 to effectively store, interpret, and process domain-independent event and dimension data. It should be noted and understood that Figures 8A-8G The examples shown in are provided for purposes of illustration and are not intended to be limiting. Each illustrative database schema is described below.

[0089] Fig. 8AAn example schema 801 for storing business events and queries according to an example embodiment is shown. For example, Fig. 8A The illustrative schema shown in can be generated according to step 202 of the above flowchart 200. For example, event studio 108 and event model generator 302 can be configured to generate event model 306 including example schema 801. In an example implementation, example schema 801 (e.g., in event model 306) can be stored in super-generalized temporary database 314, as described above.

[0090] Figure 8B An example schema 802 for storing dimensions and related attributes is shown according to an example embodiment. For example, Figure 8B The illustrative schema shown in FIG. 3 may be generated according to step 204 of flowchart 200 and / or steps 402 and 404 of flowchart 400, as described above. In an example implementation, dimension mapper 310 may be configured to parse the encoded column names in the query associated with each event and use Figure 8B The illustrative schema shown in stores each of the dimensions and dimension attributes in a super generalized temporary database 314 .

[0091] Figure 8C An example schema 803 for storing a map of business events to dimensions according to an example embodiment is shown. Figure 8C The illustrative schema shown in FIG. 3 may be generated according to step 204 of flowchart 200 and / or steps 402 and 404 of flowchart 400, as described above. For example, dimension mapper 310 may be configured to parse the encoded column names in the query for each event and then use Figure 8C The illustrative schema shown stores information in super generalized temporary database 314 indicating which dimensions may be created and / or referenced when an event occurs.

[0092] Fig.8D An example schema 804 for storing dimension records according to an example embodiment is shown. Fig.8D The illustrative mode shown in FIG. 2 may be generated according to step 206 of the flowchart 200 described above. In an example implementation, the record acquirer 312 may be configured to Fig.8D The illustrated example schema 804 is loaded with dimension records and dimension record attributes (eg, by retrieving transaction data from one or more source systems 110 ). As described above, the example schema 804 may also be stored in the super-generalized temporary database 314 .

[0093] Fig. 8E An example schema 805 for storing event records (e.g., business event records) according to an example embodiment is shown. Fig. 8E The illustrative schema shown in can be generated according to step 206 of the above flowchart 200. In an example, the record acquirer 312 can be configured to execute a query associated with each event to obtain the transactional event records 332, and then load or populate the example schema 805 in the following manner, such as Fig. 8E As shown: event occurrence data (for example, event record key, occurrence time, etc.) is stored in the business event record table, and the mapping of event records to dimension records is stored in the business event record matrix table.

[0094] Fig.8F An example schema 806 for storing measures (e.g., business event record measures) according to an example embodiment is shown. For example, Fig.8F The illustrative schema shown in can be generated according to step 206 of the above flowchart 200. In an example, the record acquirer 312 can be configured to execute queries associated with each event to load or populate the example schema 806. As a result, the event record metric table in the super-generalized temporary database 314 can be populated with the appropriate metric (e.g., aggregation, sum, or combination of facts, or time interval between events, etc.) as defined in each query.

[0095] Figure 8G An example star schema 807 that can be automatically generated according to an example embodiment is shown. For example, the example star schema 807 can be generated according to step 208 and / or step 210 of the flowchart 200, and / or step 602 of the flowchart 600. As described above, the warehouse builder 318 and the table model builder 326 can be configured to generate the example star schema 807, which includes a fact table and multiple dimension tables in the example. For example, Figure 8G As shown, the example star schema 807 may include a fact table at the center (e.g., fact table 322) that is associated with a plurality of dimension tables (e.g., dimension table 324). Figure 8G An example star schema is depicted in , but it should be understood that a snowflake schema or other suitable schema including a fact table associated with multiple dimension tables may be generated depending on the implementation.

[0096] IV. Example Mobile and Fixed Device Embodiments

[0097] The server 102, the tabular model generation system 104, the computing device 106, the event studio 108, the source system(s) 110 (and / or any subcomponents of any of the foregoing), the flowchart 200, the flowchart 400, the flowchart 500, the flowchart 600, and / or the flowchart 700 may be implemented in hardware or in hardware in combination with software and / or firmware, such as as computer program code / instructions stored in a physical / hardware-based computer-readable storage medium and configured to be executed in one or more processors, or as hardware logic / circuitry devices (e.g., circuits composed of transistors, logic gates, operational amplifiers, one or more application specific integrated circuits (ASICs), one or more field programmable gate arrays (FPGAs)). For example, one or more of the server 102, the table model generation system 104, the computing device 106, the event studio 108, the source system(s) 110 (and / or any subcomponent of any of the foregoing), the flowchart 200, the flowchart 400, the flowchart 500, the flowchart 600, and / or the flowchart 700 may be implemented, alone or together, in a SoC. The SoC may include an integrated circuit chip that includes one or more of a processor (e.g., a central processing unit (CPU), a microcontroller, a microprocessor, a digital signal processor (DSP), etc.), a memory, one or more communication interfaces, and / or other circuits, and may optionally execute received program code and / or include embedded firmware to perform functionality.

[0098] Fig. 9 An exemplary implementation of a computing device 900 in which an example embodiment may be implemented is depicted. For example, any of the server 102, the table model generation system 104, the computing device 106, the event studio 108, the source system(s) 110 (and / or any subcomponents of any of the foregoing) may be implemented in one or more computing devices similar to the computing device 900 in the fixed or mobile computer embodiments, including one or more features and / or alternative features of the computing device 900. The description of the computing device 900 provided herein is provided for purposes of illustration and is not intended to be limiting. The example embodiments may be implemented in other types of computer systems, as known to those skilled in the relevant art(s).

[0099] like Fig. 9As shown, the computing device 900 includes one or more processors referred to as processor circuits 902, a system memory 904, and a bus 906, which couples various system components including the system memory 904 to the processor circuit 902. The processor circuit 902 is an electrical circuit and / or optical circuit implemented as a central processing unit (CPU), a microcontroller, a microprocessor, and / or other physical hardware processor circuits in one or more physical hardware electrical circuit device elements and / or integrated circuit devices (semiconductor material chips or dies). The processor circuit 902 can execute program codes stored in a computer-readable medium, such as program codes of an operating system 930, an application 932, other programs 934, etc. The bus 906 represents any one or more bus structures of a variety of types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. The system memory 904 includes a read-only memory (ROM) 908 and a random access memory (RAM) 910. A basic input / output system 912 (BIOS) is stored in ROM 908 .

[0100] The computing device 900 also has one or more of the following drives: a hard disk drive 914 for reading and writing to a hard disk, a disk drive 916 for reading or writing to a removable disk 918, and an optical drive 920 for reading or writing to a removable optical disk 922 (such as a CD ROM, DVD ROM, or other optical media). The hard disk drive 914, the disk drive 916, and the optical drive 920 are connected to the bus 906 via a hard disk drive interface 924, a disk drive interface 926, and an optical drive interface 928, respectively. The drive and its associated computer-readable media provide non-volatile storage of computer-readable instructions, data structures, program modules, and other data for the computer. Although a hard disk, a removable disk, and a removable optical disk are described, other types of hardware-based computer-readable storage media can be used to store data, such as flash memory cards, digital video disks, RAM, ROM, and other hardware storage media.

[0101] A plurality of program modules may be stored on a hard disk, a magnetic disk, an optical disk, a ROM, or a RAM. These programs include an operating system 930, one or more application programs 932, other programs 934, and program data 936. Application programs 932 or other programs 934 may include, for example, computer program logic (e.g., computer program code or instructions) for implementing server 102, table model generation system 104, computing device 106, event studio 108, (multiple) source systems 110 (and / or any subcomponents of any of the foregoing), flowchart 200, flowchart 400, flowchart 500, flowchart 600, and / or flowchart 700 (including any suitable steps of flowchart 200, 400, 500, 600, or 700), and / or other example embodiments described herein.

[0102] A user may enter commands and information into the computing device 900 through input devices such as a keyboard 938 and a pointing device 940. Other input devices (not shown) may include a microphone, a joystick, a game controller, a satellite dish, a scanner, a touch screen and / or touch pad, a voice recognition system for receiving voice input, a gesture recognition system for receiving gesture input, etc. These and other input devices are typically connected to the processor circuit 902 through a serial port interface 942 coupled to the bus 906, but may be connected by other interfaces, such as a parallel port, a game port, or a universal serial bus (USB).

[0103] Display screen 944 is also connected to bus 906 via an interface, such as video adapter 946. Display screen 944 may be external to computing device 900 or incorporated into computing device 900. Display screen 944 may display information, as well as serve as a user interface for receiving user commands and / or other information (e.g., by touch, finger gestures, virtual keyboard, etc.). In addition to display screen 944, computing device 900 may include other peripheral output devices (not shown), such as speakers and printers.

[0104] The computing device 900 is connected to a network 948 (e.g., the Internet) through an adapter or network interface 950, a modem 952, or other means for establishing communications over the network. The modem 952 may be internal or external, and may be connected to the bus 906 via a serial port interface 942, such as a serial bus. Fig. 9 As shown, another interface type, including a parallel interface, may be used to connect to bus 906.

[0105] As used herein, the terms "computer program medium", "computer readable medium" and "computer readable storage medium" are used to refer to physical hardware media, such as a hard disk associated with hard disk drive 914, removable disk 918, removable optical disk 922, other physical hardware media, such as RAM, ROM, flash memory cards, digital video disks, zip disks, MEMs, nanotechnology-based storage devices, and other types of physical / tangible hardware storage media. Such computer readable storage media are different from and do not overlap with communication media (excluding communication media). Communication media are embodied as computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave. The term "modulated data signal" refers to a signal: one or more characteristics of the signal are set or changed in a manner that encodes information in the signal. By way of example and not limitation, communication media include wireless media (such as acoustic, RF, infrared and other wireless media) and wired media. Example embodiments are also directed to such communication media that are separate and non-overlapping from embodiments directed to computer readable storage media.

[0106] As described above, computer programs and modules (including application programs 932 and other programs 934) can be stored on a hard disk, disk, optical disk, ROM, RAM or other hardware storage medium. Such computer programs can also be received via network interface 950, serial port interface 942 or any other interface type. Such computer programs, when executed or loaded by the application programs, enable computing device 900 to implement the features of the example embodiments described herein. Therefore, such computer programs represent the controller of computing device 900.

[0107] Example embodiments are also directed to computer program products including computer codes or instructions stored on any computer readable medium. Such computer program products include hard drives, optical drives, memory device packages, portable memory sticks, memory cards, and other types of physical storage hardware.

[0108] V. Example Embodiments

[0109] A system for generating a table model is described herein. The system includes one or more processors, one or more memory devices, and a storage device for storing a table model, wherein the one or more memory devices store program codes configured to be executed by the one or more processors, the program codes including: an event model generator configured to generate an event model, the event model including multiple events and one or more dependencies between each event; an event recorder configured to map multiple dimensions to each event in the event, and to perform a query to obtain event records related to the event model; a warehouse builder configured to automatically generate a presentation database for the event model; and a table model builder configured to generate a table model using the presentation database.

[0110] In one implementation of the foregoing system, the event recorder is further configured to: parse a query associated with each event to map dimensional metadata to the event, and store the dimensional metadata in a super generalized database.

[0111] In another implementation of the foregoing system, the warehouse builder is configured to: identify dimension metadata from a schema of the super generalized database, and generate a presentation database based in part on the dimension metadata.

[0112] In another implementation of the foregoing system, the warehouse builder is configured to generate a fact table associated with a plurality of dimension tables in a presentation database.

[0113] In another implementation of the foregoing system, the fact table includes metrics defined in a query associated with the event.

[0114] In another implementation of the aforementioned system, the system further includes a dimension mapper configured to derive a dimension attribute name of one of the dimension tables from a column header.

[0115] In another implementation of the foregoing system, the system further includes a graphical user interface (GUI) configured to receive identification of a plurality of events and one or more dependencies between each of the events.

[0116] The present invention discloses a method for generating a table model implemented by one or more computing devices. The method includes: generating an event model, the event model including multiple events and one or more dependencies between each event; mapping multiple dimensions to each event in the event; executing a query to obtain event records related to the event model; generating a presentation database for the event model; and generating a table model using the presentation database.

[0117] In one implementation of the foregoing method, the method further includes: parsing the query associated with each event to map the dimensional metadata to the event; and storing the dimensional metadata in a super generalized database.

[0118] In another implementation of the foregoing method, the method further includes identifying dimension metadata from the schema of the super-generalized database, and generating a presentation database based in part on the dimension metadata.

[0119] In another implementation of the foregoing method, the method further includes generating a fact table associated with a plurality of dimension tables in a presentation database.

[0120] In another implementation of the foregoing method, the fact table includes metrics defined in a query associated with the event.

[0121] In another implementation of the aforementioned method, generating the multiple dimension tables includes deriving a dimension attribute name of one of the dimension tables from a column header.

[0122] In another implementation of the foregoing method, the method further includes receiving, via a graphical user interface (GUI), identification of a plurality of events and one or more dependencies between each of the events.

[0123] The present invention discloses a computer-readable memory having a program code recorded thereon, which, when executed by at least one processor, causes the at least one processor to execute a method, the method comprising: generating an event model, the event model comprising a plurality of events and one or more dependencies between each event; mapping a plurality of dimensions to each event in the event; executing a query to obtain event records related to the event model; generating a presentation database for the event model; and generating a table model using the presentation database.

[0124] In one implementation of the aforementioned computer-readable memory, the method further includes: parsing the query associated with each event to map the dimensional metadata to the event; and storing the dimensional metadata in a super-generalized database.

[0125] In another implementation of the foregoing computer-readable memory, the method further includes identifying dimensional metadata from the schema of the super-generalized database, and generating a presentation database based in part on the dimensional metadata.

[0126] In another implementation of the foregoing computer readable memory, the method further includes generating a fact table associated with the plurality of dimension tables in the presentation database.

[0127] In another implementation of the foregoing computer readable memory, the fact table includes metrics defined in a query associated with the event.

[0128] In another implementation of the aforementioned computer readable memory, generating the plurality of dimension tables includes deriving a dimension attribute name of one of the dimension tables from a column header.

[0129] VI. Conclusion

[0130] Although various embodiments of the present invention have been described above, it should be understood that they are presented by way of example only and not limitation. (Multiple) persons skilled in the relevant art will understand that various changes can be made in form and detail without departing from the spirit and scope of the present invention as defined by the appended claims. Therefore, the breadth and scope of the present invention should not be limited by any of the above exemplary embodiments, but should only be limited according to the appended claims and their equivalents.

Claims

1. A system for generating a table model, the system comprising: one or more processors; One or more memory devices storing program codes configured to be executed by the one or more processors, the program codes comprising: An event model generator configured to generate an event model, wherein the event model includes a plurality of events and one or more dependencies between each event; Event logger, configured as: For each event, decoding dimension metadata by parsing a query associated with the event, the decoded dimension metadata comprising a mapping of a plurality of dimensions to each event in the plurality of events, and encoding a format of a temporary database based on the decoded dimensional metadata; executing each query to retrieve event records associated with the event model, the event records being stored in the temporary database encoded with the format based on the decoded dimensional metadata; a warehouse builder configured to automatically generate a presentation database for the event model based at least on the event records stored in the temporary database; and a table model builder configured to generate a table model using the presentation database; and A storage device is used to store the table model.

2. The system of claim 1, wherein the temporary database comprises a super generalized database.

3. The system of claim 2, wherein the warehouse builder is configured to: identifying the dimensional metadata from a schema of the super generalized database, and The presentation database is generated based in part on the decoded dimensional metadata. 4 . The system of claim 1 , wherein the warehouse builder is configured to generate a fact table associated with a plurality of dimension tables in the presentation database.

5. The system of claim 4, wherein the fact table includes metrics defined in queries associated with events. 6 . The system according to claim 4 , further comprising a dimension mapper configured to derive a dimension attribute name of one of the dimension tables from a column header.

7. The system of claim 1, further comprising a graphical user interface (GUI) configured to receive an identification of the plurality of events and the one or more dependencies between each event.

8. A method for generating a table model implemented by one or more computing devices, the method comprising: generating an event model, wherein the event model includes a plurality of events and one or more dependencies between each event; For each event, decoding dimension metadata by parsing a query associated with the event, the decoded dimension metadata comprising a mapping of a plurality of dimensions to each event in the plurality of events; encoding a format of a temporary database based on the decoded dimensional metadata; executing each query to retrieve event records associated with the event model, the event records being stored in the temporary database encoded with the format based on the decoded dimensional metadata; generating a presentation database for the event model based at least on the event records stored in the temporary database; as well as A tabular model is generated using the presentation database.

9. The method of claim 8, wherein the temporary database comprises a super generalized database.

10. The method according to claim 9, further comprising: identifying the dimensional metadata from a schema of the super generalized database; as well as The presentation database is generated based in part on the decoded dimensional metadata.

11. The method according to claim 8, further comprising: A fact table associated with a plurality of dimension tables in the presentation database is generated.

12. The method of claim 11, wherein the fact table includes metrics defined in queries associated with events. 13 . The method according to claim 11 , wherein generating the plurality of dimension tables comprises deriving a dimension attribute name of one of the dimension tables from a column header.

14. The method according to claim 8, further comprising: An identification of the plurality of events and the one or more dependencies between each event is received via a graphical user interface (GUI).

15. A computer readable memory having computer program code recorded thereon, wherein when the computer program code is executed by at least one processor, the at least one processor is caused to perform a method, the method comprising: generating an event model, wherein the event model includes a plurality of events and one or more dependencies between each event; For each event, decoding dimension metadata by parsing a query associated with the event, the decoded dimension metadata comprising a mapping of a plurality of dimensions to each event in the plurality of events; encoding a format of a temporary database based on the decoded dimensional metadata; executing each query to retrieve event records associated with the event model, the event records being stored in the temporary database encoded with the format based on the decoded dimensional metadata; generating a presentation database for the event model based at least on the event records stored in the temporary database; as well as A tabular model is generated using the presentation database.

16. The computer readable memory of claim 15, wherein the temporary database comprises a super generalized database.

17. The computer readable memory of claim 16, further comprising: identifying the dimensional metadata from a schema of the super generalized database; as well as The presentation database is generated based in part on the decoded dimensional metadata.

18. The computer readable memory of claim 15, further comprising: A fact table associated with a plurality of dimension tables in the presentation database is generated.

19. The computer readable memory of claim 18, wherein the fact table includes metrics defined in queries associated with events.

20. The computer readable memory of claim 18, wherein generating the plurality of dimension tables comprises deriving a dimension attribute name of one of the dimension tables from a column header.