CN101764954B - Backup and restoring method of subtitle menu - Google Patents

Backup and restoring method of subtitle menu Download PDF

Info

Publication number
CN101764954B
CN101764954B CN 200810227562 CN200810227562A CN101764954B CN 101764954 B CN101764954 B CN 101764954B CN 200810227562 CN200810227562 CN 200810227562 CN 200810227562 A CN200810227562 A CN 200810227562A CN 101764954 B CN101764954 B CN 101764954B
Authority
CN
China
Prior art keywords
backup
caption list
file
caption
list
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
CN 200810227562
Other languages
Chinese (zh)
Other versions
CN101764954A (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 200810227562 priority Critical patent/CN101764954B/en
Publication of CN101764954A publication Critical patent/CN101764954A/en
Application granted granted Critical
Publication of CN101764954B publication Critical patent/CN101764954B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a backup and restoring method of a subtitle menu, belonging to the technical field of subtitle edit of a television station. The method comprises the following steps of: starting timing by automatic backup time when the subtitle menu starts editing; returning the automatic backup time to zero in a preset backup period if manual backup is carried out, and restarting timing; and when one backup period is finished, automatically carrying out serialized backup on the subtitle menu according to a preset file format. When the subtitle menu is needed to be restored, backup files needed to be restored are selected from all backup files needing restoring the subtitle menu; and the backup files are deserialized according to the file format to restore the subtitle menu. The method increases the security of the subtitle menu editing, also lowers the working strength of personnel for editing subtitles and improves the working efficiency.

Description

A kind of backup-and-restore method of caption list
Technical field
The invention belongs to television station caption editing technique field, be specifically related to a kind of backup-and-restore method of caption list.
Background technology
Present caption editing personnel for TV station, all can edit captions every day, and after subtitle list editing appearance mistake or mistake deletion, only utilize the recovery operations such as CTRL+Z, be difficult to recover, and if after the caption editing system closing comprehensively, just can't recover, need to update caption list this moment, thereby increased caption editing personnel's workload, affected the efficient of caption editing.
Summary of the invention
For the defective that exists in prior art, the purpose of this invention is to provide a kind of backup-and-restore method of caption list, the method can increase the fail safe of subtitle list editing, reduces caption editing personnel's working strength, and increases work efficiency.
To achieve these goals, the technical solution used in the present invention is: a kind of backup-and-restore method of caption list, the method is set an automated back-up cycle, when caption list begins to edit, the automated back-up time begins timing, when a backup cycle finishes, automatically caption list is carried out the serializing backup according to predefined file format; When the reduction caption list, need to select the backup file of reduction in all backup files of needs recovery caption list, according to file format, backup file is carried out unserializing, the reduction caption list.
The backup-and-restore method of a kind of caption list as above, wherein, in the cycle, if carried out manual backup, the automated back-up time makes zero, and restarts timing at an automated back-up.
The backup-and-restore method of a kind of caption list as above, wherein, when caption list is backed up, automatically set up the file according to this caption list subordinate channel name under predefined backup path, and set up the file according to this caption list broadcast time name under this document folder.
The backup-and-restore method of a kind of caption list as above wherein, generates the backup file of naming according to this caption list subordinate channel, broadcast time and BACKUP TIME automatically under according to the file of caption list broadcast time name.
The backup-and-restore method of a kind of caption list as above wherein, is encrypted described backup file.
The backup-and-restore method of a kind of caption list as above, wherein, described file format is the XML form.
The backup-and-restore method of a kind of caption list as above, wherein, described method adopts serializing and the unserializing mechanism of Axis to carry out the backup-and-restore caption list.
The method of the invention is by the backup to caption list, after subtitle list editing occurs wrong or deletes by mistake, can be according to the backup and reduction caption list, backup-and-restore is all the enterprising line operates of file-level, even system restarts, selects the file of backup also can return to the front state of backup comprehensively.Thereby increased the fail safe of subtitle list editing, reduced simultaneously caption editing personnel's working strength, improved operating efficiency.
Description of drawings
Fig. 1 is the backup method flow chart of caption list in embodiment;
Fig. 2 is the method for reducing flow chart of caption list in embodiment.
Embodiment
Describe the present invention below in conjunction with embodiment and accompanying drawing.
The present invention is mainly used in the television station caption editing system, to the backup-and-restore of caption list.The backup of caption list is divided into dual mode, and a kind of is manual backup, and a kind of is automated back-up.
At first automated back-up will arrange the cycle of caption list automated back-up, the file format of backup and reduction and the deposit position of backup file etc.
How long the automated back-up cycle refers to the interval, to the caption list automated back-up edited once.For example, the cycle of automated back-up is 10 minutes, when beginning to edit captions timing, every through 10 minutes, just can the automated back-up caption list once.
The file format of caption list backup-and-restore must be unified, and can adopt self-defining backup format, also can adopt the backup format of increasing income.Preferably adopt xml standard configuration backup format, for example:
<NGSProgram?ProgramId="3254"StartTime="2008-10-3003:12:28"
ProgramName=" (satellite TV newly wails) 1 " ProgramLen=" 00:00:06 "/〉
<PlayItem>
<NGSControl Item Type=" program " ProgramId=" 3254 " PlayType=" are " StartTime=" 2008-10-3003:12:28 " always
EndTime=" 2008-10-3003:12:34 " RegionName=" upper left corner "/〉
<Template SceneName=" affairs are introduced " SceneStateName=" and are stopped " SceneStateCode=" and stop " InTime=" 16 "
OutTime=" 20 " FileName=" d: array CQTV test affairs introduce .m5d "/
<DataItems?Count="2">
<DataItem Name=" Data/ title 1 " Value=" Next Transmission "/〉
<DataItem Name=" Data/ title 2 " Value=" BJT15:00 "/〉
</DataItems>
Above-mentioned coded representation program ID is 3254, and name is called the captions playItem below " (satellite TV newly wails) 1 ".
Certainly, also can adopt other form.For example adopt the serializing mechanism of Axis to back up, adopt the unserializing mechanism of Axis to reduce.
After the address of backup file is deposited in setting, when caption list is backed up, automatically set up the file according to this caption list subordinate channel name under predefined backup path, and set up the file according to this caption list broadcast time name under this document folder.Automatically generate the backup file of naming according to this caption list subordinate channel, broadcast time and BACKUP TIME under according to the file of caption list broadcast time name.For example: the address of configuration backup file is: D:/backup, if the caption list subordinate channel is CQTV, the broadcast date is 2008-09-26, system can set up following folder structure: D:/backup/CQTV/2008-09-26/ automatically so, and the backup file name is called CQTV 2008-09-26 (backup in 09 month 12: 45: 22 on the 24th) .xml.
Fig. 1 has shown the method flow of caption list backup in the present embodiment, mainly comprises the following steps:
(1) when caption list begins to edit, the automated back-up time, h began timing;
(2) in predefined backup cycle H, if carried out manual backup, h makes zero the automated back-up time, restarts timing;
(3) when a backup cycle H finishes, automatically caption list is carried out the serializing backup according to predefined file format.
After the caption list backup, can be encrypted backup file, prevent that the people from revising by file.
Fig. 2 has shown the method flow of caption list reduction in the present embodiment.At first, the store path of scanning backup file is listed all backup files that need to recover caption list, therefrom need to select the backup file of reduction.Then, according to file format, backup file is carried out unserializing, the reduction caption list.
The present invention is not limited to above-mentioned embodiment, and other execution modes that those skilled in the art's technical scheme according to the present invention draws belong to technological innovation scope of the present invention equally.

Claims (6)

1. the backup-and-restore method of a caption list, it is characterized in that: described method is set an automated back-up cycle, when caption list begins to edit, the automated back-up time begins timing, when a backup cycle finishes, automatically caption list is carried out the serializing backup according to predefined file format; When the reduction caption list, need to select the backup file of reduction in all backup files of needs recovery caption list, according to file format, backup file is carried out unserializing, the reduction caption list;
When caption list is backed up, automatically set up the file according to this caption list subordinate channel name under predefined backup path, and set up the file according to this caption list broadcast time name under this document folder.
2. the backup-and-restore method of a kind of caption list as claimed in claim 1, it is characterized in that: in the cycle, if carried out manual backup, the automated back-up time makes zero, and restarts timing at an automated back-up.
3. the backup-and-restore method of a kind of caption list as claimed in claim 1, is characterized in that: automatically generate the backup file of naming according to this caption list subordinate channel, broadcast time and BACKUP TIME under according to the file of caption list broadcast time name.
4. the backup-and-restore method of a kind of caption list as claimed in claim 3, is characterized in that: described backup file is encrypted.
5. the backup-and-restore method of a kind of caption list as claimed in claim 1 or 2, it is characterized in that: described file format is the XML form.
6. the backup-and-restore method of a kind of caption list as claimed in claim 1 or 2 is characterized in that: described method adopts serializing and the unserializing mechanism of Axis to carry out the backup-and-restore caption list.
CN 200810227562 2008-11-28 2008-11-28 Backup and restoring method of subtitle menu Expired - Fee Related CN101764954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810227562 CN101764954B (en) 2008-11-28 2008-11-28 Backup and restoring method of subtitle menu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810227562 CN101764954B (en) 2008-11-28 2008-11-28 Backup and restoring method of subtitle menu

Publications (2)

Publication Number Publication Date
CN101764954A CN101764954A (en) 2010-06-30
CN101764954B true CN101764954B (en) 2013-06-05

Family

ID=42495926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810227562 Expired - Fee Related CN101764954B (en) 2008-11-28 2008-11-28 Backup and restoring method of subtitle menu

Country Status (1)

Country Link
CN (1) CN101764954B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105406934A (en) * 2015-10-27 2016-03-16 上海斐讯数据通信技术有限公司 Passive optical network system main and standby control board synchronization method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612110A (en) * 2003-10-27 2005-05-04 威达电股份有限公司 Back-up method for operational flowchart records in communication accessing iterface device
CN101031859A (en) * 2004-09-30 2007-09-05 Ttpcom有限公司 Source code protection
CN101064730A (en) * 2006-09-21 2007-10-31 上海交通大学 Local and remote backup method for computer network data file

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7613750B2 (en) * 2006-05-29 2009-11-03 Microsoft Corporation Creating frequent application-consistent backups efficiently

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612110A (en) * 2003-10-27 2005-05-04 威达电股份有限公司 Back-up method for operational flowchart records in communication accessing iterface device
CN101031859A (en) * 2004-09-30 2007-09-05 Ttpcom有限公司 Source code protection
CN101064730A (en) * 2006-09-21 2007-10-31 上海交通大学 Local and remote backup method for computer network data file

Also Published As

Publication number Publication date
CN101764954A (en) 2010-06-30

Similar Documents

Publication Publication Date Title
US9343109B2 (en) Video editing device
US8532462B2 (en) Non-destructive file based mastering for multiple languages and versions
CN101316184B (en) Disaster tolerance switching method, system and device
CN101917416B (en) Method for guaranteeing data integrity in network storage
CN103645924A (en) Method and device for managing program parameters of embedded device
CN103546698B (en) A kind of mobile terminal recorded video store method and device
CN101132508A (en) Method and apparatus for recording and reproducing, method and device for acquiring and recording image
WO2006044914A3 (en) Method, system and storage medium for managing automated system events
CN109635154B (en) Method for automatically generating Internet image-text manuscript based on manuscript and news program
CN111274257B (en) Real-time synchronization method and system based on data
CN104732991A (en) System and method for rapidly sorting, selecting and editing entertainment program massive materials
CN101742254B (en) Backup method for video monitoring system information and central platform server
CN101764954B (en) Backup and restoring method of subtitle menu
CN104202542A (en) Automatic subtitle generating method and device for video camera
CN101848342B (en) System and method for broadcasting and controlling subtitle
CN103686071A (en) Monitoring video playback method and system
CN103856724B (en) It is a kind of to make emergency system
CN103414941A (en) Program editing method and device based on intelligent television
CN201717889U (en) Progressive data synchronization system
CN104504172A (en) Main-standby scheduling model data synchronization method for electricity SCADA (supervisory control and data acquisition) system
CN104168406A (en) Studio linkage broadcasting controlling system and method
CN101207513A (en) Apparatus and method for saving historical data
CN102572292B (en) Script-holding auditing system and method
CN102740001B (en) A kind of program broadcasting time adaptive processing method and device
CN113239005B (en) I and IV area data synchronization method and device for power monitoring system

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

Termination date: 20161128