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

Method and system for uploading files

A file upload and file technology, applied in the field of computer network, can solve the problems of slow page loading speed, no support for resuming uploads, no automatic adaptation, etc., and achieve the effect of improving access speed and optimizing file upload methods

Active Publication Date: 2013-01-09
LETV CLOUD COMPUTING CO LTD
View PDF3 Cites 49 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. When uploading files, there is no file verification, so the integrity and reliability of uploaded files cannot be guaranteed, nor can normal file functions be guaranteed;
[0005] 3. When the upload fails, when uploading again, it does not support resuming the upload
[0006] 2. There is no automatic file identification function, that is, the existing system cannot automatically identify the file type
[0007] 4. The existing system does not have the function of breaking up storage, that is, it does not have the ability to automatically adapt to the corresponding storage directory according to the file type. Therefore, after the file is uploaded successfully in the existing system, the file corresponds to the same domain name. For example, a user needs to access a web page with three image elements: jpg, png, and gif. The existing file upload system accesses these three types of image elements through the same domain name. When the page loads, all elements need to be queued for loading. Pages load slowly

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 and system for uploading files
  • Method and system for uploading files
  • Method and system for uploading files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of embodiments of the present disclosure. It will be apparent, however, to one skilled in the art that the present disclosure may be practiced without these specific details. The file upload method and system provided by the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0042] refer to figure 1 , which shows a flowchart of a file uploading method according to an embodiment of the present invention.

[0043]In step 101, the user selects a file to be uploaded and submits a hash value of the file to be uploaded. The hash value can be directly input by the user, or the corresponding module in the client can automatically obtain the hash value to be submitted by calculating the file to be uploaded. The hash value can be any hash function known to those sk...

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 relates to a method and a system for uploading files. The method includes that a user selects files to be uploaded and submits hashed value of the files to be uploaded. A request for file uploading and based on HTTPOST is sent to a server. File type of the files to be uploaded is judged, the next step is conducted on yes judgment, and failure warning is returned to the user to finish uploading on no judgment. The method further includes recognizing content of the files to the uploaded, reminding the user that identical files exist, returning pre-existing file address and finishing uploading if identical files exist in the server, starting uploading if no identical files exist in the server, calculating the hashed value of the uploaded files, comparing the hashed value with submitted hashed value, reminding that file uploading succeeds, returning the file address to the user and finishing uploading if the values are identical, and returning the uploading failure warning and finishing uploading if the values are not identical. The method and the system resolve the problems of synonym file re-uploading, file type judgment, file verification and the like.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a method and system for uploading files based on http post. Background technique [0002] With the widespread application of Internet technology, users' demand for file transfer is also increasing day by day. The hypertext transfer protocol Http defines the communication method of file transfer between the server and the client. Compared with the ftp protocol used in the past, the http protocol is more suitable for web programming in terms of file transfer technology, and has better security and simpler permission control. Httpclient is an efficient, up-to-date, feature-rich client programming toolkit that supports the http protocol. It implements methods including GET, POST, PUT, HEAD, etc., where the POST method is used to send a request to the destination server. It can be used to upload files. [0003] In the prior art, there are the following disadvantages in th...

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/08G06F17/30
Inventor 刘旺
Owner LETV CLOUD COMPUTING 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