US2016034272A1PendingUtilityA1

Managing a catalog of scripts

Assignee: HEWLETT PACKARD DEVELOPMENT COPriority: Apr 30, 2013Filed: Oct 14, 2015Published: Feb 4, 2016
Est. expiryApr 30, 2033(~6.7 yrs left)· nominal 20-yr term from priority
G06F 8/70G06F 9/45508G06F 8/427G06F 8/30G06F 9/45512G06F 11/3688
44
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

According to an example, a catalog of scripts may be managed. Management of the catalog of scripts may include the addition of a script description into the catalog of scripts. In one example, the script description may be directly added to the catalog of scripts. In another example, the script description may be added through generation of a merged query of scripts.

Claims

exact text as granted — not AI-modified
1 - 12 . (canceled) 
     
     
         13 . A non-transitory computer readable storage medium on which is stored machine readable instructions that when executed by a processor are to cause the processor to:
 receive a selection of a plurality of descriptions of scripts to be merged;   perform a combined operation on the selected plurality of descriptions of scripts;   generate a merged query from the selected plurality of descriptions of scripts;   generate a merged query script from the merged query; and   add a description of the merged query script into the catalog of scripts.   
     
     
         14 . The non-transitory computer readable method according to  claim 13 , wherein the machine readable instructions are further to cause the processor to:
 test the selected plurality of scripts to determine whether the selected plurality of descriptions of scripts results in a predetermined output.   
     
     
         15 . The non-transitory computer readable method according to  claim 13 , wherein the machine readable instructions are further to cause the processor to:
 pass the merged query script to a query interpreter and optimizer.   
     
     
         16 . The non-transitory computer readable method according to  claim 14 , wherein the machine readable instructions are further to cause the processor to:
 receive another selection of a plurality of descriptions of scripts to be merged in response to the selected plurality of descriptions of scripts not resulting in the predetermined output; and   perform the combined operation on the selected plurality of descriptions of scripts in response to the selected plurality of descriptions of scripts resulting in the predetermined output.   
     
     
         17 . The non-transitory computer readable method according to  claim 14 , wherein the machine readable instructions are further to cause the processor to test the selected plurality of scripts with input data supplied by a user and to determine a result of the test using the input data, wherein the machine readable instructions are further to cause the processor to output the result to the user, receive an indication from the user as to whether the test was successful, and to determine whether the test was successful based upon the received indication from the user. 
     
     
         18 . The non-transitory computer readable method according to  claim 13 , wherein to perform the combined operation on the selected plurality of descriptions of scripts, the machine readable instructions are further to cause the processor to merge the selected plurality of scripts together and examine inputs and outputs of the selected plurality of scripts. 
     
     
         19 . The non-transitory computer readable method according to  claim 18 , wherein the machine readable instructions are further to cause the processor to determine that schemas of the plurality of scripts do no match each other and to at least one of issue a warning to a user and manipulate at least one of the inputs and the outputs of the plurality of scripts to make the schemas match each other. 
     
     
         20 . The non-transitory computer readable method according to  claim 18 , wherein the machine readable instructions are further to cause the processor to check the plurality of scripts for collisions in names of the inputs and the outputs of the plurality of scripts, and in response to a determination that a collision exists, refactor the name of at least one of a conflicting input and output in the plurality of scripts until no collisions exist. 
     
     
         21 . The non-transitory computer readable method according to  claim 13 , wherein to generate the merged query script, the machine readable instructions are further to cause the processor to refactor and remap relation schemas of the plurality of scripts to merge the plurality of scripts into a single script that is to be used directly as the input to another script. 
     
     
         22 . A method for managing a catalog of scripts, said method comprising:
 receiving, by a processor, a selection of a plurality of descriptions of scripts to be merged;   performing, by the processor, a combined operation on the selected plurality of descriptions of scripts;   generating, by the processor, a merged query from the selected plurality of descriptions of scripts;   generating, by the processor, a merged query script from the merged query; and   adding, by the processor, a description of the merged query script into the catalog of scripts.   
     
     
         23 . The method according to  claim 22 , further comprising:
 testing the selected plurality of scripts to determine whether the selected plurality of descriptions of scripts results in a predetermined output;   receiving another selection of a plurality of descriptions of scripts to be merged in response to the selected plurality of descriptions of scripts not resulting in the predetermined output; and   performing the combined operation on the selected plurality of descriptions of scripts in response to the selected plurality of descriptions of scripts resulting in the predetermined output.   
     
     
         24 . The method according to  claim 23 , further comprising:
 testing the selected plurality of scripts with input data supplied by a user;   outputting a result of the test using the input data to the user;   receiving an indication from the user as to whether the test was successful; and   determining whether the test resulted in the predetermined output based upon the received indication from the user.   
     
     
         25 . The method according to  claim 23 , wherein performing the combined operation on the selected plurality of descriptions of scripts further comprises merging the selected plurality of scripts together and examining inputs and outputs of the selected plurality of scripts. 
     
     
         26 . The method according to  claim 25 , further comprising:
 determining that schemas of the plurality of scripts do no match each other; and   at least one of issuing a warning to a user and manipulating at least one of the inputs and the outputs of the plurality of scripts to make the schemas match each other.   
     
     
         27 . The method according to  claim 25 , further comprising:
 checking the plurality of scripts for collisions in names of the inputs and the outputs of the plurality of scripts, and in response to a determination that a collision exists, refactoring the name of at least one of a conflicting input and output in the plurality of scripts until no collisions exist.   
     
     
         28 . The method according to  claim 22 , wherein generating the merged query script further comprises refactoring and remapping relation schemas of the plurality of scripts to merge the plurality of scripts into a single script that is to be used directly as the input to another script. 
     
     
         29 . An apparatus to manage a catalog of scripts, said apparatus comprising:
 a processor;   a memory on which is stored machine readable instructions that cause the processor to:
 receive a selection of a plurality of descriptions of scripts to be merged; 
 perform a combined operation on the selected plurality of descriptions of scripts; 
 generate a merged query from the selected plurality of descriptions of scripts; 
 generate a merged query script from the merged query; and 
 add a description of the merged query script into the catalog of scripts. 
   
     
     
         30 . The apparatus according to  claim 29 , wherein the instructions are further to cause the processor to:
 test the selected plurality of scripts to determine whether the selected plurality of descriptions of scripts results in a predetermined output;   receive another selection of a plurality of descriptions of scripts to be merged in response to the selected plurality of descriptions of scripts not resulting in the predetermined output; and   perform the combined operation on the selected plurality of descriptions of scripts in response to the selected plurality of descriptions of scripts resulting in the predetermined output.   
     
     
         31 . The apparatus according to  claim 30 , wherein the instructions are further to cause the processor to:
 test the selected plurality of scripts with input data supplied by a user;   output a result of the test using the input data to the user;   receive an indication from the user as to whether the test was successful; and   determine whether the test resulted in the predetermined output based upon the received indication from the user.   
     
     
         32 . The apparatus according to  claim 29 , wherein to perform the combined operation on the selected plurality of descriptions of scripts, the instructions are further to cause the processor to merge the selected plurality of scripts together and examine inputs and outputs of the selected plurality of scripts.

Join the waitlist — get patent alerts

Track US2016034272A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.