| CPC H04L 67/562 (2022.05) [H04L 69/322 (2013.01)] | 15 Claims |

|
1. A request processing method, applied to a first device, wherein the request processing method comprises:
sending requests of a plurality of invokers to a Server end of a first device interface, wherein the request carries information used to indicate an invoker to which the request belongs;
receiving response data that corresponds to each request and that is returned by the server end of the first device interface, wherein the response data corresponding to the request carries information used to indicate an invoker to which the request belongs;
identifying, for the response data corresponding to each request based on the information that is carried in the response data corresponding to the request and that is used to indicate the invoker to which the request belongs, an invoker to which the response data corresponding to the request belongs; and
returning, for the response data corresponding to each request, the response data corresponding to the request to the invoker to which the response data corresponding to the request belongs,
wherein the requests of the plurality of invokers comprise a request of an invoker on the first device and/or a request of an invoker on a second device,
wherein before the sending requests of a plurality of invokers to a Server end of a first device interface, the method further comprises:
processing, for the request of each invoker, a serial parameter in the request based on an identifier of the invoker, so that a processed serial parameter in the request can be used to indicate the invoker to which the request belongs, wherein the information used to indicate the invoker to which the request belongs is the processed serial parameter in the request; and
before the returning, for the response data corresponding to each request, the response data corresponding to the request to the invoker to which the response data corresponding to the request belongs, the method further comprises:
restoring, for the response data corresponding to each request, a processed serial parameter in the response data corresponding to the request.
|