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

File upload method and system

A file uploading and file technology, applied in transmission systems, electrical components, etc., can solve the problems of large computing resources, slow file upload time, long waiting time for computing, etc.

Active Publication Date: 2015-11-18
GUANGDONG 115 TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the existing file scheme is: when a user uploads a file, it is necessary to calculate the hash verification value of the entire content of the file to be uploaded. If the file to be uploaded is relatively large, the required calculation waiting time is relatively long, so Consequentially more computing resources are used, that is, the time required to upload files is correspondingly slower

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 upload method and system
  • File upload method and system
  • File upload method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] The file uploading system 11 runs on the server 1 .

[0028] Hash value calculation module 110, for monitoring and responding to the upload instruction of the file to be uploaded by the terminal 3, locking the file to be uploaded by the terminal 3, analyzing whether the size of the locked file to be uploaded is greater than a preset threshold, When the size of the file is greater than the preset threshold, the content is extracted from the locked file to be uploaded according to the preset rules, and a hash value is calculated for the extracted content.

[0029] The hash value calculation module 110 is further configured to calculate a hash value for the entire content of the locked file to be uploaded when the size of the locked file to be uploaded is less than or equal to a preset threshold.

[0030] In this embodiment, the hash value is an MD5 value and / or a SHA1 value. In other embodiments of the present invention, the hash value is any other applicable type of hash...

Embodiment 2

[0040] The file upload system 11 runs in the terminal 3 .

[0041] The hash value calculation module 110 is used to monitor and respond to the upload instruction of the user's file to be uploaded, lock the user's file to be uploaded, and analyze whether the size of the locked file to be uploaded is greater than a preset threshold value. When the size is greater than the preset threshold, the content is extracted from the locked file to be uploaded according to the preset rules, and a hash value is calculated for the extracted content.

[0042] The hash value calculation module 110 is further configured to calculate a hash value for the entire content of the locked file to be uploaded when the size of the locked file to be uploaded is less than or equal to a preset threshold.

[0043] In this embodiment, the hash value is an MD5 value and / or a SHA1 value. In other embodiments of the present invention, the hash value is any other applicable type of hash verification value.

[0...

Embodiment 3

[0053] The hash value calculation module 110 of the file upload system 11 runs in the terminal 3 , and the hash value analysis module 111 and file upload module 112 of the file upload system 11 run in the server 1 .

[0054] The hash value calculation module 110 is used to monitor and respond to the upload instruction of the user's file to be uploaded, lock the user's file to be uploaded, and analyze whether the size of the locked file to be uploaded is greater than a preset threshold value. When the size is greater than the preset threshold, the content is extracted from the locked file to be uploaded according to the preset rules, and a hash value is calculated for the extracted content.

[0055] The hash value calculation module 110 is further configured to calculate a hash value for the entire content of the locked file to be uploaded when the size of the locked file to be uploaded is less than or equal to a preset threshold.

[0056] In this embodiment, the hash value is ...

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 file uploading method. The file uploading method picks up part of certain contents to conduct the Hash value calculation through the files which are prepared to be uploaded and sizes are bigger than the preset threshold value, and as to the files which are prepared to be uploaded and the sizes are smaller than or equal to the preset threshold value, the method conducts the Hash calculation on the whole content of the files, and comparing uploading is carried out according to the calculated Hash value. Therefore, the files can be guaranteed to be uploaded to a file receiving terminal quickly, accurately and safely. The invention further provides a file uploading system.

Description

technical field [0001] The invention relates to a file processing technology, in particular to a file upload method and system. Background technique [0002] The biggest feature of online storage is that the storage device and the stored data are always "online" and can be read and modified at any time to meet the speed requirements of front-end application servers or databases for data access. Chief among these online storage is disk storage. Early online storage devices were mainly built-in hard disks in servers. With the development of storage, online storage devices now also include disk devices such as fiber optic disk arrays or SCSI disk arrays. [0003] With the continuous development of online storage technology and the increasing dependence of users on online storage, users increasingly need to use online storage to meet the centralized storage and viewing of user files at any time. Centrally upload your own files for online storage. [0004] However, the existin...

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/08
Inventor 邓继锋
Owner GUANGDONG 115 TECH
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