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

File previewing method and system based on Hadoop distribution type

A distributed file and file preview technology, applied in the computer field, can solve the problems of file reliability, massive file conversion, timeliness, massive file retrieval, low conversion timeliness and efficiency, and unsmooth preview files, and achieves high file conversion efficiency. The effect of maintaining fluency and improving index query speed

Inactive Publication Date: 2012-10-24
深圳市远行科技股份有限公司
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The above file preview solution is only for file format conversion and file preview, but there are the following problems: problems with file reliability, timeliness of mass file conversion, and mass file retrieval
[0005] When processing large files or multiple files at the same time, the conversion timeliness and efficiency are low;
[0006] When there are a large number of files in the system, the file retrieval efficiency is low;
[0007] In the case of a slow network or a large file, the preview file is not smooth, which affects the user experience

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 previewing method and system based on Hadoop distribution type
  • File previewing method and system based on Hadoop distribution type
  • File previewing method and system based on Hadoop distribution type

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0053] Such as figure 1 As shown, the present invention provides a Hadoop-based distributed file preview system, including: a file storage device 10 , a file conversion device 20 , a file index device 30 , and a file preview device 40 .

[0054] The file storage device 10 is used for storing the source file to be converted, and the converted plain text TXT file and SWF file. Wherein, the file storage device is based on the Hadoop distributed file system, and the real data is stored on the Hadoop data nodes. The file storage device 10 stores the file f...

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 previewing method based on Hadoop distribution type. The file previewing method comprises the following steps of: step 1), storing a source file in a Hadoop distribution type file system; step 2), converting the source file stored in the Hadoop distribution type file system into an SWF (Small Web Format) file and a text file; step 3), carrying out index extraction on the text file and establishing index; and step 4), reading the SWF file needing to be previewed and displayed from the Hadoop distribution type storage according to the index so as to carry out playing. The invention also provides a file previewing system based on Hadoop distribution type. By the file previewing method and the system provided by the invention, the timeliness for simultaneous conversion processing of large and multiple files is obviously improved, and the conversion processing capability and the index searching capability of the mass files as well as the smoothness of played and previewed files are enhanced.

Description

technical field [0001] The invention relates to the field of computers, in particular to a file preview method and system. Background technique [0002] File preview refers to displaying the content of files in a certain format, such as Microsoft Office files, PDF files, text files, and some image files, without file editing. Existing file preview methods mainly include web page-based preview, thumbnail-based browsing, Apple's Quick Look and Flash-based preview. [0003] Web-based browsing refers to converting file content into HTML format for display, and its disadvantage is that file format information is lost. Browsing based on thumbnails is to generate pictures from the file content by page, and view them in the form of pictures. Its disadvantage is that it cannot search for text. QuickLook technology is a file preview method used on Mac OSX system. The disadvantage is that it can only be used on Mac OSX system, and it does not support file content search. The file pr...

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): G06F17/30
Inventor 李伟
Owner 深圳市远行科技股份有限公司
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