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

A method for realizing off-line file writing in a san shared file system

A technology for sharing files and writing files, which is applied in transmission systems, redundancy in computing, data error detection, electrical components, etc. It can solve problems such as SAN network paralysis and client inability to communicate, so as to improve security and improve The efficiency of file writing and the effect of ensuring continuity

Inactive Publication Date: 2016-02-03
BEIJING DAYANG TECH DEV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this general-purpose SAN shared file system has the characteristics of high efficiency and wide applicability, the metadata server is the bottleneck and single point of failure. Once there is a problem with the metadata server, the entire SAN network will be paralyzed and cannot work. Dual-machine hot standby or clustering is often used to ensure high availability of metadata servers; even in this case, it is still difficult to avoid that when there is a problem with the LAN network or the metadata server fails locally, the client cannot communicate with all metadata in the system. The data server communication causes the SAN network to be paralyzed

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
  • A method for realizing off-line file writing in a san shared file system
  • A method for realizing off-line file writing in a san shared file system
  • A method for realizing off-line file writing in a san shared file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] This embodiment is a method for offline writing files in a SAN shared file system. The hardware system used in the method is as figure 1 As shown, it includes: multiple clients are connected to a metadata server and a disk array through a SAN network that transmits video files, and the multiple clients are connected to a metadata server through a LAN network that transmits metadata. The client can be an ordinary PC workstation or a server, with the ability to connect to a SAN network, and can process large files, such as high-definition video files. The SAN network described in this embodiment is an optical fiber network composed of fiber optic switches and optical cables. It is a broadband network with a bandwidth exceeding 1G. It can transmit high-definition video files. It can also form a SAN with a thousand or ten thousand M high-speed Ethernet. The internet. The LAN network described in this embodiment is an Ethernet network consisting of Ethernet switches and using...

Embodiment 2

[0032] This embodiment is an improvement of the first embodiment. It is about the refinement of the metadata of the pre-amount space of the disk in the "step of obtaining metadata" in the first embodiment. The process is as follows: image 3 Shown. In this embodiment, the client terminal obtains the metadata of the disk pre-amount space including the following sub-steps:

[0033] (1) The sub-step of detecting whether there is an original record: it is used for the client to check whether there is a backup of the metadata of the pre-amount space in the local memory or hard disk, if "no", then enter the "sub-step of opening up storage space", if "Yes" goes to the next substep.

[0034] This sub-step is a detection and judgment step to judge whether the metadata of the disk pre-amount space already exists in the local hard disk or memory. The existence of metadata generally means that the client has previously used the client to write data and the offline writing function is turned o...

Embodiment 3

[0046] This embodiment is an improvement of the above embodiment. It is a refinement of the above embodiment regarding offline file writing. The process is as follows Figure 4 Shown. The step of writing a file offline described in this embodiment includes the following sub-steps:

[0047] (1) The sub-step of detecting whether the client has the backup metadata of the pre-amount space: it is used for the client to check the local memory or hard disk, whether there is the metadata backup of the pre-amount space, if not, enter the "file write End sub-step", if there is, go to the next sub-step.

[0048] (2) The sub-step for the client to detect whether the backup of the backup metadata is valid: it is used for the client to detect whether the metadata of the pre-amount space in the local memory or the hard disk is valid, if "No", enter the "file writing end step" ", if "Yes" go to the next step.

[0049] (3) The sub-step of using backup metadata to write files: the client obtains th...

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 realizing off-line file writing in an SAN (Storage Area Network) shared-file system. The method comprises the following steps of: opening a file; acquiring metadata, wherein a client side acquires metadata of a balance disk space in addition to normal acquisition of metadata of a file to be written; judging whether a metadata server is online or not; writing the file on line; writing the file off line; and ending file writing. According to the invention, when the client side is used to acquire the metadata from the metadata server, a metadata pre-acquisition caching process is available, and when the metadata server or an LAN (Local Area Network) is in fault, the client side server can continuously and normally write the file content to be written, into the balance disk space according to a local metadata backup. The method disclosed by the invention has the advantages of effectively improving the write-in efficiency of the SAN shared-file system, guaranteeing the continuity, fault tolerance and antijamming property during file writing, and improving the safety of the SAN shared-file system.

Description

Technical field [0001] The invention relates to a method for implementing offline file writing in a SAN shared file system, a method for a network system to collect video files, and a method for offline file writing under a SAN shared file system suitable for the field of radio and television applications. Background technique [0002] At present, the common SAN shared file system is composed of metadata server (MDS), shared storage and multi-clients through LAN network and SAN network. Both metadata server and client can directly access shared storage through FC or ISCSI protocol, respectively FC-SAN and IP-SAN architecture. Because SAN network is optical fiber transmission, bandwidth, capacity, and speed are large, and it is often used to transmit files with huge data volume, such as video files. [0003] The metadata in the SAN shared file system is a data structure that describes the method of data organization. The metadata mainly records the division method, storage location...

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 Patents(China)
IPC IPC(8): G06F3/06G06F11/14H04L29/08
Inventor 徐荣波刘强方概王琪张跃李小莉
Owner BEIJING DAYANG TECH DEV