Mobile terminal HTTP (Hyper Text Transport Protocol) request aggregation compression system and method
A mobile terminal and compression algorithm technology, applied in transmission systems, electrical components, etc., can solve problems such as poor end user experience, HTTP requests cannot be responded in time, and achieve the effect of reducing the amount of communication data and response delay
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0107] The implementation steps of the method proposed by the present invention are as follows, and the operation process is as follows figure 2 Shown:
[0108] 1. When starting, the proxy server initializes the HTTP request aggregation module and the socket communication module. The Servlet module receives HTTP requests from mobile terminals, assigns a unique label to each HTTP request and stores it in the original request queue of the HTTP request aggregation module, and suspends the thread corresponding to the HTTP request until the response arrives. wake.
[0109] 2. The HTTP request aggregation module checks whether the original request queue is empty: if it is empty, continue to execute step 2 after TIMEOUT (a preset timeout period); if it is not empty, record the number of pending HTTP requests The number is MAXNUM (the maximum aggregated number of HTTP requests at one time) or the number of queue elements (when the original request queue length is less than M...
specific Embodiment 2
[0134] This example shows how the proxy server aggregates HTTP GET requests from three mobile terminals when they arrive.
[0135] 1. The Servlet module receives 3 HTTP requests from the mobile terminal:
[0136] http: / / 192.168.0.3:8080 / Application / login.action?name=u&pas s=p
[0137] http: / / 192.168.0.3:8080 / Application / show.action?mode=0&time=9
[0138] http: / / 192.168.0.3:8080 / Application / getDayInfo.action?day=20131106
[0139] Assign labels to the above three requests respectively: 0, 1, 2, and then store these requests in the HTTP request
[0140] Find the original request queue of the aggregation module, and suspend the threads corresponding to these HTTP requests.
[0141] 2. The HTTP request aggregation module checks that there are 3 HTTP requests in the original request queue, and then records that the number of HTTP requests to be processed this time is 3.
[0142] 3. Traverse 3 HTTP requests from the head of the original request queue correspondi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com