Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2014-04-23
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF4 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0021] The purpose of the present invention is to solve the HTTP request can not get a timely response, resulting in bad end user experience and a mobile terminal HTTP request aggregation compression system and method proposed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Mobile terminal HTTP (Hyper Text Transport Protocol) request aggregation compression system and method
  • Mobile terminal HTTP (Hyper Text Transport Protocol) request aggregation compression system and method
  • Mobile terminal HTTP (Hyper Text Transport Protocol) request aggregation compression system and method

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a mobile terminal HTTP (Hyper Text Transport Protocol) request aggregation compression system and method, and belongs to the technical field of computer network communication; the system comprises a Servlet module, an HTTP request aggregation module, a data compression module and a socket communication module. The system and the method disclosed by the invention have the beneficial effects that the aggregation compression of an HTTP request is realized at a proxy server, and HTTP requests of a plurality of mobile terminals can be processed by performing one-time socket communication between the proxy server and a background server. For the occasions that the number of communication sockets between proxy servers and background servers is limited, and a plurality of terminal requests concur, less sockets are utilized by the system and the method disclosed by the invention for processing the HTTP requests of a great deal of mobile terminals, the communication data volume between the proxy servers and the background servers can be reduced remarkably, and response delay of the servers for the terminal requests is reduced.

Description

technical field [0001] The invention relates to the technical field of computer network communication, in particular to a system and method for aggregated and compressed HTTP requests of a mobile terminal. Background technique [0002] With the rapid development of mobile communication technology, mobile terminals have been widely popularized. More and more business is transferred from PC (Personal computer, personal computer) to mobile terminal, and the communication between the mobile terminal and the background server is mostly realized by way of HTTP (Hyper Text Transfer Protocol, hypertext transfer protocol) request. Many services may already have relatively mature background servers for PCs. It is obviously too expensive to design corresponding servers for mobile terminals. In order to make full use of existing background servers, proxy servers are usually used to implement: mobile terminals send The HTTP request goes to the proxy server, the proxy server parses and p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/08
Inventor 李龙江郑灵杰
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products