Method for sending and receiving HTTP (Hyper Text Transfer Protocol) attachment as well as server and terminal equipment

A terminal device and server technology, applied in the field of communication, can solve problems such as unable to send multiple attachments

Active Publication Date: 2012-01-25
HUAWEI TECH CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method for sending and receiving HTTP attachments, which is used to solve the defect that multiple attachments cannot be sent through one response message in the prior art, and improve the transmission efficiency of HTTP attachments
[0005] The embodiment of the present invention also provides a server and a terminal device, which are used to solve the defect that multiple attachments cannot be sent through one response message in the prior art, and improve the transmission efficiency of HTTP attachments

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
  • Method for sending and receiving HTTP (Hyper Text Transfer Protocol) attachment as well as server and terminal equipment
  • Method for sending and receiving HTTP (Hyper Text Transfer Protocol) attachment as well as server and terminal equipment
  • Method for sending and receiving HTTP (Hyper Text Transfer Protocol) attachment as well as server and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

specific example

[0033] Content-Disposition: form-data; name="attachments"

[0034] Content-Type: multipart / mixed; boundary="====aaabbb"

[0035] ====aaabbb

[0036] Content-Disposition: attachments; filename = "textBody.txt";

[0037] Content-Type: text / plain; charset=UTF-8

[0038] Content-Transfer-Encoding: 8 bit

[0039] ...

[0040] ====aaabbb

[0041] Content-Disposition: attachments; filename = "image1.gif";

[0042] Content-Type: image / gif

[0043] MIME-Version: 1.0

[0044] Content-ID:

[0045] ...

[0046]See the specific example of the above segmented HTTP response message, where the message header is:

[0047] Content-Disposition: form-data; name="attachments"

[0048] Content-Type: multipart / mixed; boundary="====aaabbb"

[0049] The above message header is a message header using HTTP, where Content-Disposition is an extension field in MIME format, which is used to identify the download method of the client browser. In the above specific example, "form-data" indicates ...

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 a method for sending and receiving an HTTP (Hyper Text Transfer Protocol) attachment as well as a server and terminal equipment. The method comprises the following steps: the server receives a request message from the terminal equipment; the server generates a message header including segmental boundary tag information, generates at least one message segment according to at least one attachment, makes at least one message segment into a message body in an MIME (Multipurpose Internet Mail Extensions) format, and makes the message header and the message body into a segmental HTTP response message, wherein, each message segment adopts the MIME format and comprises a segmental boundary tag and an attachment message segment, and the attachment message segment carries one attachment; and the server sends the segmental HTTP response message to the terminal equipment. By adopting the method, the server and the terminal equipment, the computing resource can be saved and the HTTP attachment transmission efficiency can be improved.

Description

technical field [0001] Embodiments of the present invention relate to communication technologies, and in particular to a hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP for short) attachment sending and receiving method, server and terminal equipment. Background technique [0002] In the process of message communication using HTTP, the request message initiated by the terminal device to the server may point to multiple files. For example, the terminal device requests a movie from the server through an HTTP request message, and the server needs to return multiple files such as the video file of the movie, the picture file of the movie poster, and the text file of the movie introduction to the terminal device. For another example, the terminal device requests a multimedia message from the server through an HTTP request message, that is, a multimedia message, and the server needs to return multiple files such as text files, picture files, video files, and video ...

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/06H04L29/08
Inventor 郭剑锋
Owner HUAWEI 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