US-12621217-B2 - Embedded resource layout
Abstract
Embedded resource layouts are presented by rendering an interface document to cause a graphical interface to be displayed in accordance with appearance specifications for the graphical interface in the interface document, embedding, into the interface document in response to rendering the interface document, a resource layout document corresponding to a reference in the interface document and a user identity, retrieving, through a network in response to embedding the resource layout document, a plurality of resource values, each resource value among the plurality of resource values corresponding to a resource reference in the resource layout document, and arranging the plurality of resource values in the graphical interface in accordance with positioning specifications in the resource layout document.
Inventors
- Kuldeep SOLANKI
- Pankaj MUKATI
- Satyam SHRIVASTAV
- Ankush Tiwari
Assignees
- Rakuten Mobile, Inc.
Dates
- Publication Date
- 20260505
- Application Date
- 20220531
Claims (20)
- 1 . A computer-readable medium including instructions executable by a processor to cause the processor to perform operations comprising: rendering an interface document to cause a graphical interface to be displayed in accordance with appearance specifications for the graphical interface in the interface document; transmitting, from an apparatus associated with a user in response to rendering the interface document, a resource layout request comprising a user identifier associated with the user requesting the graphical interface; embedding, into the interface document in response to the resource layout request, a resource layout document associated with the user based on the user identifier, wherein the resource layout document indicates a reference in the interface document, and wherein the resource layout document comprises a plurality of resource references and a positioning specification associated with each of the plurality of resource references; retrieving, through a network in response to embedding the resource layout document, a plurality of resource values based on the user identifier, wherein each resource value among the plurality of resource values corresponds to a resource reference among the plurality of resource references included in the resource layout document; arranging the plurality of resource values in the graphical interface in accordance with the positioning specification associated with corresponding resource reference of the plurality of resource references; in response to arranging of the plurality of resource values, receiving an input associated with at least one of the plurality of resource values or the plurality of resource references; modifying the resource layout document associated with the user based on the input to generate a modified resource layout document; embedding the modified resource layout document into the interface document; and rendering an updated graphical interface in response to the embedding of the modified resource layout document into the interface document.
- 2 . The computer-readable medium of claim 1 , wherein the operations further comprise: receiving, from an input device, an updated resource value corresponding to a resource reference in the resource layout document; and pushing, through the network, the updated resource value to a corresponding site database.
- 3 . The computer-readable medium of claim 1 , wherein the operations further comprise: retrieving, in response to embedding the resource layout document, a plurality of resource value constraints, each resource value constraint among the plurality of resource value constraints corresponding to a resource reference in the resource layout document; and verifying, in response to receiving the updated resource value, that the updated resource value is in accordance with the corresponding resource value constraint.
- 4 . The computer-readable medium of claim 1 , wherein the operations further comprise: rendering the interface document to cause a list of resource references to be displayed in the graphical interface; receiving, from an input device, an instruction to modify the arrangement of the graphical interface by at least one of removing a resource value or adding a resource value corresponding to a resource reference from the list of resource references; and rendering, in response to receiving the instruction from the input device, the arrangement modification of the graphical interface by the at least one of removing the resource value or adding the resource value corresponding to the resource reference from the list of resource references.
- 5 . The computer-readable medium of claim 4 , wherein the operations further comprise: modifying the resource layout document by at least one of removing a resource reference or adding a resource reference from the list of resource references.
- 6 . The computer-readable medium of claim 1 , wherein the operations further comprise: receiving, from an input device, an instruction to modify the arrangement of the graphical interface by modifying a position of a resource value; and rendering, in response to receiving the instruction from the input device, the arrangement modification of the graphical interface by modifying the position of the resource value.
- 7 . The computer-readable medium of claim 6 , wherein the operations further comprise: modifying the resource layout document by modifying the positioning specification corresponding to the resource reference that corresponds to the resource value of the modified position.
- 8 . The computer-readable medium of claim 1 , wherein the interface document includes, for each resource reference among the plurality of resource references, a string representing an API call for retrieving the corresponding resource value, and the operation of retrieving the plurality of resource values includes transmitting the API call corresponding to each resource reference in the resource layout document.
- 9 . A method comprising: rendering an interface document to cause a graphical interface to be displayed in accordance with appearance specifications for the graphical interface in the interface document; transmitting, from an apparatus associated with a user in response to rendering the interface document, a resource layout request comprising a user identifier associated with the user requesting the graphical interface; embedding, into the interface document in response to the resource layout request, a resource layout document associated with the user based on the user identifier, wherein the resource layout document indicates a reference in the interface document, and wherein the resource layout document comprises a plurality of resource references and a positioning specification associated with each of the plurality of resource references; retrieving, through a network in response to embedding the resource layout document, a plurality of resource values based on the user identifier, wherein each resource value among the plurality of resource values corresponds to a resource reference among the plurality of resource references included in the resource layout document; arranging the plurality of resource values in the graphical interface in accordance with the positioning specification associated with corresponding resource reference of the plurality of resource references; in response to arranging of the plurality of resource values, receiving an input associated with at least one of the plurality of resource values or the plurality of resource references; modifying the resource layout document associated with the user based on the input to generate a modified resource layout document; embedding the modified resource layout document into the interface document; and rendering an updated graphical interface in response to the embedding of the modified resource layout document into the interface document.
- 10 . The method of claim 9 , further comprising: receiving, from an input device, an updated resource value corresponding to a resource reference in the resource layout document; and pushing, through the network, the updated resource value to a corresponding site database.
- 11 . The method of claim 9 , further comprising: retrieving, in response to embedding the resource layout document, a plurality of resource value constraints, each resource value constraint among the plurality of resource value constraints corresponding to a resource reference in the resource layout document; and verifying, in response to receiving the updated resource value, that the updated resource value is in accordance with the corresponding resource value constraint.
- 12 . The method of claim 9 , further comprising: rendering the interface document to cause a list of resource references to be displayed in the graphical interface; receiving, from an input device, an instruction to modify the arrangement of the graphical interface by at least one of removing a resource value or adding a resource value corresponding to a resource reference from the list of resource references; and rendering, in response to receiving the instruction from the input device, the arrangement modification of the graphical interface by the at least one of removing the resource value or adding the resource value corresponding to the resource reference from the list of resource references.
- 13 . The method of claim 12 , further comprising: modifying the resource layout document by at least one of removing a resource reference or adding a resource reference from the list of resource references.
- 14 . The method of claim 9 , further comprising: receiving, from an input device, an instruction to modify the arrangement of the graphical interface by modifying a position of a resource value; and rendering, in response to receiving the instruction from the input device, the arrangement modification of the graphical interface by modifying the position of the resource value.
- 15 . The computer-readable medium of claim 1 , wherein each of the plurality of resource references correspond to an API call string.
- 16 . The computer-readable medium of claim 1 , wherein the appearance specifications of the interface document remain unchanged for each of a plurality of users.
- 17 . An apparatus comprising: a controller including circuitry configured to: rendering an interface document to cause a graphical interface to be displayed in accordance with appearance specifications for the graphical interface in the interface document; transmitting, from the apparatus associated with a user in response to rendering the interface document, a resource layout request comprising a user identifier associated with the user requesting the graphical interface; embedding, into the interface document in response to the resource layout request, a resource layout document associated with the user based on the user identifier, wherein the resource layout document indicates a reference in the interface document, and wherein the resource layout document comprises a plurality of resource references and a positioning specification associated with each of the plurality of resource references; retrieving, through a network in response to embedding the resource layout document, a plurality of resource values based on the user identifier, wherein each resource value among the plurality of resource values corresponds to a resource reference among the plurality of resource references included in the resource layout document; arranging the plurality of resource values in the graphical interface in accordance with the positioning specification associated with corresponding resource reference of the plurality of resource references; in response to arranging of the plurality of resource values, receiving an input associated with at least one of the plurality of resource values or the plurality of resource references; modifying the resource layout document associated with the user based on the input to generate a modified resource layout document; embedding the modified resource layout document into the interface document; and rendering an updated graphical interface in response to the embedding of the modified resource layout document into the interface document.
- 18 . The apparatus of claim 17 , wherein the circuitry is further configured to: receiving, from an input device, an updated resource value corresponding to a resource reference in the resource layout document, and pushing, through the network, the updated resource value to a corresponding site database.
- 19 . The apparatus of claim 17 , wherein the circuitry is further configured to: retrieving, in response to embedding the resource layout document, a plurality of resource value constraints, each resource value constraint among the plurality of resource value constraints corresponding to a resource reference in the resource layout document, and verifying, in response to receiving the updated resource value, that the updated resource value is in accordance with the corresponding resource value constraint.
- 20 . The apparatus of claim 17 , wherein the circuitry is further configured to: rendering the interface document to cause a list of resource references to be displayed in the graphical interface, receiving, from an input device, an instruction to modify the arrangement of the graphical interface by at least one of removing a resource value or adding a resource value corresponding to a resource reference from the list of resource references, and rendering, in response to receiving the instruction from the input device, the arrangement modification of the graphical interface by the at least one of removing the resource value or adding the resource value corresponding to the resource reference from the list of resource references.
Description
RELATED APPLICATIONS The present application is a National Phase of International Application No. PCT/US2022/031521 filed May 31, 2022. BACKGROUND Technical Field This description relates to embedded resource layouts. Background User controls over electro-mechanical systems, such as telecommunications networks, are becoming digitized, and accessible over communication networks. Any given user may have control over various control parameters distributed among different unit within a system, and may utilize information from other units within the system. Control parameters and other information of the system are presented through a graphical interface for the user to view and modify. SUMMARY According to at least some embodiments of the present invention, embedded resource layouts are presented by rendering an interface document to cause a graphical interface to be displayed in accordance with appearance specifications for the graphical interface in the interface document, embedding, into the interface document in response to rendering the interface document, a resource layout document corresponding to a reference in the interface document and a user identity, retrieving, through a network in response to embedding the resource layout document, a plurality of resource values, each resource value among the plurality of resource values corresponding to a resource reference in the resource layout document, and arranging the plurality of resource values in the graphical interface in accordance with positioning specifications in the resource layout document. Some embodiments include the instructions in a computer program, the method performed by the processor executing the instructions of the computer program, and an apparatus that performs the method. In some embodiments, the apparatus includes a controller including circuitry configured to perform the operations in the instructions. BRIEF DESCRIPTION OF THE DRAWINGS Aspects of the present disclosure are best understood from the following detailed description when read with the accompanying figures. It is noted that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion. FIG. 1 is a block diagram of a system for embedded resource layout, according to at least some embodiments of the present invention. FIG. 2 is a communication flow for embedded resource layout, according to at least some embodiments of the present invention. FIG. 3 is an operational flow for embedded resource layout, according to at least some embodiments of the present invention. FIG. 4 is a graphical interface with embedded resource layout, according to at least some embodiments of the present invention. FIG. 5 is an operational flow for resource value updating, according to at least some embodiments of the present invention. FIG. 6 is a graphical interface during resource value updating, according to at least some embodiments of the present invention. FIG. 7 is an operational flow for resource layout modification, according to at least some embodiments of the present invention. FIG. 8 is a graphical interface during resource layout modification, according to at least some embodiments of the present invention. FIG. 9 is a block diagram of a hardware configuration for embedded resource layout, according to at least some embodiments of the present invention. DETAILED DESCRIPTION The following disclosure provides many different embodiments, or examples, for implementing different features of the provided subject matter. Specific examples of components, values, operations, materials, arrangements, or the like, are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. Other components, values, operations, materials, arrangements, or the like, are contemplated. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. The view in graphical interfaces of systems is common for all users, meaning the parameters presented and layout thereof is the same regardless of the parameters actually controlled by the user. Some systems have a few different layouts, based on the roles of users. In such systems, if any parameter needs to be removed, added, or relocated, development efforts are required each time, for each user. At least some embodiments herein include a fully automated system while keeping flexibility in the user's hand to add and remove attributes from a page layout. In at least some embodiments, users create a page layout site-type-wise by editing a default layout. In at least some embodiments, users view available site resources by clicking settings. In