CN104103304B - A kind of video and audio filing storage and call method based on LTFS - Google Patents
A kind of video and audio filing storage and call method based on LTFS Download PDFInfo
- Publication number
- CN104103304B CN104103304B CN201410322236.7A CN201410322236A CN104103304B CN 104103304 B CN104103304 B CN 104103304B CN 201410322236 A CN201410322236 A CN 201410322236A CN 104103304 B CN104103304 B CN 104103304B
- Authority
- CN
- China
- Prior art keywords
- tape
- index
- file
- video
- audio
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Abstract
The invention discloses a kind of video and audio filing storage based on LTFS and call method, it includes video and audio archiving method and video and audio call method, tape auxiliary storage is first accessed during archive, obtain the Index in tape auxiliary storage subregion, obtain the position that tape storage is arrived, first resolution file obtains Index during write-in data, is then together stored to Index and source file on tape with many caching mechanisms of dual-thread.Tape auxiliary storage is accessed when calling, the data of the file necessary information, then calculation document in the Index in tape auxiliary storage are obtained, obtains needing the information of data, the file after getting ready is synthesized.The beneficial effects of the invention are as follows:Extensive magnanimity video and audio long term archival can be met with moving back, tape self-described can be realized, do not need extra storage system to may know that and content is deposited on tape, whole tape has a style of one's own, video and audio filing storage and call method with higher security and availability.
Description
Technical field
File field, particularly a kind of video and audio filing storage and called side based on LTFS the present invention relates to magnetic storage
Method.
Background technology
Tape is a kind of strip material for being loaded with magnetosphere for being used to record sound, image, numeral or other signals, is yield
A kind of maximum and purposes most wide magnetic recording material.Typically in plastic sheeting tape base(Support)One layer of graininess magnetic of upper coating
Property material or hydatogenesis last layer magnetic oxide or alloy firm are formed.
LTFS is the abbreviation of linear tape file system, and it is acknowledged as the technology that a meeting allows tape application to recover.
By file directory tree, this technology allows user to may search for the information on tape first, searches for the flow and disk of tape
Storage is the same.User can be from free drag and drop file on the tape of a disk LTFS forms, and this to integrate tape in operation flow
Using and easy long term archival be possibly realized.
Traditional tape access and get ready and need to carry out winding when moving back to confirm the position of data, lose time and store
Efficiency is low.
The content of the invention
It is long-term that extensive magnanimity video and audio can be met it is an object of the invention to overcome the deficiencies of the prior art and provide one kind
File and move back, tape self-described can be realized, it is not necessary to which extra storage system is that may know that to deposit content on tape, whole magnetic
Band has a style of one's own, video and audio filing storage and call method with higher security and availability.
The purpose of the present invention is achieved through the following technical solutions:It is a kind of based on LTFS video and audio filing storage with
Call method, it includes video and audio archiving method and video and audio call method, and described video and audio archiving method includes following son
Step:
S11:Tape auxiliary storage is accessed, the specific index position of tape is obtained;
S12:Compare the Virtual Channel VCI information in tape auxiliary storage, obtain newest index file Index storage point
Area;
S13:The VCI information in tape auxiliary storage is accessed, newest Index in auxiliary storage is navigated to and divides in disk storage
Position in area;
S14:Hard disk accesses and parses the audiovisual information of filing, obtains the Index of the video and audio;
S15:Index and source file are stored in tape together, read-write step is as follows:
S151:Read thread and read data, and place data into caching;
S152:Write thread and data are taken out from caching, write tape;
S16:The Index of the file of write-in is stored in disk auxiliary storage, accessed during so as to write-in next time,
Described video call method, it includes following sub-step:
S21:Tape auxiliary storage is accessed, the specific index position of tape is obtained;
S22:Compare the VCI information in tape auxiliary storage, obtain newest Index partition holding;
S23:The VCI information in tape auxiliary storage is accessed, newest Index in auxiliary storage is navigated to and divides in disk storage
Position in area;
S24:Index file Index is read, the necessary information for file of moving back is obtained;
S25:The data for file of moving back are calculated, the position of source file is obtained;
S26:File is got in synthesis ready, completion of moving back.
During by source file and Index deposit tapes, using many caching mechanisms of dual-thread, joined between read-write thread by caching
It is and realizes data exchange.
When write-in file is performed in video and audio filing step, Index operations are updated, it is not necessary to ensure another in tape auxiliary storage
The Index of one subregion is newest, need to only ensure that the Index of new write-in file successfully recorded in VCI.
If being malfunctioned when described video and audio archiving method write-in file, renewal Index, it can also be obtained by information in VCI
The Index finally recorded is taken, the content on tape will not can not be read.
The beneficial effects of the invention are as follows:Extensive magnanimity video and audio long term archival can be met with moving back, can realize tape certainly
Description, it is not necessary to which extra storage system is that may know that to deposit content on tape, and whole tape has a style of one's own, with higher peace
The video and audio filing storage of full property and availability and call method.
Brief description of the drawings
Fig. 1 video and audios file storage method flow chart;
Fig. 2 video and audio call method flow charts.
Embodiment
Technical scheme is described in further detail below in conjunction with the accompanying drawings, but protection scope of the present invention is not limited to
It is as described below.
As shown in figure 1, a kind of video and audio filing storage and call method based on LTFS, it includes video and audio archiving method
With video and audio call method, described video and audio archiving method includes following sub-step:
S11:Tape auxiliary storage is accessed, the specific index position of tape is obtained;
S12:Compare the Virtual Channel VCI information in tape auxiliary storage, obtain newest index file Index storage point
Area;
S13:The VCI information in tape auxiliary storage is accessed, newest Index in auxiliary storage is navigated to and divides in disk storage
Position in area;
S14:Hard disk accesses and parses the audiovisual information of filing, obtains the Index of the video and audio;
S15:Index and source file are stored in tape together, read-write step is as follows:
S151:Read thread and read data, and place data into caching;
S152:Write thread and data are taken out from caching, write tape;
S16:The Index of the file of write-in is stored in disk auxiliary storage, accessed during so as to write-in next time,
Described video call method, it includes following sub-step:
S21:Tape auxiliary storage is accessed, the specific index position of tape is obtained;
S22:Compare the VCI information in tape auxiliary storage, obtain newest Index partition holding;
S23:The VCI information in tape auxiliary storage is accessed, newest Index in auxiliary storage is navigated to and divides in disk storage
Position in area;
S24:Index file Index is read, the necessary information for file of moving back is obtained;
S25:The data for file of moving back are calculated, the position of source file is obtained;
S26:File is got in synthesis ready, completion of moving back.
During by source file and Index deposit tapes, using many caching mechanisms of dual-thread, joined between read-write thread by caching
It is and realizes data exchange.
When write-in file is performed in video and audio filing step, Index operations are updated, it is not necessary to ensure another in tape auxiliary storage
The Index of one subregion is newest, need to only ensure that the Index of new write-in file successfully recorded in VCI.
If being malfunctioned when described video and audio archiving method write-in file, renewal Index, it can also be obtained by information in VCI
The Index finally recorded is taken, the content on tape will not can not be read.
The Index of the last store document of tape is obtained by accessing tape auxiliary storage when this method is used, according to
Index in tape auxiliary storage accesses the tape subregion where newest index, and write-in needs filing after the tape subregion
File, video and audio file is accessed before write-in on hard disk, and it is parsed, is obtained comprising video and audio file necessity letter
The Index of breath, then together files Index and original on tape.In filing ablation process, reading and writing of files is using double
The many caching mechanisms of thread a, thread is responsible for reading, and a thread is responsible for writing, and reads to store data in caching after thread reads data
In, and write thread taking-up data directly from caching and write.If network, which breaks down, causes the efficiency step-down for reading file,
Due to having data in caching, data can directly be taken out from caching by writing thread, write tape, writing speed is not by shadow
Ring, when network recovery, read file detection and recover, continue to deposit data into caching.Progress is got ready and first read when moving back
Index, obtains the data of the necessary information, then calculation document of getting file ready, obtains needing the information of data, then synthesize and get ready
File afterwards, so all may not necessarily move back whole file return, greatly improve efficiency.
Claims (2)
1. a kind of video and audio filing storage and call method based on LTFS, can realize tape self-described, it is not necessary to which extra deposits
Storage system is that may know that to deposit content on tape, and it includes video and audio archiving method and video and audio call method, and described regards sound
Frequency archiving method includes following sub-step:
S11:Tape auxiliary storage is accessed, the specific index position of tape is obtained;
S12:Compare the Virtual Channel VCI information in tape auxiliary storage, obtain newest index file Index partition holding;
S13:The VCI information in tape auxiliary storage is accessed, newest Index is navigated in auxiliary storage in disk storage subregion
Position;
S14:Hard disk accesses and parses the audiovisual information of filing, obtains the Index of the video and audio;
S15:Index and source file are stored in tape together, read-write step is as follows:
S151:Read thread and read data, and place data into caching;
S152:Write thread and data are taken out from caching, write tape;
S16:The Index of the file of write-in is stored in disk auxiliary storage, accessed during so as to write-in next time,
Described video and audio call method, it includes following sub-step:
S21:Tape auxiliary storage is accessed, the specific index position of tape is obtained;
S22:Compare the VCI information in tape auxiliary storage, obtain newest Index partition holding;
S23:The VCI information in tape auxiliary storage is accessed, newest Index is navigated in auxiliary storage in disk storage subregion
Position;
S24:Index file Index is read, the necessary information for file of moving back is obtained;
S25:The data for file of moving back are calculated, the position of source file is obtained;
S26:File is got in synthesis ready, completion of moving back;
When write-in file is performed in video and audio filing step, Index operations are updated, it is not necessary to ensure in tape auxiliary storage another point
The Index in area is newest, need to only ensure that the Index of new write-in file successfully recorded in VCI;
, can also be by acquisition of information in VCI most if being malfunctioned when described video and audio archiving method write-in file, renewal Index
The Index recorded afterwards, will not can not read the content on tape.
2. a kind of video and audio filing storage and call method based on LTFS according to claim 1, it is characterised in that:Will
When source file and Index deposit tapes, using many caching mechanisms of dual-thread, number is contacted and realizes by caching between read-write thread
According to exchange.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410322236.7A CN104103304B (en) | 2014-07-08 | 2014-07-08 | A kind of video and audio filing storage and call method based on LTFS |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410322236.7A CN104103304B (en) | 2014-07-08 | 2014-07-08 | A kind of video and audio filing storage and call method based on LTFS |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104103304A CN104103304A (en) | 2014-10-15 |
CN104103304B true CN104103304B (en) | 2017-11-03 |
Family
ID=51671376
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410322236.7A Active CN104103304B (en) | 2014-07-08 | 2014-07-08 | A kind of video and audio filing storage and call method based on LTFS |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104103304B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469469B (en) * | 2014-12-29 | 2018-01-26 | 北京中科大洋信息技术有限公司 | A kind of system and method for frame precision tape callback file |
CN113448922A (en) * | 2021-08-30 | 2021-09-28 | 阿里云计算有限公司 | Data archiving method, data access method and respective devices |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4020603B2 (en) * | 2001-07-26 | 2007-12-12 | シャープ株式会社 | Digital information recording system |
CN101197177A (en) * | 2006-12-22 | 2008-06-11 | 四川川大智胜软件股份有限公司 | Novel intelligent tape unit and data processing method |
WO2009052370A1 (en) * | 2007-10-19 | 2009-04-23 | Citrix Systems, Inc. | Methods and systems for incorporating at least one window from a first desktop environment having a first themed graphical display into a second desktop environment having a second themed graphical display |
CN103080896A (en) * | 2010-08-24 | 2013-05-01 | 国际商业机器公司 | Reordering access to reduce total seek time on tape media |
CN103279427A (en) * | 2012-01-17 | 2013-09-04 | 国际商业机器公司 | Hash-based managing method and system of storage identifiers |
-
2014
- 2014-07-08 CN CN201410322236.7A patent/CN104103304B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4020603B2 (en) * | 2001-07-26 | 2007-12-12 | シャープ株式会社 | Digital information recording system |
CN101197177A (en) * | 2006-12-22 | 2008-06-11 | 四川川大智胜软件股份有限公司 | Novel intelligent tape unit and data processing method |
WO2009052370A1 (en) * | 2007-10-19 | 2009-04-23 | Citrix Systems, Inc. | Methods and systems for incorporating at least one window from a first desktop environment having a first themed graphical display into a second desktop environment having a second themed graphical display |
CN103080896A (en) * | 2010-08-24 | 2013-05-01 | 国际商业机器公司 | Reordering access to reduce total seek time on tape media |
CN103279427A (en) * | 2012-01-17 | 2013-09-04 | 国际商业机器公司 | Hash-based managing method and system of storage identifiers |
Also Published As
Publication number | Publication date |
---|---|
CN104103304A (en) | 2014-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103080896B (en) | Always searched to reduce the time to tape-shaped medium's to access rearrangement | |
US9842047B2 (en) | Non-sequential write for sequential read back | |
CN103226965B (en) | Based on the audio/video data access method of time bitmap | |
KR102267390B1 (en) | Isolated shingled bands of fractional tracks | |
CN104281651A (en) | Method and system for searching large volume of video data | |
US8896961B1 (en) | Reader positioning in shingled magnetic recording | |
JP6005010B2 (en) | Method, storage system, and program for spanning one file on multiple tape media | |
KR20120121734A (en) | Method for writing and storage device using the method | |
TWI272588B (en) | Method for writing streaming audiovisual data to a disk drive | |
US20150331613A1 (en) | Media write operation | |
CN108763531A (en) | A kind of MDVR document storage systems and its operation method | |
CN104103304B (en) | A kind of video and audio filing storage and call method based on LTFS | |
CN104572764A (en) | Multi-channel video data reading and writing method | |
US20150012500A1 (en) | System and method for reading file blocks | |
US11163500B2 (en) | Caching files in a directory | |
JP2022545676A (en) | Fast file copy from tape with block grouping | |
US8868429B2 (en) | Method and device for storing audio data | |
JP2013528823A5 (en) | ||
US9990949B1 (en) | Multi-channel data recording | |
US11494338B2 (en) | Caching files in a directory | |
US9189162B2 (en) | Tape drive buffer utilization | |
KR100997474B1 (en) | Recording method of magnetic-disk apparatus and magnetic-disk apparatus | |
US9281008B1 (en) | Multiple track pitches for SMR | |
CN104469234A (en) | Digital video data hard disk storage method | |
CN104333725B (en) | The streaming storage device and its method of built-in hard disk video tape recorder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |