Method For Automatic Extraction Of Designs From Standard Source Code
AssigneeMassively Parallel Technologies, Inc.
InventorKevin D. Howard
Life of this patent
Estimating the term…
Abstract
A system and method for automatic code-design and file/database-design association. Existing source code is analyzed for process and control elements. The control elements are encapsulated as augmented state machines and the process elements are encapsulated as kernels. The new elements can then have meta-data attached (including, a name, I/O method, and test procedures), allowing software code sharing and automatic code/file/database upgrading, as well as allowing sub-subroutine level code blocks to be accessed directly.
Claims5
A computer-implemented method for automatically extracting a design from source code comprising:
- identifying branching and looping commands in a code section;
- extracting process kernel code segments, connected by either branching or looping structures, from the code section;
- extracting control kernels from the code section;
- encapsulating the control kernels as state machines;
- encapsulating the process elements as process kernels;
- and
- associating meta-data with the control and process elements;
- and
- wherein the meta-data is used to associate the extracted process kernels and the extracted control kernels with code other than the original code used in the extracting steps.
A computer-implemented method for sharing sub-subroutine level software comprising:
- extracting kernel and algorithm code as components comprising separately executable code and associated kernel and algorithm code at a sub-subroutine level;
- storing metadata associated with the kernel and algorithm code in a keyword list,
- accessing the separately executable code by matching its keyword list to a corresponding design process, to enable the sharing of sub-subroutine level software.
A computer-implemented method for sharing sub-subroutine level software comprising:
- performing decomposition, of a selected section of code, to McCabe code blocks;
- associating metadata with data from data flows entering and exiting each of the code blocks to describe input/output parameters thereof;
- that are used to match design processes with kernel and/or algorithm code.
- associating the input/output data flow information for each code block with the code block, thus allowing the code blocks to be used as sub-subroutines.
A computer-implemented method for automatic association of database and search/test/design software comprising:
- performing decomposition, of a selected section of code, to McCabe code blocks, each consisting of a transformation process;
- generating code-associated metadata comprising a keyword list for each of the code blocks, including a database type, a database schema, and one or more database test queries;
- performing a keyword search for keyword matches between a selected one of the code blocks and the keyword list to determine matching said code blocks matching said database type and said database schema of the selected one of the code blocks;
- executing the test queries on the matching code blocks to determine at least one database that can be used with the selected one of the code blocks.
Dependencies are inferred from the claim text.