CN101685461A - Method for integrally transferring project file and related mapping file - Google Patents

Method for integrally transferring project file and related mapping file Download PDF

Info

Publication number
CN101685461A
CN101685461A CN200810223664A CN200810223664A CN101685461A CN 101685461 A CN101685461 A CN 101685461A CN 200810223664 A CN200810223664 A CN 200810223664A CN 200810223664 A CN200810223664 A CN 200810223664A CN 101685461 A CN101685461 A CN 101685461A
Authority
CN
China
Prior art keywords
file
project
copy
mapped
correlation map
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
CN200810223664A
Other languages
Chinese (zh)
Other versions
CN101685461B (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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN 200810223664 priority Critical patent/CN101685461B/en
Publication of CN101685461A publication Critical patent/CN101685461A/en
Application granted granted Critical
Publication of CN101685461B publication Critical patent/CN101685461B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention relates to the file copy technology of image-text packaging, in particular to a method for integrally transferring a project file and a related mapping file. In the method, the project file is integrally packed and transferred with the related mapping file in the process of transferring the project file of an image-text packaging system, and association between the transferred project file and the mapping file is established, so the loss of the mapping file information on the project file is avoided and the integrity of the transferred project file information is fundamentally ensured.

Description

The method for integrally transferring of a kind of project file and correlation map file
Technical field
The present invention relates to the document copying technology of picture and text packing, be specifically related to the method for integrally transferring of a kind of project file and correlation map file.
Background technology
In the picture and text packaging system, often have the situation that a project file that has editted is copied or shifts and occur, so that the broadcast control in strange land or work such as modification and backup.Project file can be to there being some relevant mapped files, and the type of these mapped files mainly comprises: the file of general picture resource (comprising format pictures such as * .jpg, * .bmp, * .tga), mapping picture file, video file, font template base etc.In the prior art, often just simply project file is shifted, and do not have the complete information of noting the correlation map file.Therefore, project file tends to produce losing of correlation map file in transfer process, and makes this project file lack integrality, drop-out, thus influence work.
Summary of the invention
The objective of the invention is defective, the method for integrally transferring of a kind of project file and correlation map file is provided, thereby when shifting project file, guarantee its information integrity at prior art.
Technical scheme of the present invention is as follows: the method for integrally transferring of a kind of project file and correlation map file comprises the steps:
(1) information of mapped file that will be relevant with project file is recorded in the File mapping table;
(2) when destination folder shifts project file, travel through above-mentioned File mapping table, carry out the copy of respective file and file one by one;
(3) after project file and mapped file have all carried out corresponding transfer, the File mapping table in the reconstruction engineering file, with the mapped file of new copy as the new correlation map file that shifts the project file of generation.
Further, the method for integrally transferring of aforesaid project file and correlation map file, wherein, the file destination that is transferred to is clipped under the different directories of current engineering place computer, perhaps with current engineering under in the different target machine.
Further, the method for integrally transferring of aforesaid project file and correlation map file, wherein, the copy for mapped file comprises the steps:
1. at first in destination folder, seek the picture file clip directory and whether exist, if there is no then according to the Folder Name new folder;
2. obtain new file path name by filename and new route name, below new file, search whether there is same file;
3. as there not being same file, then carry out the copy of file.
Further, the method for integrally transferring of aforesaid project file and correlation map file wherein, for the copy of the general picture file in the mapped file, is being searched when whether having same file, and the condition of judgement comprises:
A. whether the title of file is identical,
B. whether the creation-time of file is identical,
C. whether the size of file is identical;
In destination folder, exist the title of file identical, but under the different situation of creation-time or file size, file is carried out the rename copy.
Further, the method for integrally transferring of aforesaid project file and correlation map file wherein, for the copy of the tga sequence of pictures file in the mapped file, is being searched when whether having same file, and the condition of judgement comprises:
A. whether the title of file is identical,
B. whether the creation-time of file is identical,
C. whether the size of file is identical,
D. whether head and the tail frame file is identical;
In destination folder, exist the title of file identical, but under the different situation of creation-time or file size or head and the tail frame file, file is carried out the rename copy.
Further, the method for integrally transferring of aforesaid project file and correlation map file, wherein, if the file destination that is transferred to be clipped in current engineering under in the different target machine, then the font file in the pairing font template base of project file is copied in the fontlib of target machine.
Beneficial effect of the present invention is as follows: pass through the method for the invention, in the process that the project file of picture and text packaging system shifts, associated mapped file has also been carried out integrated packing to be shifted, and between project file after the transfer and mapped file, set up related, thereby, avoided losing of the mapped file information relevant, the project file information integrity after fundamentally having guaranteed to shift with project file.
Description of drawings
Fig. 1 is a method flow diagram of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in detail.
The invention provides the global transfer implementation method of a kind of mapped file and project file.In general, in the preservation of project file, the information of correlation map file has been write down time, existed in the File mapping table, therefore when shifting project file, will travel through this document mapping table, obtain mapped file information, carry out the copy of respective file and file one by one.After project file and mapped file had all carried out corresponding transfer, the File mapping table in the reconstruction engineering file as the new correlation map file that shifts the project file of generation, remapped the mapped file of new copy.
The type of mapped file mainly comprises: general picture resource (comprising * .jpg, * .bmp, format pictures such as * .tga), the file of mapping picture file, video file, font template base etc.The one packing of font template is only carried out just needing to carry out when project file shifts between different machines.
The information of the mapped file that writes down in the File mapping table generally comprises: path full name of file, such as: C: Images chinaflag.tga and it a used unique identifier in engineering, because may repeatedly use a file in the engineering, substitute with an identifier in the file, the corresponding filename of identifier, just can obtain file name information with identifier, thereby search for the acquisition file.
Also support the client to specify the copy of certain file outside the copy of method provided by the present invention mapped file in carrying out engineering, this document folder may not have associated documents to be present in the engineering in current engineering, but performed link can be replaced and have some mapped file in the engineering now such as carrying out project file needs when broadcasting after shifting project file.We can say that the file in this document folder is standby, can be used as the following expansion that needs of current project file.
Transfer for project file comprises two kinds of situations: 1. file destination is clipped under the different directories of current engineering place computer; 2. destination folder and current engineering belong to the different target machine.The difference of the former with the latter is: latter's fontlib of need packing, if there are a common configuration folder in current machine and target machine, the file of mapping all is present in the resources bank, resource file can be stored in this document folder and needn't carry out the transfer work of mapped file.Therefore, the file in the resource file folder that in practical operation, generally needs to select whether to pack, the user can select according to following situation.
1. the file that project file shone upon all is present in the resources bank, at this moment, behind the path of differentiating all mapped files, can a package engineering file, need not to carry out the copy of mapped file, the user also can pack this part mapping file and be present under the relative catalogue of project file certainly.
2. the file part that project file shone upon is present in the resources bank, and then the file that the mapped file in the resources bank is carried out in the selectable packing alternative document folder is then packed.
3. the file that project file shone upon is not present in the resources bank, then institute's mapped file is packed by executive mode of the present invention according to different file types.
Use the difference of mapping resource file type according to project file, for the ease of management, mapped file in the project file extracted be divided three classes: general picture is transferred to the file with " Images " name under the project file catalogue at the same level, font file then directly copies the system font storehouse of target machine, and the tga sequential file is transferred to the file with " ImageSeq " name under the project file catalogue at the same level.
Packing process to the mapped file of several types is introduced below.
● the packing process of general picture file:
1. at first in destination folder, seek the picture file clip directory and whether exist, if there is no then according to the Folder Name new folder;
2. obtain new file path name by filename and new route name, below new file, search whether there is same file;
3. as there not being same file, then carry out the copy of file.
Search when whether having same file, the condition of judgement comprises:
A. whether the title of file is identical
B. whether the creation-time of file is identical
C. whether the size of file is identical
If meet above-mentioned three conditions then do not copy, eligible a, but ineligible b or c, then carry out the rename copy of file, whether with file designation is ininame_1, should check the ininame_1 file to exist earlier before the name copy, if having also comparison condition b or c; Go on successively, do not have the consistent document copying that carries out up to title.
● the packing process of tga sequential file:
The tga sequential file is meant a kind of dynamic picture of being made up of a series of tga picture files, the animation effect that approximate a kind of avi picture is had, and it needs the tga picture file resource of a series of continuous names.The information such as initial name of the tga file of being quoted have been write down in this tga sequential file.During the packing of tga sequential file, such as tga sequential file " background ", at first tga sequential file " background " packing is put under " ImageSeq " file of target location, then with the tga document storage quoted under file with the filename name of this tga sequential file " background ".The packing processing procedure of the type file is:
1. at first in destination folder, seek the picture file clip directory and whether exist, if there is no then according to the Folder Name new folder;
2. obtain new file path name by filename and new route name, below new file, search whether there is same file;
3. as there not being same file, then carry out the copy of file.
Search when whether having same file, the condition of judgement comprises:
A. whether the title of file is identical
B. whether the creation-time of file is identical
C. whether the size of file is identical
D. whether head and the tail frame file is identical
If there is no same file then carries out the copy of sequential file, and a newly-built file with this sequence of pictures name is gone into these document copyings in this document folder.
If meet above-mentioned four conditions then do not copy, eligible a, but ineligible b or c or d, again rename file as ininame_1, whether the file of judging this newname again exists, and the like, there is not corresponding file up to newname, carry out the copy of sequential file then.
● the processing of video file is similar to the packing of general image and handles.
● the copy of font file
If the file destination that is transferred to be clipped in current engineering under in the different target machine, then the font file in the pairing font template base of project file is copied in the fontlib of target machine.
Method of the present invention is not limited to the embodiment described in the embodiment, and those skilled in the art's technical scheme according to the present invention draws other embodiment, belongs to technological innovation scope of the present invention equally.

Claims (8)

1. the method for integrally transferring of project file and correlation map file comprises the steps:
(1) information of mapped file that will be relevant with project file is recorded in the File mapping table;
(2) when destination folder shifts project file, travel through above-mentioned File mapping table, carry out the copy of respective file and file one by one;
(3) after project file and mapped file have all carried out corresponding transfer, the File mapping table in the reconstruction engineering file, with the mapped file of new copy as the new correlation map file that shifts the project file of generation.
2. the method for integrally transferring of project file as claimed in claim 1 and correlation map file is characterized in that: the file destination that is transferred to is clipped under the different directories of current engineering place computer, perhaps with current engineering under in the different target machine.
3. the method for integrally transferring of project file as claimed in claim 1 or 2 and correlation map file is characterized in that: the copy for mapped file comprises the steps:
1. at first in destination folder, seek the picture file clip directory and whether exist, if there is no then according to the Folder Name new folder;
2. obtain new file path name by filename and new route name, below new file, search whether there is same file;
3. as there not being same file, then carry out the copy of file.
4. the method for integrally transferring of project file as claimed in claim 3 and correlation map file is characterized in that: for the copy of the general picture file in the mapped file, searching when whether having same file, the condition of judgement comprises:
A. whether the title of file is identical,
B. whether the creation-time of file is identical,
C. whether the size of file is identical.
5. the method for integrally transferring of project file as claimed in claim 4 and correlation map file, it is characterized in that: for the copy of the general picture file in the mapped file, in destination folder, exist the title of file identical, but under the different situation of creation-time or file size, file is carried out the rename copy.
6. the method for integrally transferring of project file as claimed in claim 3 and correlation map file is characterized in that: for the copy of the tga sequence of pictures file in the mapped file, searching when whether having same file, the condition of judgement comprises:
A. whether the title of file is identical,
B. whether the creation-time of file is identical,
C. whether the size of file is identical,
D. whether head and the tail frame file is identical.
7. the method for integrally transferring of project file as claimed in claim 6 and correlation map file, it is characterized in that: for the copy of the tga sequence of pictures file in the mapped file, in destination folder, exist the title of file identical, but under the different situation of creation-time or file size or head and the tail frame file, file is carried out the rename copy.
8. the method for integrally transferring of project file as claimed in claim 2 and correlation map file, it is characterized in that: if the file destination that is transferred to be clipped in current engineering under in the different target machine, then the font file in the pairing font template base of project file is copied in the fontlib of target machine.
CN 200810223664 2008-09-28 2008-09-28 Method for integrally transferring project file and related mapping file Expired - Fee Related CN101685461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810223664 CN101685461B (en) 2008-09-28 2008-09-28 Method for integrally transferring project file and related mapping file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810223664 CN101685461B (en) 2008-09-28 2008-09-28 Method for integrally transferring project file and related mapping file

Publications (2)

Publication Number Publication Date
CN101685461A true CN101685461A (en) 2010-03-31
CN101685461B CN101685461B (en) 2013-09-18

Family

ID=42048625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810223664 Expired - Fee Related CN101685461B (en) 2008-09-28 2008-09-28 Method for integrally transferring project file and related mapping file

Country Status (1)

Country Link
CN (1) CN101685461B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073680A (en) * 2010-12-17 2011-05-25 中广核(北京)仿真技术有限公司 Data switching method and system of nuclear simulation platform and configuration management system
CN102411507A (en) * 2011-07-29 2012-04-11 深圳市合众研创科技有限公司 Method and system for initializing and detecting embedded equipment by using secure digital (SD) card
CN103886071A (en) * 2014-03-21 2014-06-25 广州金山网络科技有限公司 Method, system and device for transferring files on mobile terminal to local device
CN104484394A (en) * 2014-12-12 2015-04-01 北京国双科技有限公司 Item set processing method and item set processing device
CN104915462A (en) * 2015-07-14 2015-09-16 魅族科技(中国)有限公司 File management method and system
CN106855887A (en) * 2016-12-26 2017-06-16 努比亚技术有限公司 A kind of method of file management, device and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1516485A1 (en) * 2002-06-12 2005-03-23 Koninklijke Philips Electronics N.V. Trick play of an encrypted video stream
JP2007115293A (en) * 2005-10-17 2007-05-10 Toshiba Corp Information storage medium, program, information reproducing method, information reproducing apparatus, data transfer method, and data processing method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073680A (en) * 2010-12-17 2011-05-25 中广核(北京)仿真技术有限公司 Data switching method and system of nuclear simulation platform and configuration management system
CN102073680B (en) * 2010-12-17 2014-04-16 中广核(北京)仿真技术有限公司 Data switching method and system of nuclear simulation platform and configuration management system
CN102411507A (en) * 2011-07-29 2012-04-11 深圳市合众研创科技有限公司 Method and system for initializing and detecting embedded equipment by using secure digital (SD) card
CN103886071A (en) * 2014-03-21 2014-06-25 广州金山网络科技有限公司 Method, system and device for transferring files on mobile terminal to local device
CN103886071B (en) * 2014-03-21 2017-09-29 广州猎豹网络科技有限公司 File on mobile terminal is sent to the method, system and device of local device
CN104484394A (en) * 2014-12-12 2015-04-01 北京国双科技有限公司 Item set processing method and item set processing device
CN104484394B (en) * 2014-12-12 2018-11-06 北京国双科技有限公司 The processing method and processing device of project set
CN104915462A (en) * 2015-07-14 2015-09-16 魅族科技(中国)有限公司 File management method and system
CN106855887A (en) * 2016-12-26 2017-06-16 努比亚技术有限公司 A kind of method of file management, device and terminal

Also Published As

Publication number Publication date
CN101685461B (en) 2013-09-18

Similar Documents

Publication Publication Date Title
CN101685461B (en) Method for integrally transferring project file and related mapping file
CN109117425B (en) Method, system, and medium for digital asset synchronization
US20230281223A1 (en) Synchronization of components of digital assets during live co-editing
US7143114B2 (en) Automatic renaming of files during file management
US8504529B1 (en) System and method for restoring data to a storage device based on a backup image
US8655840B2 (en) Method, apparatus and computer program product for sub-file level synchronization
JP6542563B2 (en) How to integrate, synchronize and stream production content for distributed editing of media composition
US10248356B2 (en) Using scratch extents to facilitate copying operations in an append-only storage system
US10552384B2 (en) Synchronizing media files available from multiple sources
US8468291B2 (en) Asynchronous distributed object uploading for replicated content addressable storage clusters
EP2756434B1 (en) Efficient data recovery
CN104714859A (en) Rapid backup and recovery method of mass files
JP2008033519A (en) Backup control device and method dispensing with duplication of information resources
CN101188544A (en) File transfer method for distributed file server based on buffer
CN105868286A (en) Parallel adding method and system for merging small files on basis of distributed file system
JP3409652B2 (en) Multimedia information providing device
AU2019213367B2 (en) Rule-based, modular conflict resolution for composite documents
CN102187359A (en) Dynamic content sorting using tags
CN113254394B (en) Snapshot processing method, system, equipment and storage medium
CN103595797A (en) Caching method for distributed storage system
EP1209586A2 (en) File management method and content recording/playback apparatus
US9678972B2 (en) Packing deduplicated data in a self-contained deduplicated repository
CN106020713A (en) File storage method based on buffer area
CN107783863A (en) A kind of mass file Fast back-projection algorithm backup method
CN102467576A (en) Information processing device, electronic apparatus, information processing method and program

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

Granted publication date: 20130918

Termination date: 20160928