Supercharge Your Innovation With Domain-Expert AI Agents!

file uploading method and system based on data flow and Hash comparison

A file upload and data flow technology, applied in the field of file upload, can solve the problems of long upload time, long compression process, long waiting process, etc., and achieve good promotion and application value and the effect of improving experience

Inactive Publication Date: 2019-05-28
浪潮卓数大数据产业发展有限公司
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The characteristics of direct upload and compressed upload are as follows: direct upload uses the original image or original video, but this method takes a long time to upload; compressed upload needs to compress the image or video, the compressed file is smaller, and the actual upload time is relatively short. Short, but the user needs to wait for the image or video compression process, and the compression process is relatively long, and there will be distortion after compression of photos or videos
Therefore, for user perception, both uploading schemes require a relatively long waiting process

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 uploading method and system based on data flow and Hash comparison

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0030] The file uploading method based on data flow and hash comparison of the present invention includes uploading ordinary files and oversized files.

[0031] When uploading ordinary files, the user chooses to upload the file, uses the APP service to create a data stream file locally and automatically generates a hash value, the user only uploads the hash value, and the cloud analyzes the hash value to become the real file name and puts it into the database. After the user operation is completed, upload the real file in the background through the APP service, publish the data stream file to the cloud, and the cloud will analyze and split the file, and rename it to form the file actually uploaded by the user, and complete the verification and pass the verification Then delete the local data stream file.

[0032] When uploading a very large file, this method intercepts the first and last hash values ​​of the file to save time. After the file is uploaded, the cloud analyzes the...

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 uploading method and system based on data flow and Hash comparison, and belongs to the technical field of file uploading. The invention discloses a file uploading methodbased on data flow and Hash comparison. The method comprises the following steps of when a common file is uploaded, a user selects to upload a file, createa data stream file locally by utilizing an APP service and automatically generate a hash value; the user only uploads the Hash value; the cloud analyzes the hash value into a real file name and stores the real file name in a database; after theoperation of the user is completed, a real file is uploaded on the background through the APP service, the data stream file is published to the cloud end, the file is analyzed, split and renamed by the cloud end, a file actually uploaded by the user is formed, verification is completed, and the local data stream file is deleted after verification is passed. The file uploading method based on dataflow and Hash comparison is simple to operate and wide in application field, can realize quick file uploading in a service scene with fault tolerance in specific running time, and has very good popularization and application values.

Description

technical field [0001] The invention relates to the technical field of file uploading, and specifically provides a file uploading method and system based on data stream and hash comparison. Background technique [0002] In the prior art, some applications are used in scenarios where file upload is required, generally using direct upload and compressed upload. The characteristics of direct upload and compressed upload are as follows: direct upload uses the original image or original video, but this method takes a long time to upload; compressed upload needs to compress the image or video, the compressed file is smaller, and the actual upload time is relatively short. Short, but the user needs to wait for the image or video compression process, and the compression process is relatively long, and the photo or video will be distorted after compression. Therefore, for user perception, both of these two uploading schemes require a relatively long waiting process. Contents of 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
IPC IPC(8): H04L29/08H04L29/06G06F16/13
Inventor 元英会肖雪罗森王大伟陈峰王仕宁
Owner 浪潮卓数大数据产业发展有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More