CN101197177A - Novel intelligent tape unit and data processing method - Google Patents

Novel intelligent tape unit and data processing method Download PDF

Info

Publication number
CN101197177A
CN101197177A CNA2006100225829A CN200610022582A CN101197177A CN 101197177 A CN101197177 A CN 101197177A CN A2006100225829 A CNA2006100225829 A CN A2006100225829A CN 200610022582 A CN200610022582 A CN 200610022582A CN 101197177 A CN101197177 A CN 101197177A
Authority
CN
China
Prior art keywords
tape
data
chip
write
read
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.)
Granted
Application number
CNA2006100225829A
Other languages
Chinese (zh)
Other versions
CN100578650C (en
Inventor
冯子亮
初勇波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan University
Sichuan Chuanda Zhisheng Software Co Ltd
Original Assignee
Sichuan University
Sichuan Chuanda Zhisheng Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sichuan University, Sichuan Chuanda Zhisheng Software Co Ltd filed Critical Sichuan University
Priority to CN200610022582A priority Critical patent/CN100578650C/en
Publication of CN101197177A publication Critical patent/CN101197177A/en
Application granted granted Critical
Publication of CN100578650C publication Critical patent/CN100578650C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a novel intelligent tape driver and a data processing method thereof, belonging to a chip-tape storage device and a data processing method thereof, which comprises a memory chip arranged inside a tape cassette and an interface circuit thereof, and a memory chip read-write module arranged on the tape driver and an interface circuit thereof, wherein, the two interface circuits are electrically connected by a pair of metal contacts. The tape driver processor is connected with the memory chip through an interface circuit after being connected with the memory chip read-write module. Only a data area is arranged on the tape. The memory chip is divided into an index mark section, a writing cache, a read cache and other data section, wherein, both reading and writing requests of data are performed in the reading and writing caches, other than in the tape driver. The combination of the sequential memory of the tape and the random memory of the chip reduces the frequent mechanical motion of the tape driver, thereby improving the retrieval speed and the memory efficiency and prolonging the service life of the tape driver.

Description

Novel intelligent tape unit and data processing method thereof
Technical field
The present invention relates to computer data memory unit, is the magnetic tape station that tape sequential storing mode is combined with the stochastic storing mode of semiconductor memory chip specifically.
Background technology
The data stream type magnetic tape station is present the most widely used magnetic tape station, and it is the important means of data backup.But because its storage mode is an order, tape location and to retrieve the required time longer causes the magnetic tape system bulk velocity not high, and retrieval is inconvenience very.Along with the continuous increase of magnetic medium storage density, also the continuing to increase of the capacity of tape, this problem is more outstanding.
The speed of magnetic tape station mainly is subjected to the influence of tape motion.In tape location and retrieving, tape will ceaselessly move, and could begin to read and write after navigating to assigned address.The time of read-write and the time of tracking are very long by comparison.Like this, tracking not only makes the tape bulk velocity not high for a long time, and the tension force that frequent tape motion brings also can cause tape itself to produce distortion, and influences the accuracy of data; Magnetic head also will frequently contact the tape reading of data in the process of tracking in addition, causes head life to shorten.If can accomplish quick retrieval and location to tape, reduce the meaningless motion of tape, in the life-span that not only can improve magnetic tape system greatly, also will greatly improve the easy-to-use performance of magnetic tape station.
At present, GB on Tape is increasing, can realize the mass memory of data; Simultaneously, the large-capacity semiconductor storage chip is also more and more cheap, can realize storing at random fast.If with the high speed of the mass memory of tape and semiconductor memory chip at random memory function combine, can realize the novel intelligent memory device in conjunction with both advantages of a new generation.
At home up to the present, do not retrieve similar techniques or relevant patent as yet; Abroad, the technology type of mentioning among the advanced person's of Sony Corporation intelligent tape (AIT) technology and the present invention seemingly, it has broken away from traditional design, adopt auxiliary electronic chip technology to improve the efficient of visit storage data greatly, promptly add a memory chip (MIC) that is difficult for losing canned data in magnetic data tape inside.This memory chip can be direct and real-time same magnetic tape station plate on processor contact, thereby realize that the multiple spot on media loading, the required file of fast access, the tape rapidly loads and unloading, and the data of enriching about tape historical data and current state are provided, and this access speed to data recording on tape, security, reliability all increase.But the MIC chip capacity of Sony Corporation is very little, and memory capacity (64kbit/16kbit) is very limited, still must arrive on the tape when searching and search, and has just improved the access speed of tape to a certain extent.
Summary of the invention
The purpose of this invention is to provide a kind of novel intelligent tape unit, be intended to the sequential storing mode of tape is combined with the stochastic storing mode of semiconductor memory chip, reduce the frequent mechanical motion of magnetic tape station, thereby improve retrieval rate and storage efficiency, prolong the serviceable life of tape and magnetic tape station simultaneously.
Another object of the present invention provides the data processing method of stating intelligent tape unit.
The object of the present invention is achieved like this: a kind of novel intelligent tape unit, comprise tape, magnetic tape station processor, comprise the storaging chip and the interface circuit thereof that are arranged in the tape cassete, and storage chip module for reading and writing and interface circuit thereof on the magnetic tape station are set, and be electrically connected through the pair of metal contact between two interface circuits; The magnetic tape station processor be connected with storaging chip through above-mentioned interface circuit again after the storaging chip module for reading and writing is connected; Has only the data field on the tape; Branch has the directory index district, writes buffer area, reads other data field of buffer area box on the storaging chip.
The capacity of above-mentioned storaging chip is 0.5~10% of a GB on Tape.
Index data in the directory index district of above-mentioned storaging chip comprises index data and the newly-increased index data on original tape: the snapshot data of data block allocations table, data block summary info, data block check information, attribute block information, critical data block mark, critical chunk; Out of Memory in other data field comprises searches information cache, log information farthest.
Another object of the present invention is achieved in that to be received when processor and to write when request, earlier data are put into and write in the buffer area, Deng data accumulation after some, or write buffer area write full after, property is written to tape with the data in the buffer memory again, simultaneously, the index information of these data in tape write in the index data on the storaging chip; Receive when processor and to read in when request, see and read whether data are arranged in the buffer area have then and directly use earlier, do not search the corresponding tape location of data again, read in from tape again; When processor is received query requests, when searching data, at first on storaging chip, search, if search less than, navigate on the tape according to directory index district information again and search; Tape initialization, data deletion only carry out on storaging chip, tape are not operated.
Traditional tape has one section storage data directory information index district behind B.O.T (beginning-of-tape (BOT)), be the data field afterwards.When tape is carried out data read-write operation, must earlier tape be wound into the index area, search the corresponding index information of these data, and then tape is wound into the position at this data place, carry out data read-write operation; Behind the read-write operation of finishing data recording on tape, also tape must be wrapped back to the index area, upgrade the corresponding index information of these data in the index area.All these have all increased the tape loading, read tape, write time of tape and data recording on tape search operation.Maximum shortcoming is that because regular concentrated use index area, magnetic head is read and write repeatedly to the index area of tape, has a strong impact on the durable wear-resistant of tape and magnetic head; A large amount of tape operating windings makes tape be easy to generate distortion, influences the accuracy of data; Simultaneously, the mechanical motion that magnetic tape station is frequent has significantly reduced serviceable life of magnetic tape station.
The present invention is by increasing the mode of large-capacity semiconductor storage chip, and the sequential storage mode of tape is combined with the storage mode at random of semiconductor memory chip, reduces the super work of coiling to tape to greatest extent; All be kept at SNAPSHOT INFO of taking out in the index information of raw tape machine, attribute block information, the data block etc. in the semiconductor memory, need not when searching data on tape, to search, operation to tape itself only is location and read-write operation, thereby realize the quick location and the read-write of data recording on tape, greatly improved the access speed of magnetic tape station.Because the present invention has reduced the operation to tape itself to greatest extent, reduce the frequent mechanical motion of magnetic tape station, so in the efficient that improves retrieval rate and storage greatly, also improved the serviceable life of tape and magnetic tape station greatly.
The invention has the beneficial effects as follows:
1, removed back and forth the motion of tape in data field and index area, tape can be finished by one-time positioning and read and write and search, and the tape seek time is shortened greatly.
2, removed read-write repeatedly, improved the durable wear-resistant of tape greatly the tape indexing district; Simultaneously, avoid magnetic head frequently to contact the tape reading of data, prolonged the serviceable life of magnetic head.When loading and unloading tape, also need not go to read and write the index area again,, accelerate the loading and unloading of tape only with the read-write semiconductor memory.
3, owing to adopted cache way, generally not real on tape, operating for data write, but semiconductor memory chip is carried out read-write operation, so just reduced the stand-by period that reads and writes data, improved data write efficient greatly.The data recording on tape that has existed in the buffer memory is carried out repeatedly read-write operation, also just be equivalent to semiconductor memory chip is carried out repeatedly read-write operation, read or write speed has improved greatly.
4, the run duration of tape and magnetic tape station shortens, and the time that makes tape bear tension force shortens, and the wearing and tearing of mechanical part in the magnetic tape station are reduced, and improves the life-span of tape and magnetic tape station.
5, by transfer, can realize that data write quickly, realize in short-term or online backup function quasi real time, enlarge the usable range of magnetic tape station as the semiconductor memory of buffer memory.
Description of drawings
Fig. 1 is a hardware block diagram of the present invention;
Fig. 2 is the schematic perspective view of hardware shown in Figure 1;
Fig. 3 is that the installation site of storage chip and tape concerns synoptic diagram;
Fig. 4 is tape (containing tape cassete) that storage chip has been housed and the installation site synoptic diagram that the magnetic tape station of storage chip read/write circuit is housed;
Fig. 5 is the program flow diagram of the data processing of intelligent tape unit shown in Figure 1.
Embodiment
Fig. 1 Fig. 3 illustrates, on tape 8, increase large-capacity semiconductor storage chip 4 (as the FLASH chip) and relevant interface circuit 5, increase the hard contact 12 (saying that exactly storage chip and its interface circuit and hard contact are all on tape cassete 9) that this circuit contacts with magnetic tape station.The memory capacity and the GB on Tape of semi-conductor chip are proportional, and recommended range is 0.5~10% of a GB on Tape.For example to the 40G tape, in 2.5% of GB on Tape, the semiconductor memory chip capacity of recommendation is 1G.
Fig. 1 Fig. 4 illustrates, and increases large-capacity semiconductor storage chip module for reading and writing 2 and relevant interface circuit 3 on magnetic tape station 7, increases the spring leaf 13 that this circuit contacts with respective metal contact on the tape.
Be connected (Fig. 1) through pair of metal contact 6,6a between the interface circuit 3 of storage chip module for reading and writing on the interface circuit 5 of storage chip and the magnetic tape station, specifically, as: hard contact 12 among Fig. 3 and the spring leaf 13 among Fig. 4.When tape cassete was in place on magnetic tape station, spring leaf 13 was connected with hard contact 12 contacts.Magnetic tape station processor (being made up of with tape drive the main control chip among Fig. 1) is connected with storage chip module for reading and writing 2, and storage chip module for reading and writing 2 is connected with storage chip 4 through interface circuit 3,5.Can be between two interface circuits 3,5 with various ready-made interface schemes, as USB interface etc.; Number according to the above-mentioned contact of type decided of interface.The position of tape upper contact can be positioned at the upper and lower surface of tape, left and right side or tape rear positions (in Fig. 1, any part that contacts that does not influence tape 8 and magnetic head 1 can be as the position of contact).
Increase the interface with the semiconductor memory chip module for reading and writing on the inner original data transmission channel of magnetic tape station, the interface that physically the external service data interface of magnetic tape station, tape read and write data, the semi-conductor chip interface that reads and writes data is connected on the same transmission channel.
In the magnetic tape station firmware, increase the semiconductor memory chip read-write operation, revise the data manipulation flow process of magnetic tape station firmware program, (data that have only write storage chip in selectable data manipulation in different ways for the data of different characteristics, the data that have should write storage chip also will write tape, and the data that have only write tape or the like).Data layout on the semiconductor memory chip can adopt various available file system types now, also can be customization type.But the sort of mode no matter, as shown in Figure 5, the information subregion on the storage chip is: the directory index district, write buffer area, read buffer area, other data field.
The data of storing on the semiconductor memory comprise: new tape indexing data, write buffer memory, read buffer memory, out of Memory.Index data comprises original index data (the index area data on the existing tape) and newly-increased index data.The index area of raw tape does not re-use, and has only the data field on the tape.
Newly-increased index data comprises: the SNAPSHOT INFO of data block allocations table, data block summary info, data block check information, attribute block information, critical data block mark, critical chunk etc.The SNAPSHOT INFO of critical chunk is the mirror image data of the crucial sector of this data block.
Out of Memory comprises data such as searching information cache, log information recently.
Referring to Fig. 6, write when request when receiving, data do not directly write on the tape, but write data in the buffer memory earlier, Deng data accumulation after some, or buffer memory write full after, property is written to tape with data in the buffer memory again, simultaneously, the index information of these data in tape write in the index data of semiconductor memory;
Whether read in when request when receiving, checking earlier has data in the buffer memory, has then and directly uses, and does not search the corresponding tape location of data again, reads in from tape again.The data volume of at every turn reading in has a minimum value, when reading in value request when being worth less than this, will read in the data volume of this minimum value from tape;
During data search,, search after no longer information is read in the location to the tape if the key blocks of the directory index district on semiconductor memory, directory area, write buffer memory, read in buffer memory, search the data that can find in the buffer memory; If all can't find, just navigate on the corresponding data block according to directory area information, search after reading in data;
Tape initialization, data deletion only carry out on semiconductor memory, tape are not operated; Storage chip on finish related data operation after, write basically by unified again navigating on the tape for data write operation; Data reading operation also is first behind location on the semiconductor memory chip, and unified again navigating on the tape read.
When all data being arranged on the tape and on the semiconductor memory, be as the criterion with the data on the semiconductor memory.
Compatibility to the chipless magnetic tape station:, directly read and write during as the needs compatibility by original mode to the tape of chipless.
Embodiment:
As shown in Figure 3, at first on tape, add a large-capacity semiconductor storage chip 1 and interface circuit 5 thereof.Because the development of technology, present storage chip and interface circuit thereof can be done very for a short time, can directly be put in the tape cassete 9.These circuit on the tape contact with corresponding spring leaf 13 on the magnetic tape station by hard contact 12, thereby be connected with the circuit of magnetic tape station, magnetic tape station is by the read-write operation (annexation of magnetic tape station 7 and computing machine 10, display 11 in Fig. 2 also be shown) of storage chip module for reading and writing 2 realizations to storage chip.
As shown in Figure 4, increase on the magnetic tape station storage chip module for reading and writing 2 and as with tape on hard contact 12 contacted spring leafs 13, and its data line is connected on the data line of original magnetic tape head read-write.Revise the firmware program of magnetic tape station, make it can read and write semiconductor memory.
Simultaneously, revise magnetic tape station reading and writing data program, as shown in Figure 6.
When magnetic tape station (being the magnetic tape station processor of being made up of main control chip and tape control circuit 5 among Fig. 1) is received the inquiry/modification/renewal directory area order of main frame or is searched the key blocks order, directly the directory area on storage chip search/revise/upgrade;
When magnetic tape station is received the initialization/format of main frame or data deletion order, directly, no longer tape itself is carried out initialization/format or data deletion to the operation of storage chip directory area;
When magnetic tape station is received the write order of main frame/update command, the working area on the storage chip that writes direct; When the working area data volume reaches a setting number percent (as 80%) of max cap., magnetic tape station writes tape/renewal Tape Contents together with all data in working area, in addition, consider data security, a time interval also can be set, the data with the working area regularly write tape, upgrade the working area simultaneously;
When magnetic tape station is received the read command of main frame,, directly read in the SNAPSHOT INFO (SNAPSHOT INFO is exactly the complete information of these several sectors, data block front) of this data block in the directory area if read in the information that data are sector, data block front; Otherwise search in the working area,, drive tape to this position reading of data as there not being the position that finds data again according to the directory area; The once minimum data that will read a minimum number; After data after reading are sent, also to be kept in the working area.

Claims (8)

1. novel intelligent tape unit, comprise tape, magnetic tape station processor, it is characterized in that, also comprise the storaging chip (4) and the interface circuit (5) thereof that are arranged in the tape cassete, and storage chip module for reading and writing (2) and interface circuit (3) thereof on the magnetic tape station are set, and interface circuit (3) is electrically connected through the pair of metal contact with interface circuit (5); The magnetic tape station processor be connected with storaging chip (4) through interface circuit (3,5) again after storaging chip module for reading and writing (2) is connected; Has only the data field on the described tape; Storaging chip (4) is gone up division to be had the directory index district, write buffer area, reads buffer area and other data field.
2. according to the described intelligent tape unit of claim 1, it is characterized in that the capacity of described storaging chip (4) is 0.5~10% of a GB on Tape.
3. according to the described intelligent tape unit of claim 2, it is characterized in that the capacity of described storaging chip (4) is 2.5% of a GB on Tape.
4. according to claim 1 or 2 or 3 described intelligent tape units, it is characterized in that described metal contact is: be arranged on the tape cassete hard contact (6) be arranged on magnetic tape station on, as when tape cassete is in place with it on hard contact (6) contact the spring leaf be connected; Hard contact (6) is connected with interface circuit (5), and spring leaf is connected with interface circuit (3) simultaneously.
5. according to claim 1 or 2 or 3 described intelligent tape units, it is characterized in that, be connected with the external service data interface of magnetic tape station, tape interface and the storaging chip interface that reads and writes data that reads and writes data on the same transmission channel of described magnetic tape station.
6. according to claim 1 or 2 or 3 described intelligent tape units, it is characterized in that the index data in the directory index district of described storaging chip (4) comprises index data and the newly-increased index data on original tape: the snapshot data of data block allocations table, data block summary info, data block check information, attribute block information, critical data block mark, critical chunk; Out of Memory in other data field comprises searches information cache, log information recently.
7. data processing method according to the described novel intelligent tape unit of claim 1, it is characterized in that, its step comprises: receive when processor (1) to write when request, earlier data are put into and write in the buffer area, Deng data accumulation after some, or write buffer area write full after, property is written to tape with the data in the buffer memory again, simultaneously, the index information of these data in tape write in the index data on the storaging chip (4); Receive when processor (1) and to read in when request, see and read whether data are arranged in the buffer area have then and directly use earlier, do not search the corresponding tape location of data again, read in from tape again; When processor (1) when receiving query requests, when searching data, at first on storaging chip (4), search, if search less than, navigate on the tape according to directory index district information again and search; Tape initialization, data deletion only carry out on storaging chip, tape are not operated.
8. according to the described data processing method of claim 7, it is characterized in that, its step also has, when processor receives that query requests is searched data, at first in the directory index district of storaging chip (4), write buffer area, read buffer area, searching on the information in other data field search in the buffer memory.
CN200610022582A 2006-12-22 2006-12-22 Data processing method for novel intelligent tape unit Expired - Fee Related CN100578650C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610022582A CN100578650C (en) 2006-12-22 2006-12-22 Data processing method for novel intelligent tape unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610022582A CN100578650C (en) 2006-12-22 2006-12-22 Data processing method for novel intelligent tape unit

Publications (2)

Publication Number Publication Date
CN101197177A true CN101197177A (en) 2008-06-11
CN100578650C CN100578650C (en) 2010-01-06

Family

ID=39547503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610022582A Expired - Fee Related CN100578650C (en) 2006-12-22 2006-12-22 Data processing method for novel intelligent tape unit

Country Status (1)

Country Link
CN (1) CN100578650C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298547A (en) * 2011-09-20 2011-12-28 杭州华三通信技术有限公司 Data backup method and device
CN104103304B (en) * 2014-07-08 2017-11-03 成都索贝数码科技股份有限公司 A kind of video and audio filing storage and call method based on LTFS
CN109558335A (en) * 2018-10-17 2019-04-02 上海移芯通信科技有限公司 A kind of file memory format of the embedded system based on Nor flash storage
CN110196785A (en) * 2018-02-27 2019-09-03 浙江宇视科技有限公司 Backup data management method, apparatus and electronic equipment
CN111767169A (en) * 2020-06-28 2020-10-13 北京百度网讯科技有限公司 Data processing method and device, electronic equipment and storage medium
CN113448922A (en) * 2021-08-30 2021-09-28 阿里云计算有限公司 Data archiving method, data access method and respective devices

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298547A (en) * 2011-09-20 2011-12-28 杭州华三通信技术有限公司 Data backup method and device
CN104103304B (en) * 2014-07-08 2017-11-03 成都索贝数码科技股份有限公司 A kind of video and audio filing storage and call method based on LTFS
CN110196785A (en) * 2018-02-27 2019-09-03 浙江宇视科技有限公司 Backup data management method, apparatus and electronic equipment
CN109558335A (en) * 2018-10-17 2019-04-02 上海移芯通信科技有限公司 A kind of file memory format of the embedded system based on Nor flash storage
CN109558335B (en) * 2018-10-17 2020-05-12 上海移芯通信科技有限公司 Nor Flash memory based file storage format of embedded system
CN111767169A (en) * 2020-06-28 2020-10-13 北京百度网讯科技有限公司 Data processing method and device, electronic equipment and storage medium
CN111767169B (en) * 2020-06-28 2024-03-26 北京百度网讯科技有限公司 Data processing method, device, electronic equipment and storage medium
CN113448922A (en) * 2021-08-30 2021-09-28 阿里云计算有限公司 Data archiving method, data access method and respective devices

Also Published As

Publication number Publication date
CN100578650C (en) 2010-01-06

Similar Documents

Publication Publication Date Title
CN100578470C (en) Audio/video data access method and device based on raw device
US5481694A (en) High performance multiple-unit electronic data storage system with checkpoint logs for rapid failure recovery
EP2646919B1 (en) Transaction log recovery
CN100578650C (en) Data processing method for novel intelligent tape unit
US8041921B2 (en) Apparatus, system, and method for utilizing tape media segmentation
US6516426B1 (en) Disc storage system having non-volatile write cache
US5875455A (en) Information recording and reproducing apparatus merging sequential recording requests into a single recording request, and method of data caching for such apparatus
US8214581B2 (en) System and method for cache synchronization
US11232037B2 (en) Using a first-in-first-out (FIFO) wraparound address lookup table (ALT) to manage cached data
CN101727395A (en) Flash memory device and management system and method thereof
EP2916240A1 (en) Database storage system based on compact disk and method using the system
CN101135952B (en) Using an access log for disk drive transactions
CN101226505A (en) Magnetic disk apparatus and method of controlling the same
US7913029B2 (en) Information recording apparatus and control method thereof
CN101706822A (en) Method and device for improving speed of mounting journal file system
US20150113208A1 (en) Storage apparatus, cache controller, and method for writing data to nonvolatile storage medium
WO2008076205A2 (en) Data storage system havng a global cache memory distributed among non-volatile memories within system disk drives
CN102929935B (en) A kind of Large Volume Data reading/writing method based on affairs
CN102323907A (en) Method for embedded ARM (advanced RISC machines) processor to store and delete NANDFLASH data
CN108647157A (en) A kind of mapping management process and solid state disk based on phase transition storage
JP2012521032A (en) SSD controller and operation method of SSD controller
CN101751340A (en) Data write method for improving service life of data storage equipment
JPH06175894A (en) Method and system for retrieving nonspecific data in data processing system
CN110825314B (en) Data scheduling method and device
US11138110B1 (en) Data management for memory devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100106

Termination date: 20121222