A method, device and electronic device for constructing a data warehouse for financial services
By merging business topics and building indexes on the data tables of the financial business data warehouse, the problem of low performance of the data warehouse in the existing technology is solved, rapid integration and efficient query of data are achieved, and the workload and learning cost of analysts are reduced. .
Patent Information
- Application Number
- CN201910930873.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-09-29
AI Technical Summary
When existing data warehouses process financial business data, data management and query performance are low. Analysts need to understand complex business systems and the relationships between multiple businesses, resulting in heavy workload and high learning costs.
By acquiring multiple source data tables from a database server or database server cluster, merging the data tables according to the business themes of the financial business application, generating multiple merged data tables distinguished by business themes, and providing indexes for these data tables, building Data warehouse.
It achieves rapid and accurate integration and classification of data, reduces the workload of analysts, improves data management and query performance, reduces learning costs, and supports fast access to large tables and indexes.
Smart Images

Figure CN110807016B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer information processing, and in particular to a method, device and electronic equipment for constructing a data warehouse applied to financial business. Background Art
[0002] With the development of e-commerce, the amount of user, commodity, and production-related data generated and accumulated by Internet companies in their daily operations has exploded, and the data structure has also begun to diversify. The data contains more and more information, and companies are paying more and more attention to data-based operations. Data warehouses are used to process data and play a huge role. However, with the advent of the big data era, data warehouses have gradually turned to distributed architectures to meet the explosive growth in computing and storage requirements.
[0003] A data warehouse (DW or DWH) is a strategic collection of all types of data support for decision-making processes at all levels of an enterprise. It is a single data store created for analytical reporting and decision support purposes. It provides guidance for business process improvement, monitoring time, cost, quality, and control for enterprises that require business intelligence. The basic architecture of a data warehouse mainly includes the process of data inflow and outflow, which can be divided into source data, data warehouse, and data application. Specifically, a variety of business data are stored in the data warehouse, and different business data are stored in different business tables.
[0004] In related technologies, ER diagrams are usually made based on business systems. Existing BI (Business Intelligence) analysts need to use ER tables when doing business analysis, which is very inconvenient. In addition, BI analysts directly use data sources (a large number of data tables) to support business applications such as data mining or data analysis. The data granularity is coarse. Since the source data is not integrated and classified, each BI analyst needs to understand the entire system and the relationship between different businesses. The amount of business data is large, which causes a large workload for data warehouse managers. Therefore, the learning cost is high. In addition, calculating a large amount of data is wasteful.
[0005] In summary, there is still much room for improvement in improving data management and query performance. Summary of the invention
[0006] In order to solve the above problems, the present invention provides a method for constructing a data warehouse applied to financial business, the construction method comprising: obtaining multiple source data tables from a database server or a database server cluster, wherein the database server or the database server cluster provides data services for multiple financial business applications; merging the multiple source data tables according to business topics involved in the multiple financial business applications to generate multiple merged data tables distinguished by business topics; providing indexes for each merged data table to construct a data warehouse.
[0007] Preferably, the business topics include events, risk control, transactions, product operations and recommendations.
[0008] Preferably, the merging includes associating corresponding data by using user click ID, event ID, transaction ID or activity ID as an index to form a plurality of merged data tables corresponding to the business topics.
[0009] Preferably, the multiple merged data tables are merged data tables of different dimensions.
[0010] Preferably, the multiple merged data tables are converted to each other through conversion rules.
[0011] Preferably, the merged data table includes indicator data corresponding to the business subject.
[0012] Preferably, the construction method further comprises: performing batch processing and stream processing on the multiple source data tables.
[0013] In addition, the present invention also provides a data warehouse construction device, which includes: a data acquisition module, which acquires multiple source data tables from a database server or a database server cluster, wherein the database server or the database server cluster provides data services for multiple financial business applications; a data processing module, which merges the multiple source data tables according to the business topics involved in the multiple financial business applications to generate multiple merged data tables distinguished by business topics; and a data construction module, which is used to provide indexes for the merged data tables to build a data warehouse.
[0014] Preferably, the business topics include events, risk control, transactions, product operations and recommendations.
[0015] Preferably, the merging includes associating corresponding data by using user click ID, event ID, transaction ID or activity ID as an index to form a plurality of merged data tables corresponding to the business topics.
[0016] Preferably, the multiple merged data tables are merged data tables of different dimensions.
[0017] Preferably, the multiple merged data tables are converted to each other through conversion rules.
[0018] Preferably, the merged data table includes indicator data corresponding to the business subject.
[0019] Preferably, the data processing module includes: performing batch processing and stream processing on the multiple source data tables.
[0020] In addition, the present invention also provides an electronic device, wherein the electronic device includes: a processor; and a memory storing computer executable instructions, wherein the executable instructions, when executed, enable the processor to execute the method for constructing a data warehouse for financial services according to the present invention.
[0021] In addition, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the method for constructing a data warehouse applied to financial business described in the present invention is implemented.
[0022] Beneficial Effects
[0023] Compared with the prior art, the data warehouse of the present invention effectively integrates and classifies the existing data tables in the enterprise according to the business themes involved in multiple financial business applications, and can quickly and accurately provide reports, or quickly access specific information in the database table; the integrated and classified merged data tables make it easier to support large tables and indexes, and also improve data management and query performance; the use of merged data tables corresponding to business themes without the use of ER tables reduces the workload of analysts and reduces learning costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to make the technical problems solved by the present invention, the technical means adopted and the technical effects achieved more clearly, the specific embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, it should be noted that the drawings described below are only drawings of exemplary embodiments of the present invention. For those skilled in the art, drawings of other embodiments can be obtained based on these drawings without creative work.
[0025] Figure 1 It is a flowchart of an example of a method for constructing a data warehouse applied to financial business according to the present invention.
[0026] Figure 2 It is a schematic structural block diagram of an example of the data warehouse of the present invention.
[0027] Figure 3 It is a schematic structural block diagram of another example of the data warehouse of embodiment 1 of the present invention.
[0028] Figure 4 It is a flowchart of another example of the method for constructing a data warehouse applied to financial business according to the first embodiment of the present invention.
[0029] Figure 5 It is a schematic diagram of an example of embodiment 2 of the present invention.
[0030] Figure 6 It is a schematic diagram of another example of Embodiment 2 of the present invention.
[0031] Figure 7 is a structural block diagram of an exemplary embodiment of an electronic device according to the present invention.
[0032] Figure 8 is a block diagram of an exemplary embodiment of a computer-readable medium according to the present invention. DETAILED DESCRIPTION
[0033] Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. However, exemplary embodiments can be implemented in a variety of forms, and should not be construed as limiting the present invention to the embodiments set forth herein. On the contrary, providing these exemplary embodiments enables the present invention to be more comprehensive and complete, and is more convenient for fully conveying the inventive concept to those skilled in the art. The same reference numerals in the figures represent the same or similar elements, components or parts, and thus their repeated description will be omitted.
[0034] Under the premise of being consistent with the technical concept of the present invention, the features, structures, characteristics or other details described in a specific embodiment do not exclude that they can be combined in one or more other embodiments in a suitable manner.
[0035] In the description of specific embodiments, the features, structures, characteristics or other details described in the present invention are intended to enable those skilled in the art to fully understand the embodiments. However, it does not exclude that those skilled in the art can practice the technical solutions of the present invention without one or more of the specific features, structures, characteristics or other details.
[0036] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0037] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0038] It should be understood that although the terms "first", "second", "third", etc. may be used herein to describe various devices, elements, components or parts, this should not be limited by these terms. These terms are used to distinguish one from another. For example, a first device may also be called a second device without departing from the essential technical solution of the present invention.
[0039] The term "and / or" or "and / or" includes any one and all combinations of one or more of the associated listed items.
[0040] Example 1
[0041] Next, we will refer to Figures 1 to 4 The data warehouse construction method and construction device of the present invention are described.
[0042] Figure 1 FIG. 1 is a schematic diagram of the process of the method for constructing a data warehouse for financial services of the present invention. Figure 1 As shown, the method for constructing a data warehouse of the present invention includes:
[0043] Step S101, obtaining multiple data tables from a database server or a database server cluster, wherein the database server or the database server cluster provides data services for multiple financial business applications;
[0044] Step S102, merging the multiple source data tables according to the business themes involved in the multiple financial business applications to generate multiple merged data tables distinguished by business themes;
[0045] Step S103, providing indexes for the merged data tables and building a data warehouse.
[0046] Next, the data warehouse construction method of the present invention will be described by taking a loan business system as an example.
[0047] In step S101, multiple data tables are obtained from a database server or a database server cluster, where the database server or the database server cluster provides data services for multiple financial business applications. Figure 1 As shown, business products such as loan products, loan navigation, insurance products, and financial products will generate a large number of data tables in the database server or database server cluster. In this embodiment, there are approximately 1,000 data tables. These 1,000 data tables provide data support for financial business applications such as data analysis and data mining.
[0048] It should be noted that, in the present invention, the above 1000 data tables are used as source data tables, and the source data tables include raw data that has not been processed and / or data that has been processed. In addition, these data tables are stored in one or more databases.
[0049] Specifically, the data contained in the source data table includes business data and user behavior data.
[0050] Among them, business data refers to data related to transactions, state flow, users, etc. generated in the business process, which are usually stored in DB, rdbms, nosql, etc. This part of data is related to the business. The specific data that needs to be retained is generally designed by the business side. There is no need to pay too much attention to it, and it can be collected according to actual needs.
[0051] In addition, user behavior data is the data generated when users interact with the product during the process of using the product, such as page views, clicks, and stays.
[0052] In this embodiment, the source data tables are uniformly processed to standardize the data in the source data tables, thereby forming multiple data tables for classification and merging. Preferably, the data in the source data tables are standardized by data processing such as batch processing or stream processing.
[0053] Next, step S102 will be described. In step S102, multiple source data tables are merged according to business themes involved in multiple financial business applications to generate multiple merged data tables distinguished by business themes. Therefore, the merged data tables corresponding to the business themes are used instead of the ER tables, which reduces the workload of analysts and reduces the learning cost.
[0054] Preferably, each business product is divided into multiple business themes based on the business process or user life cycle. Specifically, in this embodiment, the business themes include events, risk control, transactions, product operations and recommendations. Figure 2 and Figure 3 For example, events include quota iteration, page clicks, etc.; risk control includes risk control of capital items, etc.; transactions include repayments, withdrawals, etc.; recommendations include SMS sales, telephone sales, etc.
[0055] However, it should be noted that the present invention is not limited to the specific division of business themes. In different implementations, the present invention can divide specific business themes according to the division of labor of the enterprise business and the relevance of the data used in the business. The purpose of the division is to enable business personnel to intuitively access the data table from the perspective of understanding the business itself, without the interference of too many non-business factors.
[0056] Next, step S103 will be described. In step S103, indexes are provided for each merged data table to construct a data warehouse.
[0057] like Figure 2 As shown, in this embodiment, the merging is to associate corresponding data (i.e., data corresponding to different business themes) with user click ID, event ID, transaction ID or activity ID as indexes to form multiple merged data tables. In other embodiments of the present invention, any data that can be connected in series with the same business theme can be used as an index, and the present invention is not limited to the selection of specific index data.
[0058] In this embodiment, there are 30 merged data tables, which are generally wide tables. It should be noted that in a relational database, an index is a separate, physical storage structure that sorts the values of one or more columns in a database table. The role of an index is equivalent to a book catalog. Using an index, specific information in a database table can be quickly accessed.
[0059] The following describes the merged data table using transactions in the business topic as an example.
[0060] In this embodiment, the multiple merged data tables are merged data tables of different dimensions. More specifically, for example, the merged data tables of different dimensions are obtained by performing dimensionality increase or dimensionality decrease processing on the data in the source data table, or by not performing dimensionality increase or decrease processing on the data in the source data table.
[0061] In addition, data in multiple merged data tables related to each business topic can be converted to each other through conversion rules, such as by dimensionality reduction or dimensionality increase.
[0062] In this embodiment, the categories of the multiple merged data tables include at least one of a first data table, a second data table for dimensional modeling, a third data table related to business reports, and a fourth data table of data indicators applied to financial business.
[0063] Specifically, for example, the first data table (Dwb) is a data table including a large amount of indicator data. The second data table (Dw) is a data table including dimension values (such as age, gender, etc.) and attribute values (such as number of transactions, transaction amount, etc.). The third data table (Ads) is a data table in the database divided by the main business line, for example, a data table including loan balances, etc. The fourth data table (St) is a data table including a whitelist, a VIP list, etc.
[0064] Furthermore, the merged data table includes indicator data corresponding to the business subject, and the indicator data is associated with the target query information.
[0065] Store multiple merged data tables in the database corresponding to the business subject.
[0066] Thus, the data warehouse of the present invention is constructed.
[0067] In other embodiments, S103 may be split into two steps (S103 and S104), and the recording process of the indicator data may be added, specifically including recording the data correspondence relationship of the indicator data from the source data table to the merged data table, thereby constructing a data warehouse, for details, see Figure 4 .
[0068] It should be noted that the above construction method process is only used to illustrate the present invention, wherein the order of the steps is not particularly limited.
[0069] Compared with the prior art, since the data warehouse of the present invention effectively integrates and classifies the existing data in the enterprise, it can provide reports quickly and accurately, or quickly access specific information in the database table. The integrated and classified merged data tables make it easier to support large tables and indexes, while also improving data management and query performance; using merged data tables corresponding to business topics without the need for ER tables reduces the workload of analysts and reduces learning costs.
[0070] It should be noted that the above are only preferred embodiments and should not be construed as limiting the present invention. In other embodiments, the user risk control model may also be used to calculate the user's risk level, or as a prediction module in other risk prediction models.
[0071] Those skilled in the art will appreciate that all or part of the steps to implement the above embodiments are implemented as a program (computer program) executed by a computer data processing device. When the computer program is executed, the above method provided by the present invention can be implemented. Moreover, the computer program can be stored in a computer-readable storage medium, which can be a readable storage medium such as a disk, an optical disk, a ROM, a RAM, or a storage array composed of multiple storage media, such as a disk or a tape storage array. The storage medium is not limited to centralized storage, and it can also be distributed storage, such as cloud storage based on cloud computing.
[0072] The following describes an embodiment of the data warehouse construction device of the present invention, which can be used to execute the method embodiment of the present invention. The details described in the device embodiment of the present invention should be regarded as supplementary to the above method embodiment; the details not disclosed in the device embodiment of the present invention can be implemented with reference to the above method embodiment.
[0073] Example 2
[0074] Reference Figure 5The present invention also provides a data warehouse construction device 500, which includes a data acquisition module 501, a data processing module and a data construction module 503.
[0075] In this embodiment, the data acquisition module 501 is used to acquire multiple source data tables from a database server or a database server cluster, wherein the database server or the database server cluster provides data services for multiple financial business applications.
[0076] Specifically, the data processing module 502 merges the multiple source data tables according to the business themes involved in the multiple financial business applications to generate multiple merged data tables distinguished by business themes. The data processing module includes one or more processing modules. In this embodiment, there is one data processing module 502, and in other embodiments, there may be two or more data processing modules, such as a first processing module and a second processing module, which can be determined according to actual needs.
[0077] Furthermore, the data construction module 503 is used to provide indexes for the merged data tables and construct a data warehouse.
[0078] Preferably, the business topics include events, risk control, transactions, product operations and recommendations.
[0079] Preferably, the merging includes associating corresponding data by using user click ID, event ID, transaction ID or activity ID as an index to form a plurality of merged data tables corresponding to the business topics.
[0080] Preferably, the multiple merged data tables are merged data tables of different dimensions.
[0081] Preferably, the multiple merged data tables are converted to each other through conversion rules.
[0082] Preferably, the merged data table includes indicator data corresponding to the business subject.
[0083] Preferably, the data processing module includes: performing batch processing and stream processing on the multiple source data tables.
[0084] It should be noted that, in Example 2, descriptions of the same parts as in Example 1 are omitted.
[0085] In other embodiments, Figure 6 As shown, the data warehouse construction device 500 further includes a data query module 504, which is used to query the required merged data tables in the data warehouse.
[0086] Those skilled in the art will appreciate that the modules in the above device embodiments may be distributed in the device as described, or may be changed accordingly and distributed in one or more devices different from the above embodiments. The modules in the above embodiments may be combined into one module, or may be further split into multiple submodules.
[0087] Example 3
[0088] The following describes an electronic device embodiment of the present invention, which can be regarded as a specific physical implementation of the method and device embodiments of the present invention. The details described in the electronic device embodiment of the present invention should be regarded as a supplement to the above method or device embodiments; details not disclosed in the electronic device embodiment of the present invention can be implemented with reference to the above method or device embodiments.
[0089] Figure 7 1 is a block diagram of an exemplary embodiment of an electronic device according to the present invention. Figure 7 The electronic device 200 according to this embodiment of the present invention is described. Figure 7 The electronic device 200 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0090] like Figure 7 As shown, the electronic device 200 is in the form of a general computing device. The components of the electronic device 200 may include, but are not limited to: at least one processing unit 210, at least one storage unit 220, a bus 230 connecting different system components (including the storage unit 220 and the processing unit 210), a display unit 240, etc.
[0091] The storage unit stores program codes, which can be executed by the processing unit 210, so that the processing unit 210 executes the steps according to various exemplary embodiments of the present invention described in the electronic prescription circulation processing method section of this specification. For example, the processing unit 210 can execute the following steps: Figure 1 Steps shown.
[0092] The storage unit 220 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 2201 and / or a cache memory unit 2202 , and may further include a read-only memory unit (ROM) 2203 .
[0093] The storage unit 220 may also include a program / utility 2204 having a set (at least one) of program modules 2205, such program modules 2205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0094] Bus 230 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0095] The electronic device 200 may also communicate with one or more external devices 300 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 200, and / or communicate with any device that enables the electronic device 200 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 250. Furthermore, the electronic device 200 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 260. The network adapter 260 may communicate with other modules of the electronic device 200 via the bus 230. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0096] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the exemplary embodiments described in the present invention can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation method of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the present invention. When the computer program is executed by a data processing device, the computer-readable medium can implement the above method of the present invention, that is: use the APP download sequence vector data and overdue information of historical users as training data, train the created user risk control model, and use the created user risk control model to calculate the financial risk prediction value of the target user.
[0097] like Figure 8As shown, the computer program can be stored on one or more computer readable media. The computer readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0098] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0099] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0100] In summary, the present invention can be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that general data processing devices such as microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0101] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the present invention is not inherently related to any specific computer, virtual device or electronic device, and various general devices can also implement the present invention. The above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for constructing a data warehouse, characterized in that: include: Acquire multiple source data tables from a database server or a database server cluster, wherein the database server or the database server cluster provides data services for multiple applications and generates a large number of source data tables that provide data support for data analysis and mining; each source data table contains business data and user behavior data; Performing batch processing and stream processing on the plurality of source data tables to standardize the data in the source data tables; Based on the business process, or user life cycle, or the enterprise business division of labor and the relevance of the data used in the business, each business product is divided into multiple business themes to intuitively access the data table from the business itself, and the multiple source data tables with standardized data are merged according to the business themes involved in the multiple applications to generate multiple merged data tables distinguished by business themes without the need for ER tables; Provide an index for each of the merged data tables, store multiple merged data tables in a database corresponding to the business subject, and record the data correspondence between the source data table and the merged data table to build a data warehouse, wherein the merging includes associating corresponding data with user click ID, event ID, transaction ID or activity ID as an index, determining data corresponding to different business subjects, and connecting data of the same business subject in series to form multiple merged data tables corresponding to the business subjects; wherein the multiple merged data tables are merged data tables of different dimensions obtained by performing dimensionality up- or down-dimensioning processing on the data in the source data table; the categories of the integrated and classified merged data tables include: at least one of a first data table with a large amount of indicator data, a second data table with latitude values and attribute values for dimensional modeling, a third data table related to business reports divided by business main lines, and a fourth data table of data indicators applied to the business; and, record the indicator data and record the correspondence between the indicator data from the source data table and the merged data table.
2. The method according to claim 1, characterized in that The business topics include events, risk control, transactions, product operations and recommendations.
3. The method according to claim 1, characterized in that Also includes: The merged data tables are mutually converted through conversion rules of dimensionality reduction processing or dimensionality increase processing.
4. The method according to claim 1, characterized in that: The merged data table includes indicator data corresponding to the business subject, and the indicator data is associated with the target query information.
5. A device for constructing a data warehouse, characterized in that: include: A data acquisition module acquires multiple source data tables from a database server or a database server cluster, wherein the database server or the database server cluster provides data services for multiple applications and generates a large number of source data tables that provide data support for data analysis and mining; each source data table contains business data and user behavior data; A data processing module performs batch processing and stream processing on the plurality of source data tables to standardize the data in the source data tables; based on business processes, or user life cycles, or enterprise business division of labor and the relevance of data used in the business, each business product is divided into a plurality of business themes so as to intuitively access the data table from the business itself as a starting point, and, according to the business themes involved in the plurality of applications, the plurality of source data tables with standardized data are merged to generate a plurality of merged data tables distinguished by business themes without the need for ER tables; and A data construction module provides an index for each of the merged data tables, stores multiple merged data tables in a database corresponding to the business subject, and records the data correspondence between the source data table and the merged data table to build a data warehouse, wherein the merging includes associating the corresponding data with a user click ID, event ID, transaction ID or activity ID as an index, determining the data corresponding to different business subjects, and connecting the data of the same business subject in series to form multiple merged data tables corresponding to the business subjects; wherein the multiple merged data tables are merged data tables of different dimensions obtained by performing dimensionality up- or down-dimensioning processing on the data in the source data table; the categories of the integrated and classified merged data tables include: a first data table with a large amount of indicator data, a second data table with latitude values and attribute values for dimensional modeling, a third data table related to the business report divided by the business main line, and at least one of the fourth data tables of data indicators applied to the business; and, recording the indicator data and recording the correspondence between the indicator data from the source data table to the merged data table.
6. The device according to claim 5, characterized in that The business topics include events, risk control, transactions, product operations and recommendations.
7. The device according to claim 5, characterized in that Also includes: The multiple merged data tables are converted to each other through conversion rules of dimensionality reduction processing or dimensionality increase processing.
8. The device according to claim 7, characterized in that The merged data table includes indicator data corresponding to the business subject, and the indicator data is associated with the target query information.
9. An electronic device, wherein: The electronic device includes: processor; and, A memory storing computer executable instructions which, when executed, cause the processor to perform the method according to any one of claims 1-4.
10. A computer-readable storage medium, wherein: The computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the method of any one of claims 1 to 4 is implemented.
