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

Method and program for file information write processing

Inactive Publication Date: 2006-08-03
FUJITSU LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0034] The objective of the present invention is to provide a write processing method and program which enables shortening of the period wherein there is risk of data damage when power supply interruption and the like occur.
[0036] Here, since data which should be overwritten to the cluster specified as the write target is written to the cluster of the empty area within the actual data area which has been searched and obtained, if as many of these clusters which are empty areas as there are clusters which are write targets are secured, the data to be overwritten can be written to this empty area cluster all at once. In this case, by comparing this to the conventional example wherein data is directly overwritten to this write target cluster, it is possible to eliminate the risk of storing incomplete data within the actual data area due to the power supply interruption during the data overwrite, so when a power supply interruption and the like occur, the period wherein there is risk of data damage is shortened. Data to be overwritten refers to update information, or in other words, “Data New”(shown in FIGS. 15 to 18 as Data2 New, Data3 New, and Data4 New).
[0038] Here, the change or the generation of the directory entry of the file of the destination of the movement is made so as to link to the actual data in the file of the source of the movement in a state wherein the link between the directory entry of the file of the source of the movement and the actual data of the file of the source of the movement is kept, the period wherein the information of the file of the source of the movement only exists in the primary memory, as in the conventional example, is eliminated, and the period wherein risk of data damage exists, when power supply interruption and the like occurs, can be shortened.
[0039] According to the present invention, because data which should be overwritten to the cluster specified as write target is written to the cluster of the empty area within the actual data area which has been searched and obtained, data which should be overwritten can be written to the empty area cluster all at once, when as many of these clusters which are empty areas as there are clusters which correspond to the data comprised in the write instruction from the application are secured. In this case, by comparing this to the conventional example wherein data is directly overwritten to this write target cluster, it is possible to eliminate the risk of storing incomplete data within the actual data area due to the power supply interruption during data overwrite, so when a power supply interruption and the like occur, the period wherein there is risk of data damage is shortened.
[0040] In addition, according to the present invention, the change or the generation of the directory entry of the file of the destination of the movement is made so as to link to the actual data in the file of the source of the movement in a state wherein the link between the directory entry of the file of the source of the movement and the actual data of the file of the source of the movement is kept, the period wherein the information of the file of the source of the movement only exists in the primary memory, as in the conventional example, is eliminated, and the period wherein risk of data damage exists, when power supply interruption and the like occurs, can be shortened.

Problems solved by technology

In other words, it is a period wherein there is risk of data damage.

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 and program for file information write processing
  • Method and program for file information write processing
  • Method and program for file information write processing

Examples

Experimental program
Comparison scheme
Effect test

first embodiment

[0072]FIG. 14 is a block diagram showing the configuration of a write processing unit in the present invention.

[0073] In FIG. 14, the write processing unit is configured between the application and the device driver and performs processing for outputting instruction corresponding to the file information write instruction from the application to the device driver. This file information write instruction from the application is retained within the primary memory as information to be overwritten which comprise the overwrite start position, length, and data having the length.

[0074] In FIG. 14, the write processing unit, comprises: write target specification unit 11 for specifying (one or plural) cluster(s) which will be the target of the write instruction, based on file information write instruction from the application; empty area search unit 12 for searching clusters which are empty areas within the actual data area of the secondary memory and obtaining the search result; write proce...

second embodiment

[0096]FIG. 21 is a block diagram showing the configuration of the write processing unit in the present invention.

[0097] In FIG. 21, the write processing unit is configured between the application and the device driver, and a process for outputting instruction corresponding to the file information write instruction from the application to the device driver is performed.

[0098] In FIG. 21, the write processing unit comprises: search unit 23 for searching the entry of the directory of the destination of the movement and finding whether or not the write instruction is a file move which is accompanied by overwrite; based on whether or not this write instruction of the file move is accompanied by overwrite, write process execution unit 21 for changing or generating a directory entry of a file in a destination of the movement so as to link to the actual data of the file of the source of the movement, in a state wherein the link between the directory entry of the file of the source of the m...

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 file information write processing method according to the present invention is a file information write processing method wherein a computer executes a process for outputting instruction corresponding to a file information write instruction from an application to a device driver, wherein: searching clusters which are empty areas within an actual data area of a memory unit of the computer, and obtaining the search result; if clusters which are empty areas exist, writing information to overwrite to one or more clusters within the actual data area of the memory unit which is a target of the write instruction from the application, to the clusters which are empty areas; and freeing clusters which were to be overwritten by the information written to the empty area clusters.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS [0001] This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2004-375074, filed in Dec. 12, 2004, the entire contents of which are incorporated herein by reference. FIELD OF THE INVENTION [0002] The present invention relates to a processing method for writing file information and program thereof. BACKGROUND OF THE INVENTION [0003] File access within a computer system is realized through a combination of three programs: application; file system (middleware); and device driver. Here, application refers to various application programs such as word processors and CAD software. Device driver refers to a control program which performs read / write on each area within a (nonvolatile) secondary memory, such as magnetic disks and flash memory, wherein stored contents are retained even when power is tuned off. File system (middleware), which is provided between application and device driver, perfo...

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
CPCG06F3/0619G06F3/0679G06F3/0676G06F3/0643A47K5/03
Inventor ABE, NAOKI
Owner FUJITSU LTD
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