Processing method of hyper text transport protocol (HTTP) request data

A technology for requesting data and processing methods, applied in the field of communications, can solve problems such as unfavorable users' use of the network, large network bandwidth, limited bandwidth, etc., and achieve the effects of saving network tariffs, improving efficiency, and reducing bandwidth

Inactive Publication Date: 2013-03-13
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF2 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the attachment content of the requested data is large, it will occupy a large network bandwidth, especially in the mobile network, the bandwidth is limited, and the tariff is relatively expensive. If the requested data occupies a large bandwidth, it is not conducive to the user's use of the network.

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
  • Processing method of hyper text transport protocol (HTTP) request data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to facilitate the understanding of those skilled in the art, the present invention will be further described below in conjunction with the accompanying drawings.

[0017] The invention provides a method for processing HTTP request data, which compresses the POST request data before sending from the client to the server, so as to reduce the data capacity. The data can be XML data, json data, or text-like file data.

[0018] as attached figure 1 As shown, this processing method includes the following steps:

[0019] (1) The client terminal reads the received request data before sending the request data to the server. The requested data is analyzed to obtain the capacity of the requested data.

[0020] (2) Judging whether the capacity of the requested data is greater than or equal to the predetermined value N or smaller than the predetermined value N. The predetermined value N can be 7KB, 10KB, 11KB, or other values ​​greater than 0. The above list is not limi...

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 processing method of hyper text transport protocol (HTTP) request data. The processing method includes step: (1) a client side reads received request data before transmitting the request data to a server; (2) whether the capacity of the request data is larger than or equal to or smaller than a preset value N is judged; (3) the request data are compressed and marked if the capacity of the request data is larger than or equal to the preset value N, and the request data are not compressed if the capacity of the request data is smaller than the preset value N; (4) the request data are transmitted to the server through a HTTP communication protocol; (5) the server analyzes the received request data and judges whether the request data have data compression identification; and (6) the request data are subjected to uncompressing if the request data have data compression identification. The processing method effectively saves time of the client side for transmitting the request data to the server and enables data to occupy small bandwidth.

Description

technical field [0001] The invention relates to the communication field, in particular to a method for processing POST request data of the HTTP protocol. Background technique [0002] The current B / S (Browser / Server) architecture is the browser / server architecture, and the C / S (Client / Server) architecture is the client terminal / server architecture. The network communication protocol HTTP (hyper text transport protocol, hypertext transport protocol, hypertext transport protocol, is often used) Text Transfer Protocol) to receive and send data. For example, many application programs in current mobile phones also adopt the C / S architecture, and use the HTTP protocol for data transmission. The main function is to access the files of a certain resource server, including browsing, downloading, and running the specified files on the server, that is to say, we can access WWW resources on the Internet through HTTP. However, at present, when the client sends the Post request data of ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06
Inventor 胡明春
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products