发明名称 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.
申请公布号 US2017126830(A1) 申请公布日期 2017.05.04
申请号 US201715413460 申请日期 2017.01.24
申请人 International Business Machines Corporation 发明人 Evans Thomas A.
分类号 H04L29/08;H04L29/06 主分类号 H04L29/08
代理机构 代理人
主权项 1. A computer system comprising: one or more computer processors; one or more non-transitory computer readable storage media; and program instructions stored on the one or more non-transitory computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising: program instructions to identify individual resources of a plurality of resources requiring operations to be performed in a client-server environment, wherein the program instructions to identify individual resources comprise program instructions to traverse a resource graph stored in memory to identify individual resources requiring operations to be performed, program instructions to detect resources that reference other resources, and program instructions to determine which resources do not have server-assigned URIs (Uniform Resource Identifier);program instructions to assign local references in a client domain for any resources that do not have server-assigned URIs, wherein the program instructions to assign local references comprise program instructions to identify a resource in the client domain by a local reference;program instructions to generate 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;program instructions to wrap each individual resource of the plurality of resources with the metadata to provide a plurality of wrapped resources, wherein the program instructions to wrap each individual resource of the plurality of resources comprise program instructions to include metadata associated with each resource of the plurality of resources;program instructions to arrange the wrapped resources into a single payload; andprogram instructions to transmit the single payload to the server, wherein the program instructions to transmit the single payload to the server comprise: program instructions to utilize an HTTP (Hypertext Transfer Protocol) POST operation for creating a resource on the server;program instructions to utilize an HTTP GET operation for retrieving a server-assigned URI of a new resource;program instructions to utilize an HTTP PUT operation for updating a resource; andprogram instructions to utilize an HTTP DELETE operation for deleting a resource.
地址 Armonk NY US