CN1296930C - Recording and access method of Digital document - Google Patents

Recording and access method of Digital document Download PDF

Info

Publication number
CN1296930C
CN1296930C CNB031041655A CN03104165A CN1296930C CN 1296930 C CN1296930 C CN 1296930C CN B031041655 A CNB031041655 A CN B031041655A CN 03104165 A CN03104165 A CN 03104165A CN 1296930 C CN1296930 C CN 1296930C
Authority
CN
China
Prior art keywords
data
document cluster
file
document
zone
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.)
Expired - Fee Related
Application number
CNB031041655A
Other languages
Chinese (zh)
Other versions
CN1485842A (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.)
Shanghai LG Electronics Co Ltd
Original Assignee
Shanghai LG Electronics 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 Shanghai LG Electronics Co Ltd filed Critical Shanghai LG Electronics Co Ltd
Priority to CNB031041655A priority Critical patent/CN1296930C/en
Publication of CN1485842A publication Critical patent/CN1485842A/en
Application granted granted Critical
Publication of CN1296930C publication Critical patent/CN1296930C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention relates to a recording and accessing method of digital documents, which can store digital documents in a portable storage medium for redisplaying and recording digital documents. Therefore, the present invention comprises a first process, a second process, a third process and a fourth process, wherein in the first process, documents are output to generate basic information; in the second process, the recording and accessing method of digital documents judges whether the individual to be generated is a document or a catalogue; in the third process, if the individual to be generated is a document in the judging result of the second process, a data starting document cluster is recorded in an unused area; in the fourth process, if the individual to be generated is a catalogue in the judging result of the second process, a data starting document cluster is recorded in the documents for recording data starting document clusters.

Description

The recording method of digital document
Technical field
The present invention relates to the recording method of digital document, relate in particular to the recording method of the digital document relevant with the medium storage digital document of regeneration of portable type digital document and record.
Background technology
Recently, diversified DAB product such as portable type MP3 player is by a large amount of production and sellings, and wherein major part all uses flash memory cards as medium.
Even above-mentioned flash memory is supply power not, also can preserve the data of having stored, and be easy to store termly and delete.
The file system of the flash memory cards that uses on present most of portable machine, consider less and its interchangeability of volume ratio of itself, all use flexible plastic disc file system--the FAT12 of DOS, just because of what use is such FAT12 file system,, flash do not have the situation of other devices just can contact file system easily so being stuck on PC and the external mechanical.
When the document cluster sum in differentiation memory device stores district is less than 4096, use above-mentioned FAT12 DOS flexible plastic disc file system.The size of each FAT (File Allocation Table bulk-breaking allocation table) project is 12 bits, and the size of each document cluster is 512 bytes.
Each FAT project of FAT16 constitutes with 16 bits respectively, and except that coiling the size of size adjustment with document cluster according to whole, its structure is similar with above-mentioned FAT12 basically.
Above-mentioned FAT12 file system is distributed according to structure as shown in Figure 1 in the whole zone of memory storage.
In addition, as shown in Figure 2, the catalogue factor that accords with each file and catalogue is to be made of 32 bytes, has essential information about the file and the catalogue factor, specify the actual file content to be positioned at which zone of memory storage by initial document cluster, just can become the starting point of the All Files bunch chain store of finding out file.
Above-mentioned initial document cluster becheduled for after the file, also means the numbering of the FAT with document cluster numbering.
But; above-mentioned FAT12 file system; exist the ubiquitous shortcoming of allowing low access speed of DOS flexible plastic disc file system; on external mechanical such as PC; do not need other affirmation processes just digital document to be duplicated or deletes; so protecting data not only a little less than, and emphasize that as DAB etc. the product of copyright protection brings the problem of imprecise characteristic.
Summary of the invention
Purpose of the present invention just is to solve above-mentioned these problems, the invention provides a kind of recording method of digital document, access mode correct to file data, allow the bibliographic structure of reading file system on the machine externally, prevent again simultaneously file data on common DOS file system by access, modification and deletion.
For achieving the above object, digital document recording method of the present invention comprises following process:
The 1st process is that input file generates essential information;
The 2nd process is that the data segment that judgement will generate is file or catalogue;
The 3rd process is, if above-mentioned judged result is a file for the data segment that will generate, that is not regional in not using with the initial file logging of data, and described the 3rd process comprises: in the zone of writing down the initial document cluster of data, determine the document cluster by the protection zone appointment; The initial document cluster of data is recorded in 2 byte of not using the zone; In carrying out data recording process, when running into the document cluster conversion,, these 5 document clusters are recorded in not use zone successively if the conversion of document cluster reaches 5 times;
The 4th process is, if the data segment that generates is a catalogue, the initial document cluster of record data in the file of the initial document cluster of record data then, in described the 4th process in the initial document cluster of the data of sub-directory the document cluster of record directory items.
Description of drawings
Fig. 1 is the sketch map of general FAT12 file system structure.
Fig. 2 is on Fig. 1, the sketch map of expression catalogue factor structure;
Fig. 3 is the data area structure sketch map of the general volatile storage of expression.
Fig. 4 is applicable to that for expression digital document of the present invention writes down and the sketch map of the catalogue factor structure of access method.
Fig. 5 is the pre-diagrammatic sketch of expression with conventional digital file access method accessing file situation.
Fig. 6 is the pre-diagrammatic sketch of expression with digital document access method accessing file situation of the present invention.
Effect and the design sketch consulted below the recording method of digital document of the present invention elaborate.
Embodiment
Use the present invention's digital document record and access method the flash zone structure as shown in Figure 3, the Region Segmentation mode is the same with common flexible plastic disc or hard disk.The user who promptly stores real data uses the file configuration zone (FAT) of zone, log file configuration information, store the MBR zone of the positional information of the range of distribution of each relevant distribution locations information and storage operating system.
At this moment, in order to keep the interchangeability with the FAT12 file system, each file zone of living in of the structure that do not chdir.
At first, be originally the 1st document cluster that data begin with file, be recorded in the specified file that is predefined for 2 bytes, replace the file generation essential information that utilization is released now from recording process, as shown in Figure 4, after the document cluster of 5 of the beginnings of not using beginning file data zone in the 10 regional bytes writes down successively, when reading fileinfo, guaranteed the position of initial stage data, so can retrieve the document cluster chain store, can reduce the storage number of times of next Data Position that will seek like this.
In the middle of the structure of data area as shown in Figure 4; in can't protection zone with the data appointment; the predetermined document cluster what a meets; for the time being without the document cluster chain store; guarantee the single document cluster of itself earlier; when this document is not catalogue; by initial document cluster in initial document cluster zone; can't with the presents system serve as accessing file on the basic external mechanical that constitutes; when use, modification, deletion; not to specify real data, and protect real data by the error message of passing on the protection zone of guaranteeing in advance by the position of initial document cluster.
At this, be benchmark with file system of the present invention, with example the method that writes down above-mentioned digital audio file is elaborated.
At first, files such as import file name, extension name, generation day generate essential information, judge that again the data segment that will generate is file or catalogue.
If the data segment that will generate is a file; just the zone is not being used in initial file logging; that is,, the document cluster of being appointed as the protection zone is specified in the zone of the initial document cluster of record data; with the initial document cluster of data; be recorded in after 2 byte of not using the zone, in the process of carrying out data recording, when document cluster will be changed; the conversion times of its document cluster reaches 5 times, just these 5 document clusters is recorded in successively and does not use in the zone.
If the data segment that generates is a catalogue, when giving the initial document cluster of the file logging data of the initial document cluster of record data so, just on the initial document cluster of the data of sub-directory, write down the document cluster of directory items.
With the presents system is benchmark, being described in detail as follows of digital audio file access method: at first release the essential information of file, judging the data segment of wanting access is file or catalogue.
If, the data segment of wanting access is a file, just in not using the zone, release the document cluster positional information of regulation number, carry out data access, that is, in not using the zone, release after 10 bytes of document cluster positional information of 5 of record-headers, when in continuing to release the process of data, running into the document cluster conversion, its document cluster conversion times surpasses 5 times, just presses the next document cluster of document cluster chain store access.
If the data segment of access is a catalogue, so just from the document cluster of the posting field that is recorded in the initial document cluster of data, release sub-directory information, and be stored in the document cluster of the initial document cluster posting field of above-mentioned data, then be used for the conversion and the reading of sub-directory.
In the external mechanical of PC that does not use file system of the present invention or FAT12 file system, the access situation of file is as follows:
At first; release after the essential information of file; when wanting the data segment of access to be file; shift to the protected file bunch that is stored in the initial document cluster posting field of data; that is, after the protected file that is stored in the initial document cluster of data zone bunch moves, pass on the information in the data protection that is recorded in the protection zone document cluster (wherein to comprise access according to FAT12; information such as error), confirm the file access failure.
If, when the data segment of access to be catalogue, will pass on information about subdirectory structure, that is, and because of can not the access actual file, so can only read.
At this, consult Fig. 5 and Fig. 6, that more once pass by and access time of the present invention, the FAT12 file system in past, have to accept the low access speed that DOS flexible plastic disc file system has, for example as shown in Figure 5, when file access, for the 6th document cluster of access, the access time of needed document cluster chain store is 6 times of access FAT document cluster initial document cluster time of data.
FAT12 file system of the present invention, as shown in Figure 6, when accessing file,, carry out at 5 document clusters that are recorded in the FAT document cluster adding the required time of accessing file bunch chain store on time of access for the chain store access required time of the 6th document cluster that document cluster is required of access is.
As above describe in detail; the present invention is as digital audio file; head information is included in the part 1 of file; be used to reproduce required; the application region that first operation is required; can improve the file speed to introduce of access medium, though reading catalogue structure on the machine externally, can protect actual file not to be modified or to delete.
Also has interchangeability simultaneously with FAT12, on the external mechanical of PC etc. if minute book invention file structure, in the content that writes down on the PC with utilize content made on the machine of file structure of the present invention, be to repel mutually, on corresponding machine, the content that is write down is though can read mutually on indistinction ground, but be merely able to the file on the corresponding machine is separately operated the effect of performance commonly-used storing device.

Claims (2)

1. digital document recording method comprises following process:
The 1st process is that input file generates essential information;
The 2nd process is that the data segment that judgement will generate is file or catalogue;
The 3rd process is, in the judged result of above-mentioned the 2nd process, if the data segment file that will generate then is recorded in the initial document cluster of data and does not use the zone, described the 3rd process comprises: in the zone of writing down the initial document cluster of data, determine the document cluster by the protection zone appointment; The initial document cluster of data is recorded in 2 byte of not using the zone; In carrying out data recording process, when running into the document cluster conversion,, these 5 document clusters are recorded in not use zone successively if the conversion of document cluster reaches 5 times; And
The 4th process is, in the judged result of above-mentioned the 2nd process, if the data segment catalogue that generates, the initial document cluster of record data in the initial document cluster of record data zone, in described the 4th process in the initial document cluster of the data of sub-directory the record directory items document cluster.
2. digital document recording method as claimed in claim 1 is characterized in that, described file generates essential information and comprises filename, expands name, generates day.
CNB031041655A 2002-09-29 2003-02-14 Recording and access method of Digital document Expired - Fee Related CN1296930C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031041655A CN1296930C (en) 2002-09-29 2003-02-14 Recording and access method of Digital document

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN02137273 2002-09-29
CN02137273.X 2002-09-29
CNB031041655A CN1296930C (en) 2002-09-29 2003-02-14 Recording and access method of Digital document

Publications (2)

Publication Number Publication Date
CN1485842A CN1485842A (en) 2004-03-31
CN1296930C true CN1296930C (en) 2007-01-24

Family

ID=34195451

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031041655A Expired - Fee Related CN1296930C (en) 2002-09-29 2003-02-14 Recording and access method of Digital document

Country Status (1)

Country Link
CN (1) CN1296930C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731527B (en) * 2004-08-06 2011-11-16 联发科技股份有限公司 Method and apparatus for data recording with virtual combination
CN102253985B (en) * 2011-06-30 2013-05-08 深圳市江波龙电子有限公司 File system data management method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756785A (en) * 1993-08-16 1995-03-03 Matsushita Electric Ind Co Ltd Digital signal recording/reproducing memory
JPH10334590A (en) * 1997-05-27 1998-12-18 Sanyo Electric Co Ltd Data recorder, data recording method and recording medium recorded with data recording program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756785A (en) * 1993-08-16 1995-03-03 Matsushita Electric Ind Co Ltd Digital signal recording/reproducing memory
JPH10334590A (en) * 1997-05-27 1998-12-18 Sanyo Electric Co Ltd Data recorder, data recording method and recording medium recorded with data recording program

Also Published As

Publication number Publication date
CN1485842A (en) 2004-03-31

Similar Documents

Publication Publication Date Title
US11385840B2 (en) Multi-tiered data storage with archival blockchains
CA2693691C (en) Direct mass storage device file indexing
Pease et al. The linear tape file system
CN101419828B (en) Hard disc video recording and retrieval method for analog magnetic tape serial schema
US20100082537A1 (en) File system for storage device which uses different cluster sizes
CN101169795B (en) Information processing apparatus, information processing method, program and program recording medium
CA2469402A1 (en) Disk driver cluster management of time shift buffer with file allocation table structure
EP0676761A4 (en) Information management method, data recording medium, data recording method, information retrieving method and information retrieving apparatus.
RU2007115810A (en) METHOD AND DEVICE FOR PLAYING DATA FROM RECORDING MEDIA USING A LOCAL MEMORY DEVICE
BR0212418A (en) Method and apparatus for activating automatic equalization mode
KR20060115235A (en) Apparatus and method for saving and managing additional data of file system
WO2001073537A3 (en) System for and method of accessing blocks on a storage medium
CN1383563A (en) Method of implicit partitioning storage space available on storage medium
EP1369869A4 (en) Information recording apparatus and method, information reproducing apparatus and method, information recording medium, program storage medium, and program
CN1822174A (en) Method for protecting hardware key information area in embedded device
JP2015082291A (en) File system implementing write once read many (worm)
CN1296930C (en) Recording and access method of Digital document
CN1146819C (en) Computer file title searching system
CN1822189A (en) Content identifying method for digital recorded file
Anderson You Don’t Know Jack about Disks: Whatever happened to cylinders and tracks?
TWI266295B (en) Method and device for information recording, method and device for information reproducing, information recording medium, program storage medium, and program
US11829288B2 (en) Mapping of object data and metadata in an object storage volume
JPH063577B2 (en) Storage media management system
Christodoulakis et al. Data organization and storage hierarchies in a multimedia server
Suk et al. Performance analysis of nand flash-based ssd for designing a hybrid filesystem

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: 20070124

Termination date: 20140214