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

Method, device and system for controlling disc visiting

A technology for disk access and control devices, which is applied in the fields of instruments, electrical digital data processing, etc., and can solve the problems of inaccessible data and loss of disk data.

Active Publication Date: 2012-08-01
TANGSHAN CAOFEIDIAN LIANCHENG TECH CO LTD
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a disk access control method, aiming at solving the problem of the prior art that when the disk is pulled out, the file control information recorded on the metadata disk of the disk has been deleted, which leads to the loss of disk data and the inability to access the original Problems with data on disk

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, device and system for controlling disc visiting
  • Method, device and system for controlling disc visiting
  • Method, device and system for controlling disc visiting

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] In this embodiment, during the disk access control process, when the disk is detected to be unplugged, the file control information of the unplugged disk on the metadata disk is retained, and the file control information of the unplugged disk on the metadata disk is retained, and whether to retain or delete is determined according to the following steps, thereby facilitating the use of the disk. figure 1 Shows a flow chart of the implementation of the disk access control method provided in the first embodiment of the present invention. The method is applied to a cluster storage distributed file system. The system includes a metadata disk for storing metadata and a file for storing files. The method is detailed as follows:

[0050] In step S101, when a disk is inserted, the disk serial number of the disk inserted at the current position is obtained.

[0051] In this embodiment, in addition to the disk serial number, other disk information that can characterize the disk charact...

Embodiment 2

[0062] In this embodiment, on the basis of the first embodiment, the power-on times of the disk inserted in the current position are also obtained, and the power-on times of the disk inserted in the current position are determined based on the first embodiment. Whether the disk is a new disk, figure 2 Shows a flowchart of the implementation of the disk access control method provided in the second embodiment of the present invention. The method is applied to a cluster storage distributed file system. The system includes a metadata disk for storing metadata and a file storage system. The method is detailed as follows:

[0063] In step S201, when a disk is inserted, the disk serial number of the disk inserted in the current position and the number of power-on times of the disk inserted in the current position are obtained.

[0064] In step S202, according to the obtained disk serial number of the current position and whether the pre-stored current position is consistent with the spec...

Embodiment 3

[0070] In this embodiment, on the basis of the first embodiment, the power-on times of the disk inserted in the current position are also obtained, and the power-on times of the disk inserted in the current position are determined based on the first embodiment. Whether the disk is a new disk, image 3 Shows a flow chart of the implementation of the disk access control method provided in the third embodiment of the present invention. The method is applied to a cluster storage distributed file system. The system includes a metadata disk for storing metadata and a file storage system. The method is detailed as follows:

[0071] In step S301, when a disk is inserted, the disk serial number of the disk inserted in the current position and the power-on times of the disk inserted in the current position are obtained.

[0072] In step S302, according to the obtained disk serial number of the current position and the pre-stored current position, the device number of the device where the dis...

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 is applicable to the technical field of discs, and provides a method, a device and a system for controlling disc visiting. The method comprises judging whether a disc is a new one or not according to disc serial number of the current position and the congruent relationship between preset stored current position and specific disc serial number, or according to the disc serial number of the current position and the congruent relationship among the preset stored current position, equipment number of equipment of the disc and the specific disc serial number; on yes judgment, the congruent relationship between the current position originally stored on a metadata disc and an old disc inserted in the current position is refreshed; and on no judgment, the congruent relationship between the current position originally stored on a metadata disc and an old disc inserted in the current position is stored. According to the disc serial number of the disc at the current position, the file control information of the disc recorded on the metadata disc is deleted or retained, and the condition that users cannot visit the data on the original disc due to the fact of disc data loss is avoided.

Description

Technical field [0001] The invention belongs to the technical field of magnetic disks, and in particular relates to a method, device and system for controlling disk access. Background technique [0002] A file system is a directory structure included in a disk or partition. The disk may include an optical disk, a floppy disk, a flash disk, a hard disk, and other storage devices. Here, a commonly used hard disk is used as an example. Traditional file systems include the Second Extended File System (ext2), the Third Extended File System (ext3), and the NT File System (NT File System, NTFS). Access is limited to local access. In order to achieve access to the file system at the remote end, the network file system protocol is usually used to share the local file system with other servers, users or applications, so as to realize the storage space and data between multiple servers and multiple applications. shared. However, the access efficiency of this kind of file system is low. A...

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): G06F13/10
CPCG06F13/10
Inventor 杜开田凌华兵罗荣
Owner TANGSHAN CAOFEIDIAN LIANCHENG TECH CO 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