Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for achieving rapid file previewing based on disk cache

A disk cache and file technology, applied in the field of rapid file preview based on disk cache, can solve problems such as limited space for improvement, reduced accuracy of preview images, complex rules, etc., to ensure accuracy, improve preview speed, and wide application range Effect

Inactive Publication Date: 2015-12-23
SHANGHAI WEIHONG ELECTRONICS TECH
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the rules of simplification itself are complicated, which reduces the accuracy of the preview image, and the room for improvement is limited

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 achieving rapid file previewing based on disk cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to describe the technical content of the present invention more clearly, further description will be given below in conjunction with specific embodiments.

[0023] The method for realizing quick preview of files based on disk cache is mainly characterized in that the method includes the following steps:

[0024] (1) Generate a matching code corresponding to the file for the selected file according to the preset matching code generation rule;

[0025] (2) find whether there is a preview image file named after the matching code, if yes, then continue step (3), otherwise continue step (4); because directly use the matching code as the file of the preview image file in the present invention Name, the method of generating and checking the existing preview image is direct inspection, that is, it does not need to search through the file list or matching code list, that is, to judge whether there is a matching preview image, it only needs to judge whether there is a ma...

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 method for achieving rapid file previewing based on a disk cache. The method includes the steps of generating a matched code corresponding to a file for the selected file according to a preset matched code generating rule; finding whether a preview image file named with the matched node exists or not; if the preview image file exists, opening and loading the found preview image file named with the matched code, and carrying out preview displaying; if the preview image file does not exist, calculating a vector diagram for the selected file, and generating a preview image file; naming the generated preview image file with the matched code, and storing and displaying the preview image file. According to the method for achieving rapid file previewing based on the disk cache, a formerly-drawn preview image can be found through one matching rule, and rapid displaying can be achieved; in this way, after the preview image is stored with the method and used for follow-up use, much running time can be saved, the accuracy of the preview image can be guaranteed, the preview speed can be effectively increased, and the wider application range can be achieved.

Description

technical field [0001] The invention relates to the technical field of numerical control processing, in particular to the technical field of cutting processing control of numerical control machine tools, and specifically refers to a method for quickly previewing files based on disk cache. Background technique [0002] In the current CNC machine tool cutting processing system, it is generally required to support a wide variety of file types, and there is a preview display when opening the file, and the file preview speed is fast. However, due to the different types of files, most of the NC processing files are vector graphics, and some files such as NC files are relatively large, dozens of M, and the analysis process is time-consuming, so the process of generating previews is relatively slow. [0003] For the above system requirements, most of the existing data systems improve the speed of preview by simplifying the analysis of the data processing files. However, the simplif...

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): G06F3/06G06F17/30
Inventor 杨开锦丁强
Owner SHANGHAI WEIHONG ELECTRONICS TECH