US 11,709,805 B2
System and method for PaaS cloud ready random access report generation
Ambika Pathak, Mumbai (IN); Sandip Patil, Mumbai (IN); and Piyush Khandelwal, Bangalore (IN)
Assigned to JPMORGAN CHASE BANK, N.A., New York, NY (US)
Filed by JPMorgan Chase Bank, N.A., New York, NY (US)
Filed on Jan. 20, 2022, as Appl. No. 17/648,483.
Claims priority of application No. 202111056794 (IN), filed on Dec. 7, 2021.
Prior Publication US 2023/0177022 A1, Jun. 8, 2023
Int. Cl. G06F 16/188 (2019.01)
CPC G06F 16/188 (2019.01) 9 Claims
OG exemplary drawing
 
1. A method for cloud ready random access report generation by utilizing one or more processors along with allocated memory, the method comprising:
receiving, by the one or more processors, an initial intermediate file having intermediate contents to be utilized for cloud ready random access report generation;
creating, by the one or more processors, multiple sections of the initial intermediate file;
writing the multiple sections of the initial intermediate file into separate individual multiple objects in a cloud file system;
maintaining, by the one or more processors, track of the multiple sections of the initial intermediate file and sequences of the multiple sections;
determining, by the one or more processors, whether the intermediate contents exceed a predetermined memory threshold value;
in response to the determining:
when a memory requirement for the intermediate contents is equal to or below the predetermined memory threshold value, executing random access writing in a local file system's in-memory byte array by shifting positions in random file access over a file stream to store the intermedia contents in the local file system; and creating, by implementing a first mode of report generation algorithm, a final intermediate file in a readable file format for a rendering engine, wherein the creating the final intermediate file includes joining the multiple sections of the initial intermediate file based on offset and the sequences of the multiple sections; and
when the memory requirement for the intermediate contents exceeds the predetermined memory threshold value, executing random access writing in a cloud object storage via a web service interface to store the intermediate contents in the cloud object storage; and creating, by implementing a second mode of report generation algorithm, the final intermediate file, wherein the creating the final intermediate file includes performing operations on the separate individual multiple objects with readers or writers in a report generation framework and merging the separate individual multiple objects, wherein the second mode is different from the first mode;
transmitting, by the one or more processors via network, the final intermediate file to the rendering engine; and
generating, by the rendering engine based on the final intermediate file, a random access report including metadata and contents.