发明名称 GENERATING A PREDICTIVE DATA STRUCTURE
摘要 A method, apparatus, and/or computer program product generates a predictive data structure for an application when operating offline in a network connected data processing system, the application comprising source code having an execution path. The method comprises: determining an exit point within the source code of the application; determining, from the exit point, an execution path comprising at least one conditional statement; identifying one or more branches of the at least one identified conditional statement and for each identified branch determining an expected response; for each determined expected response, generating a data structure from the response; continuing along the execution path of the source code from the exit point and replacing each request for a resource in the source code with a pointer to the generated data structure; and executing the source code with the pointer to the generated data structure from the determined exit point.
申请公布号 US2014282374(A1) 申请公布日期 2014.09.18
申请号 US201214351178 申请日期 2012.10.08
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Fletcher Benjamin J.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项 1. A method for generating a predictive data structure for an application when operating offline in a network connected data processing system, the application comprising source code having an execution path, the method comprising: determining, by one or more processors, an exit point within the source code of the application; determining, by one or more processors and from the exit point, an execution path comprising at least one conditional statement; identifying, by one or more processors, one or more branches of the at least one identified conditional statement and for each identified branch determining an expected response; for each determined expected response, generating, by one or more processors, a data structure from said each determined expected response; continuing along the execution path of the source code from the exit point and replacing, by one or more processors, each request for a resource in the source code with a pointer to the generated data structure; and executing, by one or more processors, the source code with the pointer to the generated data structure from the determined exit point.
地址 ARMONK NY US