Unlock instant, AI-driven research and patent intelligence for your innovation.

HTTP chunked coding and IP packet packaging and analyzing method

An encapsulation method and technology of IP data packets, applied in the fields of parsing, HTTP chunked encoding and IP packet encapsulation, can solve problems such as low efficiency, and achieve the effect of improving overall performance and parsing efficiency

Active Publication Date: 2015-07-15
INST OF ACOUSTICS CHINESE ACAD OF SCI +1
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to overcome the inefficient defect of the HTTP chunked data parsing method in the prior art, thereby providing a kind of high-efficiency encoding and encapsulating, parsing method

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 chunked coding and IP packet packaging and analyzing method
  • HTTP chunked coding and IP packet packaging and analyzing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention will be further described now in conjunction with accompanying drawing.

[0021] The transmission of TS data includes two stages of IP packet encapsulation and IP packet analysis, which will be explained separately below.

[0022] The IP packet encapsulation of TS data is completed at the sending end. During the IP packet encapsulation process, a specific HTTP chunked encoding method is adopted. Refer to figure 1 , including the following steps:

[0023] Step 101), the receiving end sends an HTTP request to the sending end;

[0024] Step 102), the sending end encapsulates the HTTP response header into the first IP data packet and sends it to the receiving end, and then encapsulates the TS data to be transmitted into several coded chunks (chunks) according to integer multiples of 188 bytes ; The IP data packet refers to an IP packet whose TCP payload is not empty;

[0025] Step 103), the sending end encapsulates the character string "CRLF chunk-s...

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 present invention relates to an HTTP chunked encoding and IP packet encapsulation method. The method comprises: a sending end encapsulating an HTTP response header into the first IP data packet; encapsulating TS data to be transmitted into several chunks in an integer multiple of 188 bytes, and for any of the chunks, encapsulating "CRLF chunk-size CRLF" of the chunk into an IP data packet, and segmenting "chunk-data" of the chunk in an integer multiple of 188 bytes according to requirements, and encapsulating the result after segmentation into several IP data packets separately.

Description

technical field [0001] The invention relates to the field of network transmission, in particular to an HTTP chunked encoding and IP packet encapsulation and analysis method. Background technique [0002] The message format of the HTTP protocol includes a message header and a message body. The message header part defines some attribute fields, which provide important information to the receiver of the message. Wherein, the Content-Length attribute field indicates the length of the message body, which is convenient for the programming realization of the data receiving process. However, for some dynamically generated data, the message generator may not be able to know the total length of the message body immediately, so the value of the Content-Length field cannot be calculated in time. Using chunked encoding can avoid this problem. Chunked is a transmission encoding method of the HTTP / 1.1 protocol, which divides the data to be transmitted into multiple parts, and the messag...

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/08
CPCH04L67/146H04L67/02H04L69/166
Inventor 刘磊郑艳伟彭飞
Owner INST OF ACOUSTICS CHINESE ACAD OF SCI