Method, device, terminal, server and storage medium of processing network request and response
First Claim
1. A method of processing a network request and response, comprising:
- merging a plurality of HTTP resource requests to obtain a merged request;
transmitting the merged request to a server side;
detecting a current status identification of the merged request;
receiving, when the status indicated by the current status identification shows that data is transferring, receiving resource data corresponding to each request in the merged request and returned by the server side;
first obtaining a first boundary identification contained in the received resource data, the first boundary identification identifying that complete resource data responsive to a first HTTP resource request in the merged request has been successfully received;
first extracting and processing the HTTP resource data corresponding to the first HTTP request in the merged request according to the obtained boundary identification; and
stopping receiving the resource data, when the status indicated by the current status identification shows that the data transferring is completed;
wherein the first extracting and processing begins before receipt of all of the complete resource data for all of the HTTP requests of the merged request.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of processing a network request and response includes: merging a plurality of requests to obtain a merged request; transmitting the merged request to a server side; detecting a current status identification of the merged request; when the status indicated by the current status identification shows that data is transferring, receiving resource data corresponding to each request in the merged request and returned by the server side, and detecting the received resource data and obtaining a boundary identification contained in the received resource data; extracting and processing the resource data corresponding to each request in the merged request one by one according to the obtained boundary identification; and when the status indicated by the current status identification shows that the data transferring is completed, stopping receiving the resource data.
7 Citations
18 Claims
-
1. A method of processing a network request and response, comprising:
-
merging a plurality of HTTP resource requests to obtain a merged request; transmitting the merged request to a server side; detecting a current status identification of the merged request; receiving, when the status indicated by the current status identification shows that data is transferring, receiving resource data corresponding to each request in the merged request and returned by the server side; first obtaining a first boundary identification contained in the received resource data, the first boundary identification identifying that complete resource data responsive to a first HTTP resource request in the merged request has been successfully received; first extracting and processing the HTTP resource data corresponding to the first HTTP request in the merged request according to the obtained boundary identification; and stopping receiving the resource data, when the status indicated by the current status identification shows that the data transferring is completed; wherein the first extracting and processing begins before receipt of all of the complete resource data for all of the HTTP requests of the merged request. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A terminal comprising a processor, and a memory storing computer executable instructions, which, when executed by the processor cause the processor to perform steps comprising:
-
merging a plurality of HTTP resource requests to obtain a merged request; transmitting the merged request to a server; detecting a current status identification of the merged request; receiving, when the status indicated by the current status identification shows that data is transferring, receiving resource data returned by the server and corresponding to each request in the merged request; first obtaining a first boundary identification contained in the received resource data, the first boundary identification identifying that complete resource data responsive to a first HTTP resource request in the merged request has been successfully received; first extracting and processing the HTTP resource data corresponding to the first request in the merged request according to the obtained boundary identification; and stopping receiving the resource data, when the status indicated by the current status identification shows that the data transferring is completed; wherein the first extracting and processing begins before receipt of all of the complete resource data for all of the HTTP requests of the merged request. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. At least one non-transitory computer-readable medium comprising computer executable instructions, which, when executed by at least one processor cause the at least one processor to perform steps comprising:
-
merging a plurality of HTTP resource requests to obtain a merged request; transmitting the merged request to a server; detecting a current status identification of the merged request; receiving, when the status indicated by the current status identification shows that data is transferring, receiving resource data returned by the server and corresponding to each request in the merged request; first obtaining a first boundary identification contained in the received resource data, the first boundary identification identifying that complete resource data responsive to a first HTTP resource request in the merged request has been successfully received; first extracting and processing the HTTP resource data corresponding to the first HTTP request in the merged request one by one according to the obtained boundary identification; and stopping receiving the resource data, when the status indicated by the current status identification shows that the data transferring is completed; wherein the first extracting and processing begins before receipt of all of the complete resource data for all of the HTTP requests of the merged request. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification