US 12,455,899 B2
Data transformation using binary serialization format
Leandro Shokida, Buenos Aires (AR); and Mariano Jose De Achaval, Buenos Aires (AR)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, inc., San Francisco, CA (US)
Filed on Apr. 28, 2022, as Appl. No. 17/661,235.
Claims priority of provisional application 63/181,555, filed on Apr. 29, 2021.
Prior Publication US 2022/0350818 A1, Nov. 3, 2022
Int. Cl. G06F 16/28 (2019.01); G06F 16/22 (2019.01); G06F 16/2457 (2019.01)
CPC G06F 16/282 (2019.01) [G06F 16/2282 (2019.01); G06F 16/24573 (2019.01)] 17 Claims
OG exemplary drawing
 
1. A method for data processing, comprising:
receiving a dataset including a first file that includes a first set of elements formatted according to a first hierarchical structure, wherein a first service is configured to access the first file according to the format of the first set of elements and a second service is configured to access the first file according to a second format;
parsing the first file according to the first hierarchical structure to identify the first set of elements;
modifying, based at least in part on the first set of elements and the second service being configured to access the first file according to the second format, the first file to include an index table that specifies each element name of the first set of elements and replacing an element name of a first element of the first set of elements with an index value that references the element name in the index table, wherein the index table describes each element of the first set of elements;
transforming the modified first file including the index table to a binary format for random access to the first set of elements by the second service using the index table included in the modified first file that is transformed to the binary format, wherein the first set of elements formatted in the first hierarchical structure are sequentially accessible by the second service or are accessible by the second service via loading a document object model (DOM);
storing the modified first file including the index table in the binary format for the random access to the first set of elements by the second service; and
individually accessing an element of the first set of elements using the random access while the modified first file is stored in the binary format based at least in part on the index table included in the first file.