IP Library Patent Application 18043042
Patent Application
App. No. 18/043,042

COMMON FILE ATTRIBUTE PROCESSING FOR ENHANCED LOADING TIME OF APPLICATION PROGRAMMING INTERFACE (API) FILES

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
18/043,042
Abstract

Common file attribute processing is used for providing enhanced loading time of Application Programming Interface (API) files. An Extensible Markup Language (XML) file of an API is parsed. XML element objects in XML file are parsed. Whether there is at least one common attribute for the XML element objects is determined. In response to determining there is at least one common attribute for the XML element objects, attribute data for the at least one common attribute is retrieved from storage and the attribute data is added in an API resource object.

Claims (49)

1 . A method providing common file attribute processing for enhanced loading time of Application Programming Interface (API) files, comprising:

receiving an Extensible Markup Language (XML) file of an API;

parsing the XML file;

processing XML element objects in the XML file;

determining whether there is at least one common attribute for the XML element objects; and

in response to determining there is at least one common attribute for the XML element objects, retrieving data for the at least one common attribute from storage and add attribute data in an API resource object.

2 . The method of claim 1 further comprising continuing to determine whether there is at least one common attribute for the XML element objects until there are no more XML element objects to process.

3 . The method of claim 1 , wherein the determining whether the at least one common attribute for the XML element objects includes:

identifying attributes in in-sequence elements;

identifying attributes in out-sequence elements;

determining whether one of the attributes in the in-sequence elements match at least one of the attributes in the out-sequence elements; and

in response to the one of the attributes in the in-sequence elements matching the at least one of the attributes in the out-sequence elements, identifying the one of the attributes in the in-sequence elements matching the at least one of the attributes in the out-sequence elements as the at least one common attribute.

4 . The method of claim 1 , wherein the processing the XML element objects in XML file includes determining there are no more XML element objects to parse in the XML file and stopping the process.

5 . The method of claim 1 , wherein the determining whether there is the at least one common attribute for the XML element objects includes creating a many-to-one mapping between resource objects and sequence objects.

6 . The method of claim 1 , in response to the XML element not having the at least one common attribute, creating a new attribute object and adding attribute data in API resource object.

7 . The method of claim 6 , wherein the determining whether there is not the at least one common attribute for the XML element objects includes creating a one-to-one mapping between resource objects and sequence objects.

8 . An Application Programming Interface (API) gateway, comprising:

a memory storing computer-readable instructions; and

a processor connected to the memory, wherein the processor is configured to execute the computer-readable instructions to:

receive an Extensible Markup Language (XML) file of an API;

parse the XML file;

process XML element objects in the XML file;

determine whether there is at least one common attribute for the XML element objects; and

in response to determining there is at least one common attribute for the XML element objects, retrieve data for the at least one common attribute from storage and add attribute data in an API resource object.

9 . The API gateway of claim 8 , wherein the processor is further configured to continue determining whether there is at least one common attribute for the XML element objects until the processor determines there are no more XML element objects to process.

10 . The API gateway of claim 8 , wherein the processor determines whether the at least one common attribute for the XML element objects by:

identifying attributes in in-sequence elements;

identifying attributes in out-sequence elements;

determining whether one of the attributes in the in-sequence elements match at least one of the attributes in the out-sequence elements; and

in response to the one of the attributes in the in-sequence elements matching the at least one of the attributes in the out-sequence elements, identifying the one of the attributes in the in-sequence elements matching the at least one of the attributes in the out-sequence elements as the at least one common attribute.

11 . The API gateway of claim 8 , wherein the processor is further configured to process the XML element objects in XML file by determining there are no more XML element objects to parse in the XML file and stopping the process.

12 . The API gateway of claim 8 , wherein the processor, in response to determining whether there is the at least one common attribute for the XML element objects, creates a many-to-one mapping between resource objects and sequence objects.

13 . The API gateway of claim 8 , wherein the processor, in response to the XML element not having the at least one common attribute, creates a new attribute object and adds attribute data in API resource object.

14 . The API gateway of claim 13 , wherein the processor is further configured to create a one-to-one mapping between resource objects and sequence objects.

15 . A non-transitory computer-readable media having computer-readable instructions stored thereon, which when executed by a processor causes the processor to perform operations comprising:

receiving an Extensible Markup Language (XML) file of an Application Programming Interface (API);

parsing the XML file;

processing XML element objects in the XML file;

determining whether there is at least one common attribute for the XML element objects; and

in response to determining there is at least one common attribute for the XML element objects, retrieving data for the at least one common attribute from storage and add attribute data in an API resource object.

16 . The non-transitory computer-readable media of claim 15 further comprising continuing to determine whether there is at least one common attribute for the XML element objects until there are no more XML element objects to process.

17 . The non-transitory computer-readable media of claim 15 , wherein the determining whether the at least one common attribute for the XML element objects includes:

identifying attributes in in-sequence elements;

identifying attributes in out-sequence elements;

determining whether one of the attributes in the in-sequence elements match at least one of the attributes in the out-sequence elements; and

in response to the one of the attributes in the in-sequence elements matching the at least one of the attributes in the out-sequence elements, identifying the one of the attributes in the in-sequence elements matching the at least one of the attributes in the out-sequence elements as the at least one common attribute.

18 . The non-transitory computer-readable media of claim 15 , wherein the processing the XML element objects in XML file includes determining there are no more XML element objects to parse in the XML file and stopping the process.

19 . The non-transitory computer-readable media of claim 15 , wherein the determining whether there is the at least one common attribute for the XML element objects includes creating a many-to-one mapping between resource objects and sequence objects.

20 . The non-transitory computer-readable media of claim 15 , in response to the XML element not having the at least one common attribute, creating a new attribute object and adding attribute data in API resource object, and creating a one-to-one mapping between resource objects and sequence objects.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 12, 2024
From: RAKUTEN SYMPHONY SINGAPORE PTE. LTD.
To: RAKUTEN SYMPHONY, INC.
Reel/Frame 067971/0181 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 27, 2023
From: ASWANI, MANOJ; SHARMA, HEMANT; KUMAR, AYUS; GUPTA, SATYAM; JAIN, PRATHAM
To: RAKUTEN SYMPHONY SINGAPORE PTE. LTD.
Reel/Frame 062818/0769 →