CN1731527A - Method and apparatus for data recording with virtual combination - Google Patents

Method and apparatus for data recording with virtual combination Download PDF

Info

Publication number
CN1731527A
CN1731527A CN 200510055842 CN200510055842A CN1731527A CN 1731527 A CN1731527 A CN 1731527A CN 200510055842 CN200510055842 CN 200510055842 CN 200510055842 A CN200510055842 A CN 200510055842A CN 1731527 A CN1731527 A CN 1731527A
Authority
CN
China
Prior art keywords
file
storage media
frame
frames
data
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
CN 200510055842
Other languages
Chinese (zh)
Other versions
CN1731527B (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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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 MediaTek Inc filed Critical MediaTek Inc
Priority to CN 200510055842 priority Critical patent/CN1731527B/en
Priority to CN201110265254.2A priority patent/CN102354517B/en
Publication of CN1731527A publication Critical patent/CN1731527A/en
Application granted granted Critical
Publication of CN1731527B publication Critical patent/CN1731527B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a virtual incorporation data recording method and apparatus which is used to connect two or above files with data frame generated from the storage media. It modifies the connecting address of the storage media to in time update the file length of the title data and amalgamates two or above files into one integer file on the condition of not moving the storage address of the data frame.

Description

The data record method and device of virtual merging
Technical field
The present invention relates to a kind of data record method and device, and be particularly related to a kind of data record method and device that links plural file.
Background technology
Multimedia embedded system (Embedded System) is to adopt MPEG-4 Image Compression and 3GPP technical specification recording video and audio data, and deposits multimedia file in Storage Media.Because the storage area of embedded system is quite limited, the mode of data recording is very huge for the influence of the use amount of the size of file storage area and internal memory.Therefore, how under file system, to record the important topic that becomes embedded system.
When tradition is recorded, be simultaneously frame of video (video frame) and frame of video (audio frame) to be write video data file (video file) and sound data file (audio file) respectively.At this moment, also the information of each Frame (frame) is inserted in the internal memory, write down the sampling characteristic value (sample data) of each Frame.
When recording end, adopt the mode of additional (append) that video data file and sound data file are merged.At first, the content of sound data file is read out one by one, again the sound data file that reads out is attached to the rear of video data file.In addition, when the sampling characteristic value be converted to sampling table (sample table), the sampling table also is attached to the rear of video data file.
In file system, store files is to be unit with bunch (cluster), bunch size be 512bytes, as long as stored file size is not the multiple of 512 bytes, will there be unnecessary data (being called the cavity at this) in the file end.Therefore, two files are when merging (merge) traditionally, must begin to insert in first cavity from first file back, promptly with the end of file EOF (End-Of-File) of first file as second file starting point, the content of second file reading out continued insert, the file that links like this is just meaningful.
Especially, carry out the merging of video-audio data in additional mode traditionally, file system must be reserved enough spaces of second file of record earlier in first file back when recording, in case record end, could allow second file after reading, be carried to this space and be attached to first file back.Therefore, when selection is attached to the rear of video data file with sound data file, must reserve the space of enough recording voice data files earlier in the video data file back; Similarly, when selection is additional to the rear of sound data file with video data file, then must reserve the space of enough recording video data files earlier in the sound data file back.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of data record method and device of virtual merging, can significantly save the use amount of file storage area and minimizing internal memory.
According to purpose of the present invention, a kind of data record method of virtual merging is proposed, result from first file and second file of Storage Media in order to binding, wherein, first file and second file have at least one first Frame and at least one second Frame respectively.File merging method mainly is to adopt the position of beginning of opening of the end position of first file on the file configuration table being revised as second file, or on file configuration table, set up the connection relationship of several Frames of several Frames of first file and second file, so that first file and second file are merged into an integrating document.In addition, data record method comprises: (1) record header data are in first file, and wherein title data records has the source file length of first file; (2) revise first file and second file and link the address, use, first file and second file are merged into an integrating document not moving under the situation of first Frame and the storage address of second Frame in Storage Media in the correspondence of Storage Media; (3) the integrating document length of calculating integrating document; (4) upgrade title data, with the integrating document length records in title data; And (5) are additional to the sampling table after the integrating document.
According to purpose of the present invention, propose a kind of file and merge device, be installed in the electronic installation, in order to merge one first file and one second file.File merges device and comprises: a Storage Media and a file configuration table.Storage Media is to deposit first file and second file.(FileAllocation Table is to be used for writing down first file first to open the beginning position and first end position in Storage Media FAT) to file configuration table, and writes down second file and second open the beginning position and second end position in Storage Media.When first file and second file are merged into an integrating document, first end position of first file is to be revised as second of second file to open the beginning position.
According to purpose of the present invention, other proposes a kind of file and merges device, is installed in the electronic installation, in order to merge first file and second file.File merges device and comprises: a Storage Media and a file configuration table.Storage Media is to deposit first file and second file.First file comprises several first Frames, and second file comprises several second Frames.(File Allocation Table FAT) is the connection relationship that records respectively between several first Frames to file configuration table, and the annexation between several second Frames.It is by the connection relationship of setting up several first Frames and several second Frames that first file and second file are merged into an integrating document.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, a preferred embodiment cited below particularly, and conjunction with figs. are described in detail below.
Description of drawings
Figure 1A illustrates the process flow diagram according to the data record method of the virtual merging of first embodiment of the invention.
The data record method that Figure 1B illustrates the virtual merging of Figure 1A is implemented in the synoptic diagram of FAT file system.
Fig. 2 A illustrates the process flow diagram according to the data record method of the virtual merging of second embodiment of the invention.
The data record method that Fig. 2 B illustrates the virtual merging of Fig. 2 A is implemented in the synoptic diagram of FAT file system.
Fig. 3 A illustrates the process flow diagram according to the data record method of the virtual merging of third embodiment of the invention.
The data record method that Fig. 3 B illustrates the virtual merging of Fig. 3 A is implemented in the synoptic diagram of FAT file system.
Embodiment
Data record method of the present invention is to be applicable to the electronic installation with a Storage Media, mode with virtual merging (pseudo-merge) links two dissimilar files in the Storage Media, can under the situation of move not, file be merged into an integrating document.File of the present invention merges device and is preferably use in an embedded system (embedded system), comprises Storage Media and file configuration table.Storage Media for example is a flash memory (flash memory), has deposited first file and second file.File configuration table is to write down first file and second file respectively to open beginning position and end position in Storage Media.File merging method of the present invention mainly is the position of beginning of opening of the end position of first file on the file configuration table being revised as second file, two files are merged into an integrating document.Another file merging method of the present invention mainly is by the connection relationship of several Frames of several Frames of setting up first file on file configuration table and second file two files to be merged into an integrating document.Especially, if two dissimilar files are to produce simultaneously, two multimedia data files for example recording simultaneously do not need to reserve the required storage area of move between two files, so processing speed are very fast, and can be saved the file storage area.
First embodiment
Please refer to Figure 1A, illustrate process flow diagram according to the data record method of the virtual merging of first embodiment of the invention.At first be to enter step 102, begin the data record method of virtual merging of the present invention (pseudo-merge); Be to produce one first file and one second file in step 102, and first file and second file have at least one first Frame and at least one second Frame respectively in a Storage Media.Then, step 104 is to produce one the 3rd file in Storage Media, and the 3rd file has a sampling table (sample table), the sampling table be by the sampling characteristic value of first Frame (sample data) change it.In step 106, write down a title data H in first file, and title data comprises a source file length of first file.Step 108 is to revise first file, second file and the 3rd file to link the address in the correspondence of Storage Media, use not moving under the situation of first Frame, second Frame and the storage address of sampling table in Storage Media, first file, second file and the 3rd file are merged into an integrating document.Then, in step 110, calculate an integrating document length of integrating document.Integrating document length calculation mode, be a sector-size (S) that obtains Storage Media earlier, the source file length (N1) of first file and second file size (N2) of second file, and then calculate M1=ceil (N1/S) and M2=ceil (N2/S), so can obtain integrating document length (LEN) and be (M1+M2) * S.At last, in step 112, upgrade title data, with the integrating document length records in the title data of integrating document.
The data record method that Figure 1B illustrates the virtual merging of Figure 1A is implemented in the synoptic diagram of FAT file system.Shown in Figure 1B, Storage Media is that (File Allocation Table FAT) comes the log file position with a file configuration table.First file has a plurality of first Frames, is configured among bunch C0-C3 of Storage Media; Second file has a plurality of second Frames, is configured in bunch C7-C9 of Storage Media respectively; And the sampling table of the 3rd file is bunch C4 that is configured in Storage Media.The end of file EOF of first file, second file and the 3rd file lays respectively at a bunch C3, C9 and C4.Title data H comprises the source file length of first file, is recorded in the reference position of first file.
When the contents value of file configuration table FAT is revised as the contents value of file configuration table FAT ', can links the address in the correspondence of Storage Media by the sampling table of second Frame of first Frame of revising first file, second file and the 3rd file and carry out the virtual merging of file.What the mode that two files are merged into an integrating document can adopt that the end position with first file on the file configuration table is revised as second file opens the beginning position, or sets up the connection relationship of several Frames of several Frames of first file and second file on file configuration table.Shown in Figure 1B, in amended file configuration table FAT ', bunch C3 points to bunch C7 and a bunch C9 points to bunch C4, therefore first Frame of first file can with the virtual merging of second Frame of second file, and second Frame of second file can with the sampling exterior deficiency match of the 3rd file also; By this, first file, second file and the 3rd file being linked is integrating document.In integrating document, first file is to be arranged in before second file, and second file is to be arranged in before the 3rd file.First file and second file are preferably to be two multimedia data files recording simultaneously, first file and second file can be respectively video (video) data file and sound (audio) data file, maybe can be respectively sound data file and video data file.
The title data of file of the present invention comprises file size and file type, and after virtual merging, title data H is updated to H ' and recording integrating file size, and file type still is original multimedia data file.Because multimedia data file itself does not need connectivity closely, so file system can be accepted the virtual cavity that end of file EOF produced that merges back first file, second file and the 3rd file.Therefore, under file structure of the present invention, existing cavity can be handled by file system between two files, that is file system can be accepted existing cavity between two the virtual merging of file backs.From the above, the data record method of the virtual merging by first embodiment of the invention can be kept file and need not carry file at the storage location of original file system.
Second embodiment
Please refer to Fig. 2 A, illustrate process flow diagram according to the data record method of the virtual merging of second embodiment of the invention.At first be to enter step 202, begin the data record method of virtual merging of the present invention; Be to produce one first file and one second file in step 202, and first file and second file have at least one first Frame and at least one second Frame respectively in a Storage Media.Then, in step 206, write down a title data H, and title data comprises a source file length of first file in first file.Step 208 is that modification first file and second file link the address in the correspondence of Storage Media, uses not moving under the situation of first Frame and the storage address of second Frame in Storage Media, and first file and second file are merged into an integrating document.In step 209, the sampling table is additional to after the integrating document; The sampling table be by the sampling characteristic value of first Frame change it, the sampling characteristic value can be recorded in the 3rd file of Storage Media earlier, or is recorded to a scratch-pad memory.Then, in step 210, calculate an integrating document length of integrating document.Integrating document length calculation mode, be a sector-size (S) that obtains Storage Media earlier, the source file length (N1) of first file and second file size (N2) of second file, and then calculate M1=ceil (N1/S) and M2=ceil (N2/S), so can obtain integrating document length (LEN) and be (M1+M2) * S.At last, in step 212, upgrade title data, with the integrating document length records in the title data of integrating document.
The data record method that Fig. 2 B illustrates the virtual merging of Fig. 2 A is implemented in the synoptic diagram of FAT file system.Shown in Fig. 2 B, Storage Media is to come the log file position with a file configuration table.First file has a plurality of first Frames, is configured among bunch C0-C3 of Storage Media; Second file has a plurality of second Frames, is configured in bunch C7-C9 of Storage Media respectively; And the sampling table of the 3rd file is bunch C4 that is configured in Storage Media.The end of file EOF of first file, second file and the 3rd file lays respectively at a bunch C3, C9 and C4.Title data H comprises the source file length of first file, is recorded in the reference position of first file.
When the contents value of file configuration table FAT is revised as the contents value of file configuration table FAT ', can links the address in the correspondence of Storage Media by the sampling table of second Frame of first Frame of revising first file, second file and the 3rd file and carry out the virtual merging of file.What the mode that two files are merged into an integrating document can adopt that the end position with first file on the file configuration table is revised as second file opens the beginning position, or sets up the connection relationship of several Frames of several Frames of first file and second file on file configuration table.Shown in Fig. 2 B, in amended file configuration table FAT ', a bunch C3 points to bunch C7 and a bunch C9 points to bunch C10, therefore first Frame of first file can with the virtual merging of second Frame of second file; By this, first file and the binding of second file are integrating document.In integrating document, first file is to be arranged in before second file.First file and second file are to be two multimedia data files recording simultaneously preferably, and first file and second file can be respectively video data file and sound data file, maybe can be respectively sound data file and video data file.
Different with first embodiment is, the 3rd file is just to carry out file to merge after first file and second file carry out virtual merging.That is the content with the 3rd file reads out from a bunch C4 earlier, the content that is read is begun to insert from the cavity of bunch C9 and continue and insert among bunch C10, so that the sampling table is attached to after the integrating document again.Because the data volume of the 3rd file is less relatively, therefore directly link the whole structure that does not also influence data record method of the present invention by additional mode.
The title data of file of the present invention comprises file size and file type, and after virtual merging, title data H is updated to H ' and recording integrating file size, and file type still is original multimedia data file.Because multimedia data file itself does not need connectivity closely, so file system can be accepted the virtual cavity that end of file EOF produced that merges back first file and second file.Therefore, under file structure of the present invention, existing cavity can be handled by file system between two files, that is file system can be accepted existing cavity between two the virtual merging of file backs.From the above, the data record method of the virtual merging by second embodiment of the invention can be kept file and need not carry file at the storage location of original file system.
The 3rd embodiment
Please refer to Fig. 3 A, illustrate process flow diagram according to the data record method of the virtual merging of third embodiment of the invention.At first be to enter step 302, begin the data record method of virtual merging of the present invention; Be to produce one first file and one second file in step 302, and first file and second file have at least one first Frame and at least one second Frame respectively in a Storage Media.Then, step 304 is to produce one the 3rd file and one the 4th file in Storage Media, and the 3rd file and the 4th file have one first sampling table and one second sampling table respectively.The first sampling table and the second sampling table be respectively by the sampling characteristic value of the sampling characteristic value of first Frame and second Frame change it.In step 306, write down a title data H in first file, and title data comprises a source file length of first file.Step 308 is to revise first file, second file, the 3rd file and the 4th file to link the address in the correspondence of Storage Media, use in not mobile first Frame, second Frame, the first sampling table and second sampling and show under the situation of the storage address in Storage Media first file, second file, the 3rd file and the 4th file to be merged into an integrating document.Then, in step 310, calculate an integrating document length of integrating document.Integrating document length calculation mode, be a sector-size (S) that obtains Storage Media earlier, the source file length (N1) of first file and second file size (N2) of second file, and then calculate M1=ceil (N1/S) and M2=ceil (N2/S), so can obtain integrating document length (LEN) and be (M1+M2) * S.At last, in step 112, upgrade title data, with the integrating document length records in the title data of integrating document.
The data record method that Fig. 3 B illustrates the virtual merging of Fig. 3 A is implemented in the synoptic diagram of FAT file system.Shown in Fig. 3 B, Storage Media is to come the log file position with a file configuration table.First file has a plurality of first Frames, is configured among bunch C0-C3 of Storage Media; Second file has a plurality of second Frames, is configured in bunch C7-C9 of Storage Media respectively; The first sampling table of the 3rd file is bunch C4 that is configured in Storage Media; And the second sampling table of the 4th file is bunch C10 that is configured in Storage Media.The end of file EOF of first file, second file, the 3rd file and the 4th file lays respectively at a bunch C3, C9, C4 and C10.Title data H comprises the source file length of first file, is recorded in the reference position of first file.
When the contents value of file configuration table FAT is revised as the contents value of file configuration table FAT ', can links the address in the correspondence of Storage Media by the second sampling table of the first sampling table of second Frame of first Frame of revising first file, second file, the 3rd file and the 4th file and carry out the virtual merging of file.What the mode that two files are merged into an integrating document can adopt that the end position with first file on the file configuration table is revised as second file opens the beginning position, or sets up the connection relationship of several Frames of several Frames of first file and second file on file configuration table.Shown in Fig. 3 B, in amended file configuration table FAT ', bunch C3 points to bunch C7, a bunch C9 to point to bunch C4, a bunch C4 to point to bunch C10, therefore first Frame of first file can with the virtual merging of second Frame of second file, second Frame of second file can be taken a sample the exterior deficiency match also with first of the 3rd file, and the first sampling table of the 3rd file can be taken a sample the exterior deficiency match also with second of the 4th file; By this, first file, second file, the 3rd file and the 4th file being linked is integrating document.In integrating document, first file be arranged in before second file, second file is to be arranged in before the 3rd file and the 3rd file is to be arranged in before the 4th file.First file and second file are to be two multimedia data files recording simultaneously preferably, and first file and second file can be respectively video data file and sound data file, maybe can be respectively sound data file and video data file.
The title data of file of the present invention comprises file size and file type, and after virtual merging, title data H is updated to H ' and recording integrating file size, and file type still is original multimedia data file.Because multimedia data file itself does not need connectivity closely, so file system can be accepted the virtual cavity that end of file EOF produced that merges back first file, second file, the 3rd file and the 4th file.Therefore, under file structure of the present invention, existing cavity can be handled by file system between two files, that is file system can be accepted existing cavity between two the virtual merging of file backs.From the above, the data record method of the virtual merging by third embodiment of the invention can be kept file and need not carry file at the storage location of original file system.
The data record method of the disclosed virtual merging of the above embodiment of the present invention is that the mode with virtual merging links two dissimilar files in the Storage Media; Simultaneously, under file structure of the present invention, existing cavity can be handled by file system between two files.Therefore, can under the situation of move not, file be merged into an integrating document, and can accept existing cavity between two the virtual merging of file backs by file system.Especially, if two dissimilar files are to produce simultaneously, do not need to reserve the required storage area of move between two files, therefore when selection was attached to the rear of video data file with sound data file, the space of recording voice data file need not reserved in the video data file back; Similarly, when selection was attached to the rear of sound data file with video data file, the space of recording video data file also need not be reserved in the sound data file back.So, the about use that can save 1/3rd file storage area and reduce internal memory of the present invention.
In sum; though the present invention discloses as above with a preferred embodiment; right its is not in order to limit the present invention; anyly have the knack of this skill person; without departing from the spirit and scope of the present invention; when can being used for a variety of modifications and variations, so protection scope of the present invention is as the criterion when looking accompanying the claim person of defining.

Claims (43)

1. file merging method, be applied in the electronic installation, be stored in one first file and one second file in this electronic installation in order to merging, this electronic installation comprises a Storage Media, be used for depositing this first file and this second file, an and file configuration table, be used for writing down this first file and in this Storage Media, one first open beginning position and one first end position, and write down this second file and in this Storage Media, one second open beginning position and one second end position, this method comprises:
This that this first end position of this first file is revised as this second file second opens the beginning position.
2. the method for claim 1, wherein this first file and this second file have at least one first Frame and at least one second Frame respectively, and this method more comprises:
Write down a title data at this first file, wherein, this title data records has a source file length of this first file;
This that this first end position of this first file is revised as this second file second opens the beginning position, link the address to revise this first file and this second file in the correspondence of this Storage Media, use not moving under the situation of this first Frame and the storage address of this second Frame in this Storage Media, this first file and this second file are merged into an integrating document;
Calculate an integrating document length of this integrating document; And
Upgrade this title data, with this integrating document length records in this title data.
3. the method for claim 1, wherein this method more comprises:
The sampling characteristic value of this first Frame is converted to a sampling table;
Should be attached to after this integrating document by the sampling table.
4. method as claimed in claim 3, wherein, this method more comprises:
Produce one the 3rd file in this Storage Media, the 3rd file has this sampling characteristic value.
5. method as claimed in claim 3, wherein, this method more comprises:
The characteristic value of should taking a sample is recorded to a scratch-pad memory.
6. method as claimed in claim 2, wherein, the step of calculating this integrating document length comprises:
Obtain a sector-size S of this Storage Media;
Obtain this source file length N 1 of this first file and one second file size N2 of this second file respectively;
Calculate M1=ceil (N1/S) and M2=ceil (N2/S); And
Obtain this integrating document length (LEN) and be (M1+M2) * S.
7. method as claimed in claim 2, wherein, in this integrating document, this first file is to be arranged in before this second file.
8. the method for claim 1, wherein this method is to use in an embedded system, and this Storage Media is a flash memory.
9. the method for claim 1, wherein this first file and this second file are multimedia data files for recording simultaneously.
10. method as claimed in claim 9, wherein, this first file and this second file are to be respectively video data file and sound data file.
11. method as claimed in claim 9, wherein, this first file and this second file are to be respectively sound data file and video data file.
12. the method for claim 1, wherein this Storage Media is to come the log file position with a file configuration table.
13. file merging method, be applied in the electronic installation, be stored in one first file and one second file in this electronic installation in order to merging, this electronic installation comprises a Storage Media, be used for depositing this first file and this second file, an and file configuration table, wherein, this first file comprises a plurality of first Frames, this second file comprises a plurality of second Frames, and this document allocation list records the connection relationship between these a plurality of first Frames respectively, and the annexation between these a plurality of second Frames, and this method comprises:
Set up the connection relationship of these a plurality of first Frames and these a plurality of second Frames.
14. method as claimed in claim 13, this connection pass is meant and utilizes a pointer that one Frame is pointed to another Frame.
15. method as claimed in claim 14, wherein, these a plurality of first Frames comprise one first and open beginning Frame and one first end data frame, what be used for representing this first file respectively opens initial portion and latter end, and these a plurality of second Frames comprise one second and open beginning Frame and one second end data frame, what be used for representing this second file respectively opens initial portion and latter end, and this method is to utilize this first end data frame is pointed to this second to open the connection relationship that the beginning Frame is set up these a plurality of first Frames and these a plurality of second Frames.
16. method as claimed in claim 13, wherein, this method more comprises:
Write down a title data in this first file, wherein, this title data records has a source file length of this first file;
Revise this first file and this second file and link the address in the correspondence of this Storage Media, use not moving under the situation of those first Frames and the storage address of those second Frames in this Storage Media, this first file and this second file are merged into an integrating document;
Calculate an integrating document length of this integrating document; And
Upgrade this title data, with this integrating document length records in this title data.
17. method as claimed in claim 13, wherein, this method more comprises:
The sampling characteristic value of these first Frames is converted to a sampling table;
This sampling table is attached to after this integrating document.
18. method as claimed in claim 17, wherein, this method more comprises:
Produce one the 3rd file in this Storage Media, the 3rd file has this sampling characteristic value.
19. method as claimed in claim 17, wherein, this method more comprises:
The characteristic value of should taking a sample is recorded to a scratch-pad memory.
20. method as claimed in claim 16, wherein, the step of calculating this integrating document length comprises:
Obtain a sector-size S of this Storage Media;
Obtain this source file length N 1 of this first file and one second file size N2 of this second file respectively;
Calculate M1=ceil (N1/S) and M2=ceil (N2/S); And
Obtain this integrating document length (LEN) and be (M1+M2) * S.
21. method as claimed in claim 16, wherein, in this integrating document, this first file is to be arranged in before this second file.
22. method as claimed in claim 16, wherein, this method is to use in an embedded system, and this Storage Media is a flash memory.
23. method as claimed in claim 16, wherein, this first file and this second file are the multimedia data files for recording simultaneously.
24. method as claimed in claim 23, wherein, this first file and this second file are to be respectively video data file and sound data file.
25. method as claimed in claim 23, wherein, this first file and this second file are to be respectively sound data file and video data file.
26. method as claimed in claim 16, wherein, this Storage Media is to come the log file position with a file configuration table.
27. a file merges device, is installed in the electronic installation, in order to merge one first file and one second file, this device comprises:
One Storage Media is deposited this first file and this second file; And
One file configuration table is used for writing down this first file and one first opens beginning position and one first end position in this Storage Media, and writes down this second file and one second open beginning position and one second end position in this Storage Media,
Wherein, when this first file and this second file were merged into an integrating document, this first end position of this first file was that this that be revised as this second file second opens the beginning position.
28. device as claimed in claim 27, wherein, this first file and this second file have at least one first Frame and at least one second Frame respectively; Wherein, when this first file and this second file are merged into this integrating document, be not move under the situation of this first Frame and the storage address of this second Frame in this Storage Media, with this first end position of this first file is that this that be revised as this second file second opens the beginning position, links the address to revise this first file and this second file in the correspondence of this Storage Media.
29. device as claimed in claim 27, wherein, this first file logging has a title data, and this title data is in order to a source file length that writes down this first file and in order to an integrating document length of this integrating document of new record more.
30. device as claimed in claim 28, wherein, this Storage Media is more deposited a sampling table, and this sampling table is converted and be attached to after this integrating document by the sampling characteristic value of this first Frame.
31. device as claimed in claim 30, wherein, this Storage Media is more deposited one the 3rd file, and the 3rd file has this sampling characteristic value, and this sampling characteristic value is to be recorded to a scratch-pad memory.
32. device as claimed in claim 30, wherein, in this integrating document, this first file is to be arranged in before this second file.
33. device as claimed in claim 27, wherein, this device is to use in an embedded system, and this Storage Media is to be a flash memory.
34. device as claimed in claim 27, wherein, this first file and this second file are the multimedia data files for recording simultaneously.
35. device as claimed in claim 34, wherein, this first file and this second file are to be respectively video data file and sound data file.
36. device as claimed in claim 34, wherein, this first file and this second file are to be respectively sound data file and video data file.
37. a file merges device, is installed in the electronic installation, in order to merge one first file and one second file, this device comprises:
One Storage Media is deposited this first file and this second file, and this first file comprises a plurality of first Frames, and this second file comprises a plurality of second Frames; And
One file configuration table records the connection relationship between these a plurality of first Frames respectively, and the annexation between these a plurality of second Frames,
Wherein, to merge into an integrating document be by the connection relationship of setting up these a plurality of first Frames and these a plurality of second Frames for this first file and this second file.
38. device as claimed in claim 37, this connection pass is meant and utilizes a pointer that one Frame is pointed to another Frame.
39. device as claimed in claim 38, wherein, these a plurality of first Frames comprise one first and open beginning Frame and one first end data frame, what be used for representing this first file respectively opens initial portion and latter end, and these a plurality of second Frames comprise one second and open beginning Frame and one second end data frame, what be used for representing this second file respectively opens initial portion and latter end, and this method is to utilize this first end data frame is pointed to this second to open the connection relationship that the beginning Frame is set up these a plurality of first Frames and these a plurality of second Frames.
40. device as claimed in claim 37, wherein, this device is to use in an embedded system, and this Storage Media is a flash memory.
41. device as claimed in claim 37, wherein, this first file and this second file are the multimedia data files for recording simultaneously.
42. device as claimed in claim 41, wherein, this first file and this second file are to be respectively video data file and sound data file.
43. device as claimed in claim 41, wherein, this first file and this second file are to be respectively sound data file and video data file.
CN 200510055842 2004-08-06 2005-03-15 Method and apparatus for data recording with virtual combination Expired - Fee Related CN1731527B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 200510055842 CN1731527B (en) 2004-08-06 2005-03-15 Method and apparatus for data recording with virtual combination
CN201110265254.2A CN102354517B (en) 2004-08-06 2005-03-15 The data record method and device of virtual merging

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200410056266 2004-08-06
CN200410056266.4 2004-08-06
CN 200510055842 CN1731527B (en) 2004-08-06 2005-03-15 Method and apparatus for data recording with virtual combination

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201110265254.2A Division CN102354517B (en) 2004-08-06 2005-03-15 The data record method and device of virtual merging

Publications (2)

Publication Number Publication Date
CN1731527A true CN1731527A (en) 2006-02-08
CN1731527B CN1731527B (en) 2011-11-16

Family

ID=35963866

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201110265254.2A Expired - Fee Related CN102354517B (en) 2004-08-06 2005-03-15 The data record method and device of virtual merging
CN 200510055842 Expired - Fee Related CN1731527B (en) 2004-08-06 2005-03-15 Method and apparatus for data recording with virtual combination

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201110265254.2A Expired - Fee Related CN102354517B (en) 2004-08-06 2005-03-15 The data record method and device of virtual merging

Country Status (1)

Country Link
CN (2) CN102354517B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021217A (en) * 2016-05-27 2016-10-12 成都索贝数码科技股份有限公司 Editing method and system of large-file data stored based on FICS objects

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4135049B2 (en) * 1999-03-25 2008-08-20 ソニー株式会社 Non-volatile memory
CN1296930C (en) * 2002-09-29 2007-01-24 上海乐金广电电子有限公司 Recording and access method of Digital document
CN100504854C (en) * 2003-01-14 2009-06-24 联想(北京)有限公司 Document management method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021217A (en) * 2016-05-27 2016-10-12 成都索贝数码科技股份有限公司 Editing method and system of large-file data stored based on FICS objects

Also Published As

Publication number Publication date
CN1731527B (en) 2011-11-16
CN102354517A (en) 2012-02-15
CN102354517B (en) 2015-09-02

Similar Documents

Publication Publication Date Title
US7337297B2 (en) Method and apparatus for recording data with pseudo-merge
EP1486979B1 (en) Data recording method and data recording device
CN100530410C (en) Data recording method, data display method and recording apparatus
US20040240541A1 (en) Method and system for direct ingest and storage of digital video content with immediate access to content for browsing and editing
US11250888B1 (en) Flash memory and method for storing and retrieving embedded audio video data
CN1702633A (en) Method for establishing medium file system
CN114007112B (en) Method for repairing mdat box data errors in MP4 video file
KR20080003262A (en) File splitting apparatus, file splitting method and file splitting program
CN100347705C (en) Method for file merge
US7389038B1 (en) Multimedia information recording device and method for recording multimedia information file on recording medium
US8503868B2 (en) Method for recording AV data and associated data, AV data recording apparatus, AV data reproducing apparatus and method, and recording medium
JP4241839B2 (en) Data and file system information recording apparatus and recording method
JP4251219B2 (en) Editing apparatus and editing method
US8478109B2 (en) Recording apparatus and method, program, and storage medium
CN1731527A (en) Method and apparatus for data recording with virtual combination
JP5351972B2 (en) Multimedia data recording
US7835614B2 (en) Data recording method, data recording apparatus, and data recording medium
CN1783314A (en) Medium processing method and its device
CN1866373A (en) Information recording apparatus and information recording/reproducing apparatus
JP2009271635A (en) File editing apparatus and file editing method
JP2002373480A (en) Data-recording method, data recorder and recording medium
JP4289403B2 (en) Editing apparatus and editing method
JP4255796B2 (en) DATA RECORDING DEVICE, DATA RECORDING METHOD, DATA RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP2007265010A (en) File reproduction apparatus, file reproduction method, and program
CN1855285A (en) Recording media for storing audio video files and method for editing audio-video files

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111116

CF01 Termination of patent right due to non-payment of annual fee