发明名称 BULK UPLOADING OF MULTIPLE SELF-REFERENCING OBJECTS
摘要 A computer implemented method, computer program product, and system for performing create, read, update, or delete operations on a plurality of resources in a client-server environment. In an embodiment, the computer implemented method includes the steps of identifying individual resources requiring operations to be performed, assigning local references for any resources to which a URI (Uniform Resource Identifier) has not been provided by the server, generating metadata describing the local references and operations to be performed, wrapping each individual resource with the metadata to provide a plurality of wrapped resources arranging the wrapped resources into a single payload, and transmitting the single payload to the server.
申请公布号 US2016149827(A1) 申请公布日期 2016.05.26
申请号 US201615009007 申请日期 2016.01.28
申请人 International Business Machines Corporation 发明人 Evans Thomas A.
分类号 H04L12/911;H04L29/06 主分类号 H04L12/911
代理机构 代理人
主权项 1. A computer-implemented method comprising: identifying individual resources of a plurality of resources requiring operations to be performed in a client-server environment, wherein identifying individual resources comprises traversing a resource graph stored in memory to identify individual resources requiring operations to be performed, detecting resources that reference other resources, and determining which resources do not have server-assigned URIs (Uniform Resource Identifier); assigning local references in a client domain for any resources that do not have server-assigned URIs, wherein assigning local references comprises identifying a resource in the client domain by a local reference; generating metadata describing the local references and operations to be performed including any other resources referenced by the local references, wherein the metadata is generated in RDF (Resource Description Framework) N-Triple format; wrapping each individual resource of the plurality of resources with the metadata to provide a plurality of wrapped resources, wherein wrapping each individual resource of the plurality of resources comprises including metadata associated with each resource of the plurality of resources; arranging the wrapped resources into a single payload; andtransmitting the single payload to the server, wherein transmitting the single payload to the server comprises: utilizing an HTTP (Hypertext Transfer Protocol) POST operation for creating a resource on the server, utilizing an HTTP GET operation for retrieving a server-assigned URI of a new resource, utilizing an HTTP PUT operation for updating a resource, and utilizing an HTTP DELETE operation for deleting a resource.
地址 Armonk NY US