Service request processing
AssigneeVMware, Inc.
InventorsMingjun Tang, Lei Zhai
Life of this patent
Estimating the term…
Abstract
An example method to perform service request processing may comprise receiving, from a client device, a request associated with a first version of a service, the service being accessible via the server. The method may further comprise, in response to determination that version conversion from the first version to a second version of the service is required, converting the request to be compatible with the second version of the service and processing the converted request to generate a response associated with the second version. In this case, the method may further comprise converting the response to be compatible with the first version of the service; and sending, to the client device, the converted response that is compatible with the first version.
Claims23
A method for a server to perform service request processing, the method comprising:
- receiving, from a client device, a request associated with a first version of a service, the service being implemented by a backend system and accessible via the server, wherein a header or body of the request includes version information that identifies the first version;
- in response to determination that version conversion from the first version to a second version of the service is required,
- converting the request to be compatible with the second version of the service by mapping a parameter in the body of the request to a corresponding parameter used by the backend system, and modifying the header or body of the request to update the version information to identify the second version instead of the first version according to the mapping;
- processing the converted request to generate a response associated with the second version, wherein a header or body of the response includes version information that identifies the second version;
- converting the response to be compatible with the first version of the service by modifying the header or body of the response to update the version information to identify the first version instead of the second version;
- and
- sending, to the client device, the converted response that is compatible with the first version.
A non-transitory computer-readable storage medium that includes a set of instructions which, in response to execution by a processor, causes the processor to perform service request processing, comprising:
- receiving, from a client device, a request associated with a first version of a service, the service being implemented by a backend system and accessible via the server, wherein a header or body of the request includes version information that identifies the first version;
- in response to determination that version conversion from the first version to a second version of the service is required,
- converting the request to be compatible with the second version of the service by mapping a parameter in the body of the request to a corresponding parameter used by the backend system, and modifying the header or body of the request to update the version information to identify the second version instead of the first version according to the mapping;
- processing the converted request to generate a response associated with the second version, wherein a header or body of the response includes version information that identifies the second version;
- converting the response to be compatible with the first version of the service by modifying the header or body of the response to update the version information to identify the first version instead of the second version;
- and
- sending, to the client device, the converted response that is compatible with the first version.
A computer system configured to process a service request, wherein the computer system comprises:
- a processor;
- and a non-transitory computer-readable storage medium having stored thereon instructions that, when executed by the processor, cause the processor to:
- receive, from a client device, a request associated with a first version of a service, the service being implemented by a backend system and accessible via the computer system, wherein a header or body of the request includes version information that identifies the first version;
- in response to determination that version conversion from the first version to a second version of the service is required,
- convert the request to be compatible with the second version of the service by mapping a parameter in the body of the request to a corresponding parameter used by the backend system, and modifying the header or body of the request to update the version information to identify the second version instead of the first version according to the mapping;
- process the converted request to generate a response associated with the second version, wherein a header or body of the response includes version information that identifies the second version;
- convert the response to be compatible with the first version of the service by modifying the header or body of the response to update the version information to identify the first version instead of the second version;
- and
- send, to the client device, the converted response that is compatible with the first version.
Dependencies are inferred from the claim text.