US 12,388,906 B2
Request processing method and related apparatus
Zixiang Xu, Shenzhen (CN)
Assigned to HONOR DEVICE CO., LTD., Shenzhen (CN)
Appl. No. 18/254,684
Filed by HONOR DEVICE CO., LTD., Shenzhen (CN)
PCT Filed May 16, 2022, PCT No. PCT/CN2022/092926
§ 371(c)(1), (2) Date May 26, 2023,
PCT Pub. No. WO2023/024589, PCT Pub. Date Mar. 2, 2023.
Claims priority of application No. 202110993034.5 (CN), filed on Aug. 25, 2021.
Prior Publication US 2024/0305695 A1, Sep. 12, 2024
Int. Cl. H04L 67/562 (2022.01); H04L 69/322 (2022.01)
CPC H04L 67/562 (2022.05) [H04L 69/322 (2013.01)] 15 Claims
OG exemplary drawing
 
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.