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

File transmission method and system based on hypertext transfer protocol

A technology for hypertext transmission and file transmission, which is applied in the field of file transmission methods and systems based on hypertext transmission protocol, and can solve problems such as shortening upload time and failure to upload normally.

Active Publication Date: 2013-08-28
WUHAN OPENKER COMPUTING
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to overcome the deficiencies of the above-mentioned background technology, and provide a file transfer method and system based on hypertext transfer protocol, which can greatly shorten the upload time, improve the upload efficiency, and avoid the failure of normal upload due to insufficient disk space of the physical server The problem

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
  • File transmission method and system based on hypertext transfer protocol
  • File transmission method and system based on hypertext transfer protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0033] The embodiment of the present invention provides a file transfer method based on hypertext transfer protocol, comprising the following steps:

[0034] A. Set the attributes of the file form in the client browser: set the value of the method attribute of the client browser form to POST (send data), set the value of the encoding method attribute to multipart / form-data (multipart form submission), The user selects the file to be uploaded through the file form control of the client browser, and clicks the submit button;

[0035] B. The client browser sets the content length in the HTTP (HyperText Transfer Protocol) request header to the total length of the file to be uploaded, and sends a file upload request to the web console. The file upload request includes HTTP request header, the web console is usually set up by the open sour...

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 file transmission method and system based on a hypertext transfer protocol, and relates to the field of computer network transmission. The file transmission method comprises the following steps that a client browser sets a content length in an HTTP request header to be the total length of a file to be uploaded, and sends uploading requests including the HTTP request header to a webpage console; when the webpage console receives the uploading requests, 2n kilobyte space in a physical server is lined out to serve as an internal storage buffer area, the n is a positive integer, and 6<=n<=9; the webpage console receives uploaded data and the uploaded data are written in the internal storage buffer area, and when the internal storage buffer area is fully written, data in the internal storage buffer area are read and uploaded to a storage server, and the internal storage buffer area is emptied; when the total uploaded data reach the value set by the content length in the HTTP request header, the data in the internal storage buffer area are read and uploaded to the storage server. According to the file transmission method and system, uploading time can be shortened, uploading efficiency is improved, and the fact that uploading cannot be achieved due to insufficient disk space of the physical server is avoided.

Description

technical field [0001] The invention relates to the field of computer network transmission, in particular to a hypertext transfer protocol-based file transfer method and system. Background technique [0002] The cloud computing architecture includes physical servers and storage servers. Physical servers are connected to storage servers through high-speed networks. Applications such as web consoles and virtualization software running several virtual servers are installed in physical servers to provide services for users on the network. Virtual servers Administrators manage and deploy virtual servers through the web console. In the cloud computing architecture, in order to ensure the high availability of the virtual server, the storage of the virtual server uses remote shared storage, while the physical server where the virtual server is located only configures a small local storage for the installation of virtualization software. In order to facilitate the rapid deployment o...

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/06H04L29/08
Inventor 张益金
Owner WUHAN OPENKER COMPUTING
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