AUTOMATED METADATA LOOKUP FOR LEGACY SYSTEMS
First Claim
1. A computer-implemented method for retrieving data from a legacy system, the method comprising:
- receiving, by a processor, a query for the data;
extracting, using the processor, attributes from the query by parsing the query;
identifying, using the processor, a plurality of tables of the legacy system by scanning metadata of the legacy system, wherein each of the tables includes at least one of the attributes from the query;
identifying, using the processor, a plurality of views, wherein the views contain at least one of the plurality of tables;
ranking, using the processor, the plurality of views based on a quantity of the attributes contained in the respective view;
constructing, using the processor, a packet using a subset of the plurality of views such that a maximum number of attributes are included in a minimum number of views; and
extracting and returning, using the processor, the requested data based on instructions in the packet;
wherein the legacy system has a memory structure different from a memory associated with the processor that implements the method.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for accessing data in a de-commissioned legacy system are provided. Data are automatically extracted from the legacy system, although data structure(s) of the legacy system might not be known, by finding views corresponding to a query for the data. Attributes, metadata, and/or fields (“attributes”) can be parsed from the query. Tables and/or fields including the parsed attributes are identified. Views can be then identified, where the views contain the tables and/or fields including the parsed attributes. The views can be ranked in an order from those that include the greatest number of parsed attributes to those including the least number of parsed attributes. A data request understandable by the legacy system, e.g. a packet, can then be formed using the least number of views, where the views can collectively include all of the parsed attributes.
-
Citations
20 Claims
-
1. A computer-implemented method for retrieving data from a legacy system, the method comprising:
-
receiving, by a processor, a query for the data; extracting, using the processor, attributes from the query by parsing the query; identifying, using the processor, a plurality of tables of the legacy system by scanning metadata of the legacy system, wherein each of the tables includes at least one of the attributes from the query; identifying, using the processor, a plurality of views, wherein the views contain at least one of the plurality of tables; ranking, using the processor, the plurality of views based on a quantity of the attributes contained in the respective view; constructing, using the processor, a packet using a subset of the plurality of views such that a maximum number of attributes are included in a minimum number of views; and extracting and returning, using the processor, the requested data based on instructions in the packet; wherein the legacy system has a memory structure different from a memory associated with the processor that implements the method. - View Dependent Claims (2, 3)
-
-
4. A computer-implemented method for retrieving data from a memory, the method comprising:
-
receiving, by a processor, a query for the data; parsing, using the processor, the query to extract attributes; identifying, using the processor, at least one table including the attributes, wherein the at least one table is stored in the memory; identifying, using the processor, at least one view containing the at least one table, wherein the at least one view is associated with the memory; ranking, using the processor, the at least one view based on a quantity of the attributes that the respective view includes; and extracting and returning the requested data using the ranking of the at least one view. - View Dependent Claims (5, 6, 7, 8, 9, 10)
-
-
11. A computer-implemented method of retrieving data from a memory, the method comprising:
-
receiving, by a processor, a query for the data; indexing, using the processor, the query by identifying attributes forming the query; scanning, using the processor, metadata of the memory for tables including the identified attributes; identifying, using the processor, views including the identified attributes; and forming, using the processor, a request for data based on the identified views. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A non-transitory computer-readable storage device storing program instructions that, when executed, cause an executing device to perform a method for retrieving data from a legacy system, the method comprising:
-
receiving, by a processor, a query for the data; parsing, using the processor, the query to extract attributes; identifying, using the processor, at least one table including the attributes, wherein the at least one table is stored in the memory; identifying, using the processor, at least one view containing the at least one table, wherein the at least one view is associated with the memory; ranking, using the processor, the at least one view based on a quantity of the attributes that the respective view includes; and extracting and returning the requested data using the ranking of the at least one view; wherein the legacy system is a system having a memory structure different from the storage device.
-
Specification