HTTP data processing method and device

A data processing and data technology, applied in the Internet field, can solve problems such as server CPU resource waste, server high performance requirements, unfavorable CPU resource utilization, etc., to achieve the effect of reducing memory occupation and improving CPU resource utilization

Inactive Publication Date: 2018-06-22
BEIJING QIHOO TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the data is large, it takes a long time to upload all the data to the HTTP server
During this period, the processing server needs to wait to receive data, which is likely to cause a waste of CPU resources on the server, whic

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
  • HTTP data processing method and device
  • HTTP data processing method and device
  • HTTP data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0042] In order to solve the above technical problem, an embodiment of the present invention provides an HTTP data processing method. figure 1 A schematic flowchart of an HTTP data processing method according to an embodiment of the present invention is shown. see figure 1 , the method at least includes step S102 to step S106.

[0043] Step S102, setting a buffer area with a fixed space on the HTTP server side, setting a correspo...

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 provides an HTTP data processing method and a device. The method comprises the following steps of arranging the cache region of a fixed space on an HTTP server side; according to the space size of the cache region, arranging a corresponding callback processing function and determining the calling condition of the callback processing function; when HTTP data uploaded by a client is received, successively caching the HTTP data to the cache region according to a data uploading sequence; and if the HTTP data which is cached to the cache region accords with the calling condition of the callback processing function, calling the corresponding callback processing function, and according to the callback processing function, processing the HTTP data according with the calling conditionof the callback processing function. In the invention, the data can be received, and at the same time, the data can be processed so that the batch processing process of the HTTP data is realized, andthe processing efficiency of the HTTP data is greatly increased.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to an HTTP data processing method and device. Background technique [0002] With the continuous development of Internet technology, using the Internet for data transmission has become a common phenomenon. At present, most data transmission needs to be based on a specific transmission protocol, such as the http data transmission protocol, etc. When using the http protocol for data transmission, the HTTP server generally receives all the data to the local memory, and then transfers all the received data to the local memory. Submit to the subsequent server to perform corresponding processing operations. [0003] By adopting the above-mentioned data transmission method, convenient and rapid transmission can be realized for data occupying a small amount of memory. However, when the data is large, it takes a long time to upload all the data to the HTTP server. During this period, ...

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
CPCH04L67/02H04L67/06H04L67/1097H04L67/34
Inventor 高敦桥
Owner BEIJING QIHOO TECH CO 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