Request processing method and device
The present application discloses a request processing method and device. The method in a specific embodiment includes: receiving a main request sent by a client, wherein the main request is obtainedby processing at least two sub-requests according to a preset operation group; splitting the main req...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
15.01.2019
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The present application discloses a request processing method and device. The method in a specific embodiment includes: receiving a main request sent by a client, wherein the main request is obtainedby processing at least two sub-requests according to a preset operation group; splitting the main request based on the preset operation group so as to obtain the at least two sub-requests constitutingthe main request; sending the at least two sub-requests to a back-end server; acquiring the request result of each sub-request returned by the back-end server; and outputting the request result of the main request based on the obtained request result of each sub-request. The embodiment effectively reduces the number of requests of the client, thereby increasing the response speed.
本申请公开了请求处理方法和装置。该方法的具体实施方式包括:接收客户端发送的主请求,其中,上述主请求是按预设操作组对至少两个子请求进行处理得到的;基于上述预设操作组对上述主请求进行拆分,得到构成上述主请求的上述至少两个子请求;将上述至少两个子请求发送给后端服务器;获取后端服务器返回的各个子请求的请求结果;基于获取的各个子请求的请求结果输出上述主请求的请求结果。该实施方式有效减少了客户端的请求次数,从而提高了响应速度。 |
---|---|
Bibliography: | Application Number: CN201710512708 |