Flex based cross-platform method for uploading files after message digest 5 (md5) value is checked at browser end

A technology for uploading components and clients, applied in electrical components, transmission systems, etc., can solve problems such as low efficiency, occupying system resources, and no local calculation of file md5 values, and achieve cross-platform, utilization of network bandwidth, and reduction of waiting time Effect

Active Publication Date: 2013-04-03
XINHUANET CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, due to the design of Flex itself, the efficiency of implementing the md5 algorithm based on the native API is very low, and it also takes up a lot of system resources.
In addition, in the past, the Flash virtual machine used AVM2, which also led to low efficiency in the calculation of large files.
Therefore, the current Flex-based upload components do not have the function of locally calculating the file md5 value

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
  • Flex based cross-platform method for uploading files after message digest 5 (md5) value is checked at browser end

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] In order to make the purpose, technical solution and advantages of the present invention clearer, the specific implementation of the present invention will be described in detail below in conjunction with the accompanying drawings. Here, the schematic implementation and description of the present invention are used to explain the present invention, but not to limit the present invention.

[0014] The system is generally divided into two parts: the client and the application server. The detailed process of file md5 calculation and uploading is shown in the attached picture figure 1 shown.

[0015] When uploading, the client checks the local environment separately, and automatically determines the md5 calculation method, which is divided into one-time loading memory calculation and segmented parallel calculation. The obtained results cooperate with the cloud server to verify the authority and the existence of md5. After the client submits the form, the cloud server saves...

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 cross-platform method for uploading files after a message digest 5 (md5) value is checked by a browser. By means of the method, before a user uploads local files, the calculating of the md5 value of the files by a Flash embedded into a webpage is facilitated, and a mode that a Flex calls a C++ library function to calculate the md5 value is combined so as to achieve high speed calculation of the md5 value. The Flash is a cross-platform browser plug-in unit, so that the md5 value of the files can be calculated at a browser end in operating systems of windows, mac, linux and the like, and defects that the efficiency is low, the resources are wasted, traditional methods depend on the operating systems, the generality is absent, and the like in terms of the traditional methods that the md5 value can be started to be calculated at a server end only when the files are completely uploaded to the server are overcome. A Flex technology is utilized, the browser calculates the md5 value of the files before the files are uploaded, the md5 value is checked at the server end, and whether same files exist or not is judged. By means of the method, duplicated files are prevented from being uploaded, the flow is saved, the pressure of a server is reduced, the resources are reasonably utilized, and the file upload efficiency is greatly improved.

Description

Technical field: [0001] The present invention relates to a method for uploading files after a Flex-based cross-platform browser carries out file md5 verification, combined with server-side verification, and also involves Flex technology, C / C++ technology, Java client and server-side technologies , belonging to the field of software technology. Background technique: [0002] With the improvement of network speed and the rapid development of the Internet, Flex, as a new generation of rich Internet client application technology, has powerful interactive functions, and its application is becoming more and more extensive. As a cross-platform browser plug-in, Flash enables Flex technology to be applied to the development of various web component applications. [0003] With the explosive growth of Internet data, the phenomenon of data duplication is obvious, the demand for bandwidth and traffic is increasing, and user experience has become an important factor in the development of...

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/08
Inventor 陆瑜綦玉冰
Owner XINHUANET 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