System, method, and computer program product for script processing
First Claim
1. A method for processing a script, the script includes at least one global script segment associated with a script data segment, the global script segment includes at least one global directive and the script data segment includes at least one command record, the method comprising the steps of:
- reading each global directive in the global script segment included in script;
fetching the associated script data segment which includes the command record; and
processing the script data segment based on each global directive read in said reading step.
3 Assignments
0 Petitions
Accused Products
Abstract
A system, method, and computer program product is provided for script processing. A new script language and script processing is used to significantly reduce the number of lines required for a script. A script includes a global script segment associated with a script data segment. The global script segment includes global directives (automatic directives and script repeating directives). The script data segment includes command records. Automatic directives are interpreted and repeatedly executed until script processing is complete. Automatic directives can be selectively activated and de-activated by a user. Script repeating directives repeat processing of the script data segment until the script repeating directive is satisfied. A command record includes an operation name field identifying a particular command and one or more operand fields. The operand fields can include single values, a range of values, or substitution codes. The script processor automatically repeats processing the script for each command record in the script data segment. The script processor further interprets the syntax of an operand to determine whether an operand is a single value, range of values, pointer, or substitution code. For a single value, the script processor executes the operation using the single value. For a ranges of values, the script processor repeatedly executes the operation for each value in said range of values. For a pointer to a table or other range of values, the script processor repeatedly executes the operation for each value in the table or range of values pointed to by the pointer. For a substitution code, the script processor repeatedly executes the operation using a corresponding substitution value (e.g. data, time, or sequence number).
154 Citations
27 Claims
-
1. A method for processing a script, the script includes at least one global script segment associated with a script data segment, the global script segment includes at least one global directive and the script data segment includes at least one command record, the method comprising the steps of:
-
reading each global directive in the global script segment included in script; fetching the associated script data segment which includes the command record; and processing the script data segment based on each global directive read in said reading step. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A script processor for processing a script stored in a memory, the script includes at least one global script segment associated with a script data segment, the global script segment includes at least one global directive and the script data segment includes at least one command record, the script processor comprising:
-
a read unit reading each global directive in the global script segment included in the script; a fetch unit fetching the associated script data segment which includes the command record; and a processor processing the script data segment based on each global directive read by said read unit. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A script processor for processing a script, the script includes at least one global script segment associated with a script data segment, the global script segment includes at least one global directive and the script data segment includes at least one command record, the processor comprising:
-
means for reading each global directive in the global script segment included in the script; means for fetching the associated script data segment which includes the command record; and means for processing the script data segment based on each global directive read in said reading step.
-
-
24. A computer program product comprising a computer useable medium having computer program logic recorded thereon for enabling a processor in a computer system to process a script, the script includes at least one global script segment associated with a script data segment, the global script segment includes at least one global directive and the script data segment includes at least one command record, said computer program logic comprising:
-
means for enabling the processor to read each global directive in the global script segment included in the script; means for enabling the processor to fetch the associated script data segment which includes the command record; and means for enabling the processor to process the script data segment based on each global directive.
-
-
25. A method for processing a script, the script includes at least one global script segment associated with a script data segment, the global script segment includes at least one global directive and the script data segment includes at least one command record, the method comprising the steps of:
-
reading the script data segment which the command record; and processing the script data segment, said processing step comprising the steps of; for each command record in the script data segment, reading an operation name field identifying an operation to be performed during said processing step and at least one operand field identifying data operated upon by said operation field; determining when said operand field contains a range of values; and executing said operation for each value in said range of values.
-
-
26. A method for processing a script, the script includes at least one global script segment associated with a script data segment, the global script segment includes at least one global directive and the script data segment includes at least one command record, the method comprising the steps of:
-
reading the script data segment which includes the command record; and processing the script data segment, said processing step comprising the steps of; for each command record in the script data segment, reading an operation name identifying an operation field and at least one operand field identifying data operated upon by said operation field; determining when said operand field contains a pointer to a range of values; and executing said operation for each value in said range of values pointed to by said pointer.
-
-
27. A method for processing a script, the script includes at least one global script segment associated with a script data segment, the global script segment includes at least one global directive and the script data segment includes at least one command record, the method comprising the steps of:
-
reading the script data segment which includes the command record; and processing the script data segment, said processing step comprising the steps of; for each command record in the script data segment, reading an operation name identifying an operation field and at least one operand field identifying data operated upon by said operation field; determining when said operand field contains a substitution code; and executing said operation field using a substitution value corresponding to said substitution code.
-
Specification