Create Source Object Repository 168
Total Page:16
File Type:pdf, Size:1020Kb
US 2013 0080995A1 (19) United States (12) Patent Application Publication (10) Pub. No.: US 2013/0080995 A1 RAZA (43) Pub. Date: Mar. 28, 2013 (54) METHOD AND AN APPARATUS FOR (52) U.S. Cl. DEVELOPNG SOFTWARE USPC ........................................... 717/107; 717/120 (57) ABSTRACT (76) Inventor: Ahmad RAZA, Lahore (PK) A Software component, is constructed on the basis of a set of predetermined rules, and by utilizing a source object, a token (21) Appl. No.: 13/242.558 value and a parameter, wherein the Source object is stored in a source object repository, and wherein the source object comprises a component value and/or a token value, wherein (22) Filed: Sep. 23, 2011 the component value may be associated with the token value. For constructing the software component, the token value is processed and a token result, obtained by processing the Publication Classification token value, is utilized for constructing the software compo nent, wherein the parameter may also be utilized for the (51) Int. Cl. processing of the token value and/or constructing the Soft G06F 9/44 (2006.01) ware component. 2O Create Source object repository 168 Create Software component constructor 170 Construct software component 142 Patent Application Publication Mar. 28, 2013 Sheet 1 of 96 US 2013/0080995 A1 Create source object repository 168 Create Software component constructor 170 Construct software component 142 FIG. 1A Patent Application Publication Mar. 28, 2013 Sheet 2 of 96 US 2013/0080995 A1 108 110a 11 O Software Component 142 Select set of predetermined rules 140 11 Ob 112 Source component 144 Categorize source Component 144 in 11 OC indeterminable source component 148 Component value 146 and determinable source component 150 114a 114 Token value 154 Define data token 152 114b Token Result 156 114C Set of data token rules 158 116 116a Define parameter 16016 Parameter value 162 118 Create data model 164 12O 122a Create source object repository 168 Parameter value resolution 122 module 17Oa Create 122b Software component constructor 170 Data token processing module 17Ob 124 122 Create source object 166 C Source object resolution 126 module 17OC Construct software component 142 Yes ls another - 134 Source object 166 Utilize again required? another Software YeS component 1422 NO 132 FIG. 1B End Patent Application Publication Mar. 28, 2013 Sheet 3 of 96 US 2013/0080995 A1 212 Software component COnStructOr 17O StartS 214 Resolve parameter value 162n Identify desired source objects 166n 218 Resolve component values 146n 220 Construct software COmpOnentS 142n 224 FIG. 2 Patent Application Publication Mar. 28, 2013 Sheet 4 of 96 US 2013/0080995 A1 Computer Input/Output Memory Interface Unit(s) ROM BIOS 312 314 AuxiliaryuXIIIary StStorage BuS 306 Interface ( ) 318 Auxiliary Storage 324 Expansion 32O QFP face Video Controller KC 326 {-> Communication Interface Communication Link 354 Network Auxiliary Storage Remote Computer(s) 356 Remote Auxiliary Storage Patent Application Publication Mar. 28, 2013 Sheet 5 of 96 US 2013/0080995 A1 Exemplary sets of predetermined rules 400 ACCESS SELECT query O ORACLE SELECT query 2 FIG. 4A Patent Application Publication Mar. 28, 2013 Sheet 6 of 96 US 2013/0080995 A1 i SD O P H O - CO CO CO O O CC s Patent Application Publication Mar. 28, 2013 Sheet 7 of 96 US 2013/0080995 A1 CIO|#7 Ǻ-r)!ISIFanolfikº-Goedseli?M) Patent Application Publication Mar. 28, 2013 Sheet 8 of 96 US 2013/0080995 A1 s s s s s Patent Application Publication Mar. 28, 2013 Sheet 9 of 96 US 2013/0080995 A1 Patent Application Publication Mar. 28, 2013 Sheet 10 of 96 US 2013/0080995 A1 Patent Application Publication Mar. 28, 2013 Sheet 11 of 96 US 2013/0080995 A1 Patent Application Publication Mar. 28, 2013 Sheet 12 of 96 US 2013/0080995 A1 60/37 |Z/760/37 CEID,—K) Patent Application Publication Mar. 28, 2013 Sheet 13 of 96 US 2013/0080995 A1 |07 |07 KlenbLOETESSSEOOV KlenbLOETESSSEOOV Patent Application Publication Mar. 28, 2013 Sheet 14 of 96 US 2013/0080995 A1 B/|#7 Patent Application Publication Mar. 28, 2013 Sheet 15 of 96 US 2013/0080995 A1 90/17 GEGE?D-GENEEX)(º(º)--GOEIED–GNõD-GŒD-? Patent Application Publication Mar. 28, 2013 Sheet 16 of 96 US 2013/0080995 A1 S 9) O P H O - CO - O CC O s Patent Application Publica US 2013/0080995 A1 Patent Application Publication Mar. 28, 2013 Sheet 18 of 96 US 2013/0080995 A1 Patent Application Publication Mar. 28, 2013 Sheet 19 of 96 US 2013/0080995 A1 CD CD a O O CO CD CD (s a O s Patent Application Publication Mar. 28, 2013 Sheet 20 of 96 US 2013/0080995 A1 UZ/#7 b0/7 90/57 899#7 Patent Application Publication Mar. 28, 2013 Sheet 21 of 96 US 2013/0080995 A1 GEGOOECD Patent Application Publication Mar. 28, 2013 Sheet 22 of 96 US 2013/0080995 A1 20?7 KuanbLOETESETOVHO ÁuenbLOETESETOVHO ZO?7 Patent Application Publication Mar. 28, 2013 Sheet 23 of 96 US 2013/0080995 A1 WHERE 4 71 a. GROUP 4. 7 b UNIONALL 4 7 1 C floAlaGrp 47171 e.e IF 4. 7 1 SUM INNER h LEFT 4 7 1 JOIN 4 OluS Sion 4. m DECODE WhrXOr 77 21 a.n floNam Col 4 7 2 b floAla floXOr 77 22 SrCAla 4 7 2 e floNam Cnd 472g7 2 Value 4 7 2 h true-result 4 7 2 falsefalse-result result 472 table-name K floAla 1 SrCAla2 floAla2 FIG. 4S Patent Application Publication Mar. 28, 2013 Sheet 24 of 96 US 2013/0080995 A1 FROM BY Openind parenthesis Closind Oarenthesis SrCAa1 FIG. 4T Patent Application Publication Mar. 28, 2013 Sheet 25 of 96 US 2013/0080995 A1 Data Token Comprised Data Value OrVGro True, False Or NULL OrVUni i11 s True, False Or NULL SrCUseCnd 5 1 6 A Strind Or NULL COUSeCnd sis1 8 A Strind Or NULL COReuse 5 2 O True, False or NULL tknAliasknAias 522 termonth 524 letkavin, %TknMth,argCOmp, argTrue,ard False% tknCurvErackets intencodeBegintknitemCOdeBedin 528 inBeg tknitemCode End 5 3 O FIG. 5A Patent Application Publication Mar. 28, 2013 Sheet 26 of 96 US 2013/0080995 A1 550a Start 550b EmbStr = a target string Post = Last occurrence ofs: "" N/ from left side 550d 55Oe Slas NO occurrence of "{" Return EmbStr seisOund? Yes - 55of Pos2 = First occurrence of "}" from left side after PoS 1 550g DtaTKn = String between Pos 1 and POS2 TKn Result = Processed DtaTKn result 55Oi POS3 = POS2 + 1 550 55OK ls char at Yes Pos4 - Last occurrence of "" Pos3 = "}"? iust before POS1 from left side NO 55Ol 550m ls YeS TKn Result a NULL TKnReSult = "1 = 1" <gisalue? Replace string from Post to POS2 in EmbStr With tknResult FIG. 5B Patent Application Publication Mar. 28, 2013 Sheet 27 of 96 US 2013/0080995 A1 ls 55OO 550p TKn Result a NULL TKnReSUlt - "1 - 1" alue? NO 550d 55Or Replace char at Pos3 in Replace string from Pos4 to EmbStr With "" POS3 in EmbStr With tkin Result Replace char at Pos4 in EmbStr With "" 55Ot Replace string from Post to POS2 in EmbStr With tknReSUlt FIG. 5C Patent Application Publication Mar. 28, 2013 Sheet 28 of 96 US 2013/0080995 A1 ormOrvld OrmNMthCnt OrmeCMth ormOraQr OrmftJoi OrmuseCnd Ormitm3ed OrmitmEnd FIG. 6 Patent Application Publication Mar. 28, 2013 Sheet 29 of 96 US 2013/0080995 A1 OrWhr SrCld SrCUOinFlo SrCJoinTOFC SrCJoinTOSrC COAla COXOr COIGroFun FIG. 7A Patent Application Publication Mar. 28, 2013 Sheet 31 of 96 US 2013/0080995 A1 OJSKJOIq] Patent Application Publication Mar. 28, 2013 Sheet 32 of 96 US 2013/0080995 A1 81 Oa queryBuilder(primOryld) S this first Cal Yes 81 OC to queryBuilder in this varCaCnt = 0 executionirrh2 81 OC varMthAry = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Now", y Dec" 81 Oe Initialize varOryRod VarCurMth = 0 81 Of Initialize varSrCRCd 810g Initialize warFlcRCd varColXpr=" 81 Oh Initialize varTblAry VarCOAla = " VarTbildx = 0 varWrkQry = " VarSrCAV = False VarJoiSrc = " VarFldAV = False OP B VarSrCCnt = 0 varFReuCnt = 0 FIG. 8A Patent Application Publication Mar. 28, 2013 Sheet 33 of 96 US 2013/0080995 A1 OP B NO varCryStr = " Yes 811 VarjoiAla = " O varAlaCnt = 0 VarFReStr = " 811q Resolve all parameter values varUniCry = " VarWrkUni - " WarCnbWhr = " varFRetOry = varGrpLis = VarFldLiS = " varLftOpr=" varFgtOpr = WarCaCnt = varCalCnt + 1 FIG. 8B Patent Application Publication Mar. 28, 2013 Sheet 34 of 96 US 2013/0080995 A1 812b Open recordset varOryRod comprising thiQry, where qryld = primOryld 812C Open recordset varSrcRcd comprising thiQrySrc, where srcQryld = dryld and order is On SrCOrd SEOF Of VarSrCRCC True? No VarSrCAV = CheckAvailablity(SrcUseCnd) Move to next record of ls varSrCAVI True? VarSrCRCd Yes varSrCCnt = varSrCCnt + 1 812 -s is gruntled- No varCurAla = NewAlias() YeS varTblAry(varSrcCnt, 1) = Srclo varTblAry(varSrcCnt.2) = varCurAla & 5 FIG. 8C Patent Application Publication Mar. 28, 2013 Sheet 35 of 96 US 2013/0080995 A1 813C NO varSubGry = ls srcReuseld empty. gueryBuilder(srcReuseld) Yes varSubGry = varSubQry = "(" + VarSubOry - ")" signed Yes NO 813i Open recordset varFld Rod comprising th|OryFlc, where colGryld = srcQryld and COISrCld = SrCld, and Order is On ColCrd SEOF Of YeS VarFCRCd True2 NO 813m VarFldAV = CheckAvailablity (coluseCnd) ey FIG. 8D Patent Application Publication Mar. 28, 2013 Sheet 36 of 96 US 2013/0080995 A1 NO ls VarFlcAV True? Yes varFReuCnt = 0 varColXpr = colXpr varColAla = ColAla NO If COReuse is True? YeS mMinche NO Yes DOes NO tknMonth exist in varColXpr? Yes DOes tkin Month have varColXpr= argTrue arguments? NO FIG. 8E Patent Application Publication Mar. 28, 2013 Sheet 37 of 96 US 2013/0080995 A1 DOes tknMOnth exist in Replace tknMonth with" in VarCOAla? varColAla FIG. 8F Patent Application Publication Mar. 28, 2013 Sheet 38 of 96 US 2013/0080995 A1 YeS VarFeuCnt = 0 varCurMth = prmBegMth NO TT DOes tknMOnth exist in NO varColXpr? Yes DOes Replace thcnMonth in tkin Month have varColxpr with arguments? varMthary(varCurMth) Yes varColxpr = "F("+ argComp ls prmOraQry True? + "=" + varCurMth -- "," + argTrue + "," + arg False +")" Yes varColXpr="DECODE(" + argComp + "," + varCurMth + "," + argTrue + "," + argFalse +")" DOes tknMOnth exist in Yes Replace tknMonth in varColAla varColAla? with varMthary(varCurMth) NO FIG.