File private cache establishing method and device

A method and technology for creating files, applied in file systems, multi-program devices, file/folder operations, etc., can solve problems such as file content corruption and application program inability to work

Active Publication Date: 2014-01-29
CHINA NAT SOFTWARE & SERVICE
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The present invention provides a method for establishing a file private cache, which solves the problem of file content damage caused by differentiated products for file content, and at the same time solves the problem of application programs being unable to work due to the maintenance of the running file cache state

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 private cache establishing method and device
  • File private cache establishing method and device
  • File private cache establishing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the objects and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0055] Figure 7 It is a schematic diagram of the process flow of the private file cache in an implementation example of the method for establishing the private file cache of the present invention. First intercept all IRP requests in the operating system kernel; then determine the conditions according to the IRP policy: IRP type, process unique identifier, file path identifier, and file content to select the IRP request that needs to use the private cache of the file, and create a private cache; finally execute the private cache using the file Cached IRP requests and returns the results to the operating system kernel.

[0056] Such as Figure 7 Shown technical scheme of the present invention is realized like this;

[0057] A method for establishing a file private ...

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 file private cache establishing method and device. The device mainly comprises a strategy determining module and a file private cache unit module. The method specifically comprises 1) intercepting all IRP (I/O (input/output) request package) requests in an operating system kernel; 2) according to IRP strategy determining conditions including IRP types, process unique identities, file path identities and file content, selecting the IRP requests which require file private caches and establishing private cache units; 3) executing the IRP requests of the file private caches and feeding the result back to the operating system kernel. According to the file private cache establishing method and device, the file private caches and file system caches can exist simultaneously, so that the problem of strong coupling between various application content differentiating products and operating system file cache processing of the same file can be solved; meanwhile, the operating mode of the file private caches is identical to that of the file system caches, and no changes of the file operating mode and the file information of application software occur, so that the problem of uniformity of various applications access to the same file can be solved.

Description

technical field [0001] The invention relates to a file cache establishment method and device, in particular to a file private cache method and device, and belongs to the file cache field. Background technique [0002] In order to improve the efficiency of file access by applications, the Windows operating system provides a cache mechanism for a single file. This cache mechanism has only one cache for a single file. However, the current products that distinguish content between different applications of the same file have the following defects: [0003] High coupling with the operating system leads to file corruption: Traditional products that distinguish the same file content share a single file cache with the file system cache. The operation of this type of product on cached data will cause the data in the file cache to be inconsistent with the data in the file disk , eventually leading to file corruption. [0004] The inconsistency of applications accessing the same file...

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): G06F17/30G06F9/46
CPCG06F16/16G06F16/172
Inventor 王文宇苑海彬吴生东刘玉红
Owner CHINA NAT SOFTWARE & SERVICE
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