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

Compression request processing method and server

A server and preprocessor technology, applied in the computer field, can solve the problems of CPU consumption, decompression performance bottleneck, no wireless routing, etc., to achieve the effect of decompression

Active Publication Date: 2017-01-18
BEIJING QIHOO TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 2) There is no wireless router, the computer has a wireless network card
If you use the built-in gzdecode method of PHP to decompress the compression request, although it is not difficult to implement, but because the performance of PHP itself is not high, and decompression is a CPU-intensive operation, so in the case of a large number of visits, PHP Will become the bottleneck of decompression performance

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
  • Compression request processing method and server
  • Compression request processing method and server
  • Compression request processing method and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] 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.

[0033] figure 1 A flowchart showing a method for processing a compression request according to an embodiment of the present invention. Such as figure 1 As shown, the method includes:

[0034] Step S101, the server receives the compression request sent by the client, wherein the compression request is generated when the client detects that the volume of business to be requested is greater than a predetermined value;

[0035] When...

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 compressing request processing method and server. The compressing request processing method comprises the steps that the server receives a compressing request sent by a client end, wherein the compressing request is generated when client-end-detected service volume to be requested is larger than a preset value; during a preprocessing stage, the received compressing request is subjected to analysis, non-compressed data are obtained; during a content processing stage, the obtained non-compressed data are sent to a hyper text preprocessor which carries out processing on the received non-compressed data. Through the stage mechanism of an Nginx server, operation such as compressing which needs large calculated amount is achieved via Lua during the preprocessing stage, the non-compressed data are sent to a PHP for completing final processing during the content processing stage, so that the Lua and the PHP can achieve coordinated operation, and accordingly uncompressing on the compressing request can be achieved efficiently.

Description

technical field [0001] The invention relates to computer technology, in particular to a processing method and server for compression requests. Background technique [0002] Data transmission between a mobile terminal and a computing device (for example, a computer) is usually performed using a data cable. The data line is used for transmission, that is, the data line is connected between the mobile terminal and the computer, and the files to be transferred to the mobile terminal are selected from the computer and sent to the mobile terminal. The advantage of this kind of transmission is that the transmission speed is fast, but the disadvantage is that it is troublesome and wears out the microUSB interface. [0003] Another way to transmit data between the mobile terminal and the computer is to use wireless transmission. For wireless transmission, there are mainly the following situations: [0004] 1) There is a wireless router [0005] In this way, the mobile terminal is...

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 Patents(China)
IPC IPC(8): H04L29/08H04L29/06
Inventor 王博叶剑峰吴凯高原
Owner BEIJING QIHOO TECH CO LTD
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