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

Method for realizing instant previewing of file

A file and file header technology, applied in the field of real-time preview of files, can solve problems such as slow loading speed, loading time affects information acquisition time, delays reading and learning time, etc., and achieves the effect of improving concurrency efficiency

Pending Publication Date: 2021-11-26
YOZOSOFT
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When we use a browser to open a web page document for preview, the loading time of the document is relatively long, especially when encountering a document with a large number of pages, the loading speed of the web page is even slower. This phenomenon is mainly related to the current situation. It is related to the transcoding method of the document at this stage. The document transcoding method at this stage is synchronous transcoding, that is, it must wait for all pages of the document to be transcoded in the background before returning to the user’s preview address. At this time, the webpage opened by the user will After the loading is complete, the preview interface is displayed, which means that the longer the document pages, the longer the loading time. This transcoding method makes the user's experience bad, and the long loading time also affects the information acquisition time and delays reading study time

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 for realizing instant previewing of file
  • Method for realizing instant previewing of file
  • Method for realizing instant previewing of file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0034] Aiming at the problems existing in the prior art, the present invention provides a method for realizing instant file preview, please refer to Figure 1-4 , a method for realizing instant file preview, comprising:

[0035] Implanting the asynchronous transcoding program into the computer, the user uploads the file to the computer, and calls the asynchronous transcoding program from the background server of the computer;

[0036] The asynchronous transcoding program obtains the information of the uploaded file, and creates a secondary thread to analyze the file, and obtain the conversion result;

[0037] The auxiliary thread sends the obtained conversion result to the computer through the asynchronous transcoding program, and the computer obtains the conversion result, and the conversion result includes a web page preview address;

[0038] When the user opens the web page preview address on the computer, the first page of the file is quickly loaded, and the auxiliary thr...

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 method for realizing instant previewing of a file, which comprises the following steps: implanting an asynchronous transcoding program into a computer, uploading the file to the computer by a user, and calling the asynchronous transcoding program from a background server of the computer; the method also includes that the asynchronous transcoding program obtains information of an uploaded file and creates an auxiliary thread to analyze the file to obtain a conversion result; the auxiliary thread sends the obtained conversion result to the computer through the asynchronous transcoding program, the computer obtains the conversion result, and the conversion result comprises a webpage preview address; the user opens the webpage preview address on the computer, the first page of the file is quickly loaded, and the auxiliary thread created by the asynchronous transcoding program continues to load subsequent content in the background. According to the method, the user is responded when the request is received, and the user can preview the request in advance, so that the concurrency efficiency is improved.

Description

technical field [0001] The invention relates to a method for realizing instant preview of files, in particular to a method for realizing instant preview of files based on JAVA multi-process and multi-thread. Background technique [0002] When we use a browser to open a web page document for preview, the loading time of the document is relatively long, especially when encountering a document with a large number of pages, the loading speed of the web page is even slower. This phenomenon is mainly related to the current situation. It is related to the transcoding method of the document at this stage. The document transcoding method at this stage is synchronous transcoding, that is, it must wait for all pages of the document to be transcoded in the background before returning to the user’s preview address. At this time, the webpage opened by the user will After the loading is complete, the preview interface is displayed, which means that the longer the document pages, the longer...

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): G06F40/106G06F16/957
Inventor 朱玮周峰丁昊
Owner YOZOSOFT
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