The present invention generally relates to electronic data processing. More particularly, the invention relates to computer-implemented methods, computer systems and computer program products for automated generic and/or parallel aggregation of characteristics and key figures of mass data associated with, for example, financial institutions and with financial affairs in banking practice.
As international financial markets expand, global concerns over the soundness of banking practices are driving stringent new requirements for bank-level management, regulatory control, and market disclosure.
Data processing systems in banking are provided with software tools, for example, SAP proprietary software tool solutions in banking such as the SAP solution for the new Basel Capital Accord (Basel II) that builds on the proven capabilities of the SAP for Banking solution portfolio, that enable financial entities and other users to pursue these requirements.
The SAP solution for the new Basel Capital Accord (Basel II) represents a risk-sensitive framework that provides capabilities for calculating risk exposure and capital, for managing market risk, interest risk, or liquidity risk, and for calculating and managing all areas of credit risk, helping to facilitate the handling of mass data, particularly being of specific economic interest and associated with financial institutions and with financial affairs in banking practice.
Moreover, software tool solutions for banking systems including capabilities for computing descriptive statistics are needed to efficiently analyze large amounts of given data (mass data) while managing large and complex projects. Within that scope, mass data are often required to be aggregated according to a customer defined granularity. Accordingly, aggregations can be computed for characteristics (lexicographic min, max) and key figures (min, max, count, sum, avg, variance, std, var %) using prior art software tool solutions.
However, there still remains the need to improve the computing power of software and software performance (i.e., run time performance), respectively and, in particular, when it comes to large amounts of data (mass data) to be aggregated effectively that can not be handled in the main memory of a data processor.
Embodiments consistent with the present invention meet the above-identified needs by providing, for example, computer-implemented methods for automated generic and parallel aggregation of characteristics and key figures of mass data, particularly associated with banking practice, that can be easily integrated into existing credit risk platforms such as, for example, the above mentioned SAP solution for Basel II.
Embodiments of the present invention also relate to computer systems and computer program products for automated generic and parallel aggregation of characteristics and key figures of mass data. Further, embodiments of the invention relate to data carriers readable by a computer, the data carrier storing a plurality of instructions implemented by a computer program for causing the processing means of a computer system to execute computer-implemented methods and/or other embodiments of the present invention.
Moreover, an embodiment of the present invention provides a computer-implemented method for automated generic and parallel aggregation of characteristics and key figures of mass data associated with banking practice, that are not assumed to be a priori sorted in respect to a free selectable granularity before applying the computer-implemented method.
An embodiment of the present invention also provides a computer-implemented method that can optionally perform the automated generic aggregation of data either in linear or in parallel processing mode, thereby noticeably improving the computing power of software, as preferably in the case of mass data, depending on the capacity utilization of a data processing system.
In accordance with the invention as embodied and broadly described herein, a computer-implemented method may be provided for automated generic and parallel aggregation of characteristics and key figures of mass data whose structure is unknown, particularly associated with financial institutions and with financial affairs in banking practice, provided by different databases of different data sources. The inventive method may reduce the amount of data to a customer defined granularity by computing aggregations on key figures within the scope of an iterative process, repeatedly processing a parallel aggregation algorithm including parallel processing steps for merging, reorganizing, sorting and aggregating data records.
In one embodiment of the present invention, the aggregation may be computed on predetermined key figures using predetermined aggregation operations selected from a function pool and/or customer defined aggregation operations may be defined by input means using the predetermined aggregation operations.
In another embodiment of the invention, the aggregation is computed on customer defined key figures to be defined by input means using the predetermined aggregation operations selected from a function pool and using the predetermined aggregation operations and/or said customer defined aggregation operations.
In yet another embodiment of the invention, the aggregation algorithm can run in parallel processing mode for mass data, thereby noticeably improving the computing power of software, but if required, depending on the capacity utilization of a data processing system, the processing of the aggregation algorithm can optionally run in linear processing mode.
According to another embodiment of the invention, the aggregation algorithm of the present invention can easily be integrated into other processes, e.g., as a pre-processing before a data extraction of business area information to a business information warehouse of a company, thereby separating the results of already aggregated mass data for the purpose of visualizing data of specific economic interest.
According to still another embodiment of the present invention, the aggregation algorithm can be applied to prior art software solutions in the context of an ad hoc reporting for descriptive statistics.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate several embodiments of the invention and together with the description, serve to explain the principles of the invention. In the drawings:
a illustrates an example of use for raw data, showing a work list of M=12 data records associated with financial institutions and with financial affairs in banking practice;
b illustrates an example of granularity characteristics/granularity levels i of granularity characteristics;
Reference will now be made in detail to the present invention, examples of which are illustrated in the accompanying drawings in which like reference numbers refer to corresponding elements.
The present invention does not only relate to computer-implemented methods for automated generic and parallel aggregation of characteristics and key figures of unsorted mass data associated with financial institutions and with financial affairs, but also to data processing systems, computer program products that can be stored on a computer readable data carrier, and data carriers.
Data processing systems (computer systems) consistent with embodiments of the invention may comprise a single data processor or a plurality of data processors via inter-computer network, each data processor including processing means (processor), storage means (memory), bus means (bus), network means (network), interface means, input means and output means (input and output devices). The computer system may also be simply a server.
The data processor is, for example, a conventional desktop computer, a multiprocessor computer, or the like. The processor is, for example, a Central Processing Unit (CPU), a Micro Controller Unit (MCU), Digital Signal Processor (DSP), or the like.
Storage means are in particular provided for storing the specified mass data. Storage means symbolizes any memory means for temporarily or permanently storing data and instructions. Although memory is conveniently illustrated as part of computer, memory function may also be implemented in network, in computers and in processor itself, e.g. cache, register, or elsewhere. Memory can be, for example, a Read Only Memory (ROM), Random Access Memory (RAM), or a memory with other access options. Memory is physically implemented by computer-readable media, for example: (a) magnetic media, such as hard disk, floppy disk or other magnetic disk, tape or cassette tape; (b) optical media, such as optical disk (CD-ROM, DVD); (c) semiconductor media, like DRAM, SRAM, EPROM, EEPROM, or the like.
Memory means may further store support modules, for example, a Basic Input Output System (BIOS), an Operating system (OS), a program library, a compiler or interpreter, and a text processing tool.
Input means symbolizes any device for providing data and instructions for processing by computer, for example, a keyboard or pointing device such as a mouse, trackball or cursor direction key.
Output means symbolizes any device for presenting results of aggregated data packages, for example, a monitor or a display, for example, a Cathode Ray Tube (CRT), Flat Panel Display, Liquid Crystal Display (LCD), or printer.
Bus and network provide logical and physical connections by conveying data and instruction signals. While connections inside computer are conveniently referred to as “bus”, connections between computers are referred to as “inter-computer network”. Optionally, network comprises gateways being devices (computers) that specialize in data transmission and protocol conversion, allowing users working in one network to access another network.
Networking environments (as network) are commonplace in offices, enterprise-wide computer networks, intranets and the internet (i.e. world wide web). Network can be a wired or wireless network. To name a few network implementations, network is, for example, a local area network (LAN), a wide area network (WAN), a public switched telephone network (PSTN), an Integrated Services Network (ISDN), an infra-red (IR) link, a radio link, like Universal Mobile Tele-communications System (UMTS), Global System for Mobile Communication (GSM), Code Division Multiple Access (CDMA), or satellite link.
Transmission protocols and data formats are known as, for example, transmission control protocol/internet protocol (TCP/IP), hyper text transfer protocol (HTTP), secure HTTP, wireless application protocol, unique resource locator (URL), unique resource identifier (URI), hyper text markup language HTML, extensible markup language XML, extensible hyper text markup language XHTML, wireless application markup language (WML), etc.
Interface means (interfaces) for linking together the data processing units of a data processing system are well known in the art. An interface can be, for example, a serial port interface, a parallel port interface, a universal serial bus (USB) interface, an internal or external modem.
Computer program products consistent with embodiments of the invention may comprise a plurality of instructions for causing the processing means of a computer system to execute the method steps of the invention specified hereinafter with more detail. In other words, computer program product defines the operation of computer and its interaction in inter-computer network. For example, a computer program product may be available as source code in any programming language, and as object code (binary code) in a compiled form. Persons skilled in the art can use computer program products in connection with any of support modules (e.g. compiler, interpreter, operating system). The computer program products may be stored in memory hereinafter referred to as data carrier.
For the communication between computer program products and computers, data carriers may be conveniently inserted into an input device. A data carrier may be implemented as any computer readable medium. Generally, a data carrier is an article of manufacture comprising a computer readable medium having readable program code means embodied therein for executing the method steps of the present invention. Furthermore, program signals can also embody computer programs. Program signals may be transmitted via inter-computer network(s) to a data processor.
In step 10, the computer-implemented method begins with a selection of investigated mass data (“input data”) including said plurality of M data records to be aggregated, said mass data being provided by different accessible primary databases of different accessible data sources. Having finished the selection of mass data due to selection criteria, the variously selected blocks of packetized mass data are assigned among each other and the result of assignment is stored to a global database.
Thereupon, some customizing of the selected mass data is required for defining granularity characteristics and aggregation operations to be carried out by the processing means of a data processing system for computing fields of key figures.
Moreover, the selected mass data are prepared as data packages according to a customer defined package size including Mp<M data records in a pre-processing step before reading said mass data into the processing means of a data processing system.
In step 20, the packaged data can be additionally enriched in a parallel pre-processing with data from an accessible single secondary database or from accessible secondary databases, subsequently saving the results of enrichment to those local databases of the respective data processors where the data are to be processed.
Subsequent to the packaging, the data packages are read into the data processing means of a data processing system to be processed within jobs, each of the jobs including a plurality of data packages.
A job or a plurality of jobs can be processed in a parallel processing mode either using a single data processor or a network of data processors.
Up to this point, there is not identified one granularity level i corresponding to i=0. By assigning the data packages to the parallel aggregation algorithm 30, a first parallel processing begins with step 40, wherein at first said customized granularity characteristics are identified so as to obtain levels i of granularity characteristics. Having identified said granularity characteristics within said data packages, thereby accomplishing the criterion i>0, the records of each data package are sorted for a given order of said granularity characteristics, and subsequently aggregated for said key figures by using customized aggregation operations, thereby reducing the amount of records in said data packages to Na<Mp (smaller than the maximum size Mp). Following the aggregation, the results of each aggregated data package are saved to those local databases of the respective data processors where the data are processed. Thereupon, the aggregated packages are split into several smaller sub packages including Nsp data records and the size (number of records) and the first and the last record of each sub data package is stored to a global result database. Hereafter, the identification of adjacent packages based on these small sub data packages is executed by checking the termination criterion for the loop i=i+1 (“not in parallel”) being:
if keypos1,xε(keypos1,y;keyposmax:y) then continue else terminate,
wherein pos1 illustrates the first position of a data package, posmax illustrates the last position of a data package, and x, y illustrates the number of a data package, thereby comparing the key of the first record of each data package with the first and the last record of all the rest of data packages (thus comparing all combinations x, y). If said criterion for terminating the loop i=i+1 is not accomplished, meaning that the conditional inquiry is true, the data packages are assigned for rebuilding new data packages.
The underlying idea of splitting aggregated data packages into sub data packages is to improve the expressiveness of key information, and thereby to improve the identification of adjacent data packages based on their respective key information. Since only the data package size and the key information of the first and the last record of each data package are stored to a global database while all other data records are not considered, the following interests working in opposite directions must be kept in mind. While large package sizes are ideal for aggregation, the key information of the first and the last record of each large data package is not representative for all the rest of data records within said data package. On the other hand, if the data packages are very small, then the first and last record of each data package is more or less representative for all the rest of data records. But by reducing package sizes, the efficiency of aggregation diminishes due to the fact that there is not much to aggregate in small data packages.
Thus, the point is to meet the above-identified two interests working in opposite direction by approaching an efficient compromise of performance allowing to aggregate relatively large data package sizes, and subsequently split the aggregated data packages into smaller sub packages for the purpose of identifying adjacent sub data packages.
The relation of the maximum data package size Mp and the size of sub data packages Nsp depends on the degree of fragmentation and the degree of aggregation of the unsorted input data.
The effect of this approach of splitting aggregated data packages into sub data packages becomes the more important the less sorted the input data are, and the lower the degree of aggregation is, or in other words, the lower the reduction of the number of data records is.
In step 50, the aggregated packages may be assigned to a second parallel processing of the aggregation algorithm 30 for merging adjacent packages, thereby rebuilding new data packages, wherein adjacent packages are those packages with keys of the first record which are closest together. By merging these small data packages the maximum allowed package size Mp is restored again. Hereupon, the new data packages (merged packages) are stored to local databases of the respective data processors where the data are processed. Subsequently, the new data packages are assigned again to the above mentioned first parallel processing for reorganizing and sorting, and thereafter aggregating said new data packages for key figures by using said customized aggregation operations.
After each loop cycle, the conditional inquiry for terminating the loop i=i+1 is checked for all combinations (x, y) anew, repeatedly executing the loop i=i+1 while the termination criterion is not accomplished, meaning that the conditional inquiry is true, else; after accomplishing said criterion, i.e., all the data packages are disjoint with regard to the granularity characteristics, terminating the loop.
Finally, the packaged data can be additionally enriched in a parallel post-processing step 60 with data from an accessible secondary database or from accessible secondary databases, subsequently saving the results of data packages to a global result database.
By entering the loop 85, the records are assigned to the approach for sequentially aggregating the unique granularity levels i using predetermined and customized aggregation operations. Beginning with the first granularity level i=1 in step 80, the level i=1 is compared with the maximum level n inquiring the condition being (i>n?) in step 90. As long as the condition (i>n?) is not accomplished, meaning that the conditional inquiry is false, and thus i having a value less than or equal n, in method step 100, the records of the data package tab(i) corresponding to the appropriate granularity level i=1 are aggregated for a specific key figure Xj by using predetermined aggregation operations (operator j), thereby entering an internal loop 95.
Subsequently, in step 110, the aggregated key figure Xj is moved to the structure str1. Thereafter, in step 120, it is inquired if the aggregation of data records for key figures in respect to the appropriate granularity level i=1 is completed. If the conditional inquiry is not accomplished, the records of the data package corresponding to level i=1 are assigned again to a subsequent aggregation in respect to another key figure using another operation, repeatedly executing this approach of aggregation steps until all selected aggregation operations are conducted, else, leaving the internal loop 95.
In step 130, customer defined aggregation operations can be applied using, for example, an SAP-BAdl aggregation technique (commercially available form SAP AG Walldorf, Germany), subsequently saving the results to the structure str1, wherein previous results may be changed. Thereupon, having completed the aggregation algorithm for the appropriate level i=1, the structure str1 is appended to the summary table itab. This approach for executing the loop 85 is to be applied to all remaining granularity levels i up to and including the maximum number of i (i=2, 3, 4 . . . n).
By accomplishing said criterion in step 90 for leaving the loop 85 being (i>n?), in step 150, a global administration table is filled with itab-information. Finally, in step 160, the summary table referred to as itab is saved to a local database.
a illustrates an example of use for raw data showing a work list including M=12 records associated with, for instance, financial institutions and with financial affairs in banking practice to be applied to the parallel aggregation algorithm 30 of
Furthermore, the records are sorted according to a given order of granularity characteristics as set out in
The granularity fields including granularity characteristics are characterized by “rating method” and “rating segment”. The fields of key figures are characterized by the columns “financial statement key FIG. 1” and “financial statement key FIG. 2”.
The data package size is determined through customizing. Contrary to the preceding statement that large data package sizes are ideal for aggregation, whereas small data package sizes are ideal for reorganization, in this example of use only one single package size can be determined, meaning that the data package size Mp for aggregation is identical to the sub data package size Nsp for reorganization. Therefore, in this example of use a less efficient compromise of performance has to be chosen to meet said opposite demands. The customized package size is determined by Mp=4 corresponding to the maximum number of granularity levels i, as it is shown in the table of
In step 200 (see, e.g., Table 2 below and
Furthermore, for the exemplification of the parallel aggregation algorithm as illustrated in the example of
In step 210 (see, e.g.,
Subsequently, the data records within all of the three data packages are sorted according to the given order as set out in the table of
As illustrated in Table 3, the first two rows of data package 1 and data package 2 appear to have identical granularity characteristics. In data package 3, the last two rows include identical granularity characteristics.
Thereafter, these rows are aggregated for the key figures (Xj) characterized through “financial statement key FIG. 1” and “financial statement key FIG. 2” by applying appropriate aggregation operations (operators j) to the respective key figures, wherein said aggregation operations being predetermined or customized aggregation operations. In this case the matches are added up in respect to key
Thereupon, in step 220 (see, e.g.,
if keypos1,xε(keypos1,y;keyposmax:y) then continue else terminate,
wherein pos1 illustrates the first position of a data package, posmax illustrates the last position of a data package, and x, y illustrates the number of a data package, thereby comparing the key of the first record of each data package with the key of the first and the last record of all the rest of data packages (thus comparing all combinations x, y). If said criterion is not accomplished, meaning that the conditional inquiry is true, the data packages are assigned for rebuilding new data packages.
Beginning with the key of the first record of data package 1, the comparison of data package 1 and data package 2 results in that the key of the first record of data package 1 is equal to the key of the first record of data package 2. As a result, interpreting the conditional inquiry for the loop, the key of the first record of data package 1 is an element of the amount of data in data package 2, or furthermore interpreted, data package 1 and data package 2 intersect, and thus they are identified as adjacent packages. Consequently, as the termination criterion for the loop is not accomplished, data package 1 and data package 2 are assigned for rebuilding a new data package 1. Since data package 1 and data package 2, respectively, include 3 records, the data package size of the new data package 1 including Mm=6 records exceeds the maximum package size of Mp=4, which is acceptable. The data package 3 remains unmodified.
In step 230 (see, e.g.,
Thereupon, the aggregation for the key figures using the predetermined aggregation operations is conducted anew, wherein as a result, the size of the new data package 1 decreases from Mm=6 to Na=4 according to the customer defined granularity as illustrated in
In step 240 (see, e.g.,
In step 250 (see, e.g.,
Thereupon, the aggregation for said key figures using said predetermined aggregation operations is conducted just once more by assigning said data records to the first parallel process illustrated by method step 40 of
By checking the termination criterion for the loop i=i+1 once again in step 260 (“not in parallel”), the aggregation algorithm 30 of
The granularity fields including granularity characteristics are characterized by “rating method” and “rating segment”. The fields of key figures are characterized by the columns “financial statement key FIG. 1” and “financial statement key FIG. 2”.
The data package size is determined through customizing. According to the statement that large data package sizes are ideal for aggregating, whereas small data package seizes are ideal for reorganizing, in this example of use the data package size (Mp) for aggregating is determined relatively great with Mp=8 and the sub data package size (Nsp) is determined relatively low with Nsp=3, thereby complying with the interests working in opposite direction.
In step 200 (see, e.g.,
In analogy to the preceding example of use in
In step 210 (see. e.g.,
By sequentially comparing the customer defined granularity characteristics shown in the table of
Subsequently, both of the data packages are sorted according to the given order as set out in the table of the preceding example of
Subsequently, the rows of data package 1 are aggregated for the key figures (Xj) characterized through “financial statement key FIG. 1” and “financial statement key FIG. 2” by applying appropriate aggregation operations (operators j) to the respective key figures, wherein said aggregation operations being predetermined or customized aggregation operations. In this case the matches are added up in respect to key
Thereafter, the data packages are split into sub data packages and then the sub data packages are saved in a database. Since the sub data package size (Nsp) is determined by Nsp=3, each of the two remaining data packages including 4 data records is split in two sub data packages, wherein each of the sub data packages 1 and 3 includes 3 data records, and each of the sub data packages 2 and 4 corresponding to the rest of data package 1 and data package 2, respectively, only includes 1 data record. The outcome of this splitting of data packages into sub data packages is illustrated below in Table 12.
Thereupon, in step 220 (see, e.g.,
if keypos1,xε(keypos1,y;keyposmax:y) then continue else terminate,
wherein pos1 illustrates the first position of a data package, posmax illustrates the last position of a data package, and x, y illustrates the number of a data package, thereby comparing the key of the first record of each data package with the key of the first and the last record of all the rest of data packages (thus comparing all combinations x, y). If said criterion is not accomplished, meaning that the conditional inquiry is true, the data packages are assigned for rebuilding new data packages.
Beginning with the key of the first record of data package 1, the comparison of data package 1 and data package 2 results in that the key of the first record of data package 1 is less than the key of the single record of data package 2. As a result, interpreting the conditional inquiry for the loop i=i+1, data package 1 and data package 2 do not intersect. Accordingly, data package 1 and data package 4 do not intersect. In contrast, data package 1 and data package 3 appear to intersect, since the key of the first record of data package 2 is greater than the key of the first record of data package 1 and less than the key of the last record of data package 1, meaning that the key of the first record of data package 2 is an element of the amount of data records in data package 1. Thus, they are identified as adjacent data packages. Further, the keys of data package 2 and 4 are identical, and thus both packages are not disjoint. Accordingly, they are identified as adjacent data packages, too. Thereupon, the data packages identified as adjacent are assigned for rebuilding new data packages.
Since data package 1 and data package 2, respectively, only include 3 records, the data package size of the new data package 1 including 6 records is still less than the determined package size of Mp=8. The data package size of the new data package 2 includes 1+1=2 data records. In order to restore the original package size of Mp=8, the new data package 2 is additionally added to the new data package 1.
In step 230 (see, e.g.,
Thereupon, the aggregation for the key figures using said predetermined aggregation operations is conducted just once more, wherein as a result, the size of the new data package 1 decreases from Mp=8 to Na=4 according to the customer defined granularity as illustrated in
Following the aggregation, the results of the remaining data package are saved in a database.
By checking the termination criterion for the loop i=i+1 once again in step 240 (see, e.g.,
The foregoing description has been presented for purposes of illustration. It is not exhaustive and does not limit the invention to the precise forms or embodiments disclosed. Modifications and adaptations of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the disclosed embodiments of the invention. For example, the described implementations include software, but systems and methods consistent with the present invention may be implemented as a combination of hardware and software or in hardware alone. Examples of hardware include computing or processing systems, including personal computers, servers, laptops, mainframes, micro-processors and the like. Additionally, although aspects of the invention are described for being stored in memory, one skilled in the art will appreciate that these aspects can also be stored on other types of computer-readable media, such as secondary storage devices, for example, hard disks, floppy disks, or CD-ROM, the Internet or other propagation medium, or other forms of RAM or ROM.
Computer programs based on the written description and methods of this invention are within the skill of an experienced developer. The various programs or program modules can be created using any of the techniques known to one skilled in the art or can be designed in connection with existing software. For example, program sections or program modules can be designed in or by means of Java, C++, HTML, XML, or HTML with included Java applets or in SAP R/3 or ABAP. One or more of such software sections or modules can be integrated into a computer system or existing e-mail or browser software.
Moreover, while illustrative embodiments of the invention have been described herein, the scope of the invention includes any and all embodiments having equivalent elements, modifications, omissions, combinations (e.g., of aspects across various embodiments), adaptations and/or alterations as would be appreciated by those in the art based on the present disclosure. The limitations in the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed as non-exclusive. Further, the steps of the disclosed methods may be modified in any manner, including by reordering steps and/or inserting or deleting steps, without departing from the principles of the invention. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims and their full scope of equivalents.
This application claims the benefit of priority from U.S. Provisional Application No. 60/614,401, entitled “Systems and Methods for General Aggregation of Characteristics of Key Figures” filed Sep. 30, 2004, the disclosure of which is expressly incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
60614401 | Sep 2004 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11239139 | Sep 2005 | US |
Child | 12461615 | US |