CN106507152A - A kind of program file is reorganized and outfit, delet method and device - Google Patents
A kind of program file is reorganized and outfit, delet method and device Download PDFInfo
- Publication number
- CN106507152A CN106507152A CN201610915111.4A CN201610915111A CN106507152A CN 106507152 A CN106507152 A CN 106507152A CN 201610915111 A CN201610915111 A CN 201610915111A CN 106507152 A CN106507152 A CN 106507152A
- Authority
- CN
- China
- Prior art keywords
- time
- storage
- broadcast
- program file
- outfit
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26258—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26283—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for associating distribution time parameters to content, e.g. to generate electronic program guide data
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
This application provides a kind of program file reorganize and outfit, delet method and device, including:Determined in the broadcast time of each channel according to program file and broadcast channel and earliest broadcast time earliest;Opening time of reorganizing and outfit according to the earliest broadcast time and the described earliest broadcast channel being pre-configured with determines that the time reorganized and outfit by the file of the program file;The program file is migrated to the secondary storage of broadcast system, execution is reorganized and outfit;Broadcast time the latest is determined according to broadcast time of the program file in each channel;The erasing time of storage system is determined according to the retention time of the broadcast time the latest and each channel being pre-configured with storage system;After the program file completes to broadcast the latest, the program file in the storage system is deleted according to the erasing time of the storage system and the execution time of deleting of the storage system being pre-configured with.The application can realize the management of the whole life cycle to program file in broadcast system.
Description
Technical field
The application is related to broadcasting television technology field, more particularly to a kind of program file reorganize and outfit, delet method and device.
Background technology
At present, the program file life cycle management of television station's broadcast system is mainly to file in each storage
Migration management and deletion management, for example:File migration carried out according to programme, if just not broadcasting according to storage erasing time
Or in the programme that does not broadcast, carry out file deletion etc..
As the file life cycle that different broadcast channels has each different layout characteristics, each channel starts and deletes
Except there is an individualized feature, and then lack in the prior art based on channel attribute to the generation management of broadcast system file and
The management in each storage independent life cycle.
The deficiencies in the prior art are:
Lack the management based on channel attribute to the whole life cycle of program file.
Content of the invention
The embodiment of the present application propose a kind of program file reorganize and outfit, delet method and device, to solve to lack in prior art
The weary technical problem based on channel attribute to the management of the whole life cycle of program file.
One side, the embodiment of the present application are reorganized and outfit method there is provided a kind of program file, are comprised the steps:
Determined in the broadcast time of each channel according to program file and broadcast earliest channel and earliest broadcast time TB1;
According to the earliest broadcast time TB1And the described earliest broadcast channel being pre-configured with reorganizes and outfit opening time Tc
Determine that time T reorganized and outfit by the file of the program filep;
The program file is migrated to the secondary storage of broadcast system, execution is reorganized and outfit.
Second aspect, the embodiment of the present application provide a kind of program file device for reconditioning, including:
First determining module, broadcast earliest channel and earliest for determining in the broadcast time of each channel according to program file
Broadcast time TB1;
Second determining module, for according to the earliest broadcast time TB1And the described earliest broadcast channel being pre-configured with
Reorganize and outfit opening time TcDetermine that time T reorganized and outfit by the file of the program filep;
Transferring module, for migrating the program file to the secondary storage of broadcast system;
Module is reorganized and outfit, is reorganized and outfit for executing.
3rd aspect, the embodiment of the present application provide a kind of program file delet method, comprise the steps:
Broadcast time the latest is determined according to broadcast time of the program file in each channel;
Storage is determined in the retention time of storage system according to the broadcast time the latest and each channel being pre-configured with
The erasing time of system;The erasing time of the storage system be the broadcast time the latest with each channel storage system guarantor
Stay the maximum sum of time;
After the program file completes to broadcast the latest, according to the erasing time of the storage system and it is pre-configured with
The execution time of deleting of storage system deletes the program file in the storage system.
4th aspect, the embodiment of the present application provide a kind of program file and delete device, including:
3rd determining module, determines broadcast time the latest for the broadcast time according to program file in each channel;
4th determining module, for according to the latest broadcast time and each channel for being pre-configured with storage system
Retention time determines the erasing time of storage system;The erasing time of the storage system is broadcast time and each frequency the latest
Maximum sum of the road in the retention time of storage system;
Removing module, for after the program file completes to broadcast the latest, according to the erasing time of the storage system
And the execution time of deleting of the storage system being pre-configured with deletes the program file in the storage system.
Have the beneficial effect that:
The program file provided by the embodiment of the present application is reorganized and outfit, delet method and device, based on channel management and according to section
The earliest broadcast time of mesh list, the latest broadcast time, determine program file reorganize and outfit that opening time and program file wither away delete
The time of removing, it is possible to avoided the peak hour process come flexible business by the execution time of configurable each channel, according to finally determined
Time execution is reorganized and outfit or is deleted, so as to realize the management of the whole life cycle to program file in broadcast system.
Description of the drawings
The specific embodiment of the application is described below with reference to accompanying drawings, wherein:
Fig. 1 shows that program file reorganizes and outfit the schematic flow sheet that method is implemented in the embodiment of the present application;
Fig. 2 shows the schematic flow sheet that program file delet method is implemented in the embodiment of the present application;
Fig. 3 shows the program file schematic flow sheet of broadcast system in the embodiment of the present application;
Fig. 4 shows the structural representation of program file device for reconditioning in the embodiment of the present application;
Fig. 5 shows the structural representation of program file deletion device in the embodiment of the present application.
Specific embodiment
In order that the technical scheme and advantage of the application become more apparent, below in conjunction with accompanying drawing to the exemplary of the application
Embodiment is described in more detail, it is clear that described embodiment is only a part of embodiment of the application, rather than
The exhaustion of all embodiments.And in the case where not conflicting, the feature in embodiment and embodiment in this explanation can be mutual
Combine.
For the deficiencies in the prior art, present applicant proposes a kind of program file reorganize and outfit, delet method and device, using letter
Breathization management means, is managed based on channelization, according to broadcast items list or program file attribute, is flexibly set program file and is being broadcast
Go out internal system each storage generation and deletion strategy, realize life cycle management of the program file in broadcast system.
Program file provided herein is reorganized and outfit with reference to specific embodiment, delet method and device are said
Bright.
Embodiment one,
Fig. 1 shows that program file reorganizes and outfit the schematic flow sheet that method is implemented in the embodiment of the present application, as illustrated, described
Method reorganized and outfit by file can include:
Step 101, the broadcast time according to program file in each channel determine earliest broadcast channel and earliest broadcast time
TB1;
Step 102, according to the earliest broadcast time TB1And the described earliest broadcast channel being pre-configured with is reorganized and outfit out
Door time TcDetermine that time T reorganized and outfit by the file of the program filep;
Step 103, the secondary storage migrated the program file to broadcast system, execution are reorganized and outfit.
When being embodied as, file in each channel can be pre-configured with and opening time, tool is reorganized and outfit what broadcast system was produced
Body can be as shown in following table 1.1:
Channel | Reorganize and outfit opening time |
CH1 | Tc1 |
CH2 | Tc2 |
… | … |
CHi | Tci |
CH(i+1) | Tc(i+1) |
… | … |
The program file provided by the embodiment of the present application reorganizes and outfit method, based on channel management simultaneously according to the most early sowing of programme
Go out the time, determine program file reorganizes and outfit opening time, it is possible to by the execution time of configurable each channel come flexible
Business is avoided the peak hour process, is executed according to the time for finally determining and is reorganized and outfit, so as to realize the broadcast to program file in broadcast system
The management of early stage.
In enforcement, methods described may further include:
According to broadcasting, execution is single to be migrated the program file to tertiary storage from secondary storage.
When being embodied as, the broadcast order of each program file can execute single determination, the embodiment of the present application according to broadcasting
Program file can be migrated to tertiary storage from secondary storage according to execution list is broadcasted, wait and broadcasting.
In enforcement, time T reorganized and outfit by the filepThe earliest broadcast time T of=program fileB1- earliest the broadcast
Channel reorganizes and outfit opening time Tc.
When being embodied as, time T reorganized and outfit by the file of secondary storagePThe earliest broadcast time T of=fileB1- opening time Tc;
When file is broadcasted in multiple programmes, reorganizing and outfit the time for it can be recalculated according to earliest broadcast time, such as
Than existing, what fruit obtained reorganize and outfit the time reorganizes and outfit that the time is late, this document to reorganize and outfit the time constant, if morning, will be calculated
Time of reorganizing and outfit reorganize and outfit the time as new file.
In the embodiment of the present application the time of reorganizing and outfit of program file can according to the earliest broadcast time of the program file and
The opening time of reorganizing and outfit of the channel that the program is broadcasted earliest is calculated, so that the time of reorganizing and outfit of each program file can be with
It is different, is suitable for own situation, so as to realize preferably reorganizing and outfit management, and reorganizing and outfit for each program file can be caused
Operation is mutually staggered, it is to avoid while reorganizing and outfit the problems such as causing portfolio larger.
In enforcement, the execution is reorganized and outfit and is specifically as follows:When the file reorganizes and outfit the time more than or equal to reorganizing and outfit the execution time
Shi Zhihang is reorganized and outfit, described reorganize and outfit the execution time according to reorganize and outfit thread calculated reorganize and outfit the time required to thread itself run
Cycle determines.
When being embodied as, by above-mentioned formula, (time T reorganized and outfit by the file of secondary storagePThe earliest broadcast time of=file
TB1- opening time Tc) calculated file is reorganized and outfit the time and reorganized and outfit the time for theoretic, and the actually real execution time
It is then to reorganize and outfit thread to be determined plus the cycle of thread operation itself according to the execution time of reorganizing and outfit for calculating.
When being embodied as, reorganize and outfit thread execute reorganize and outfit before, can first judge that file reorganizes and outfit whether the time is more than or equal to
The execution time is reorganized and outfit, if it is, execute reorganizing and outfit.
In enforcement, methods described may further include:
Broadcast time the latest is determined according to broadcast time of the program file in each channel;
Storage is determined in the retention time of storage system according to the broadcast time the latest and each channel being pre-configured with
The erasing time of system;The erasing time of the storage system be the broadcast time the latest with each channel storage system guarantor
Stay the maximum sum of time;
After the program file completes to broadcast the latest, according to the erasing time of the storage system and it is pre-configured with
The execution time of deleting of storage system deletes the program file in the storage system.
When being embodied as, after the broadcast that program file completes the latest, start to move towards to wither away, the embodiment of the present application can be with root
Broadcast time the latest is determined according to broadcast time of the program file in each channel, then according to broadcast time the latest and advance
Each channel of configuration determines the erasing time of storage system in the retention time of storage system, finally, complete in the program file
Into after broadcasting the latest, deleted according to the erasing time of the storage system and the deletion execution time of the storage system being pre-configured with
Except the program file in the storage system.
In the embodiment of the present application, due to the erasing time of storage system be according to broadcast time the latest of program file and
Each channel is obtained in the maximum value calculation of the retention time of storage system, is to be when executing and deleting by calculated storage
The deletion execution time decision of the erasing time of system and the storage system being pre-configured with, so that each program file
Final deletion action can be executed according to own situation, and deletion between different program files, withering away can be with different, mutual mistake
Open, such that it is able to preferably realize the management for broadcasting the later stage.
In enforcement, the erasing time for determining storage system according to program file in the broadcast time the latest of each channel,
It is specifically as follows:Determine that tertiary storage erasing time, secondary storage are deleted according to program file in the broadcast time the latest of each channel
Except time and nearline storage erasing time;
The deletion of the erasing time and the storage system being pre-configured with according to the storage system executes the time and deletes
Except the program file in the storage system, it is specifically as follows:
The execution time of deleting according to tertiary storage erasing time and tertiary storage deletes the section on tertiary storage
Mesh file;The execution time of deleting according to secondary storage erasing time and secondary storage deletes the program in secondary storage
File;The execution time of deleting according to nearline storage erasing time and nearline storage deletes the program text in nearline storage
Part.
When being embodied as, storage system can include the multilevel memory patterns such as tertiary storage, secondary storage, nearline storage,
After broadcast time the latest is determined, can determine that tertiary storage erasing time, secondary storage are deleted respectively according to broadcast time the latest
Remove time, nearline storage erasing time;After erasing time is determined, the execution time of deletion can be further determined, i.e.,:
The execution time of deleting according to tertiary storage erasing time and tertiary storage deletes the program file on tertiary storage;Root
The program file in secondary storage is deleted according to the execution time of deleting of secondary storage erasing time and secondary storage;According to
The execution time of deleting of nearline storage erasing time and nearline storage deletes the program file in nearline storage.
The embodiment of the present application can according to different program files every one-level storage on erasing time, and according to per
The deletion execution time that one-level is stored carries out deletion action, it is ensured that extinction time of the program file in different storages is to be suitable for certainly
Body situation rather than as unified deletion in the prior art.
In enforcement, the tertiary storage erasing time TdeoThe broadcast time T the latest of=program fileB2+To, To=
MAX(To1, To2 ... ToI ...), ToI is retention time of i-th channel being pre-configured with tertiary storage;Described two
Level storage erasing time TdesThe broadcast time T the latest of=program fileB2+Ts, Ts=MAX (Ts1, Ts2,
...TsI ...), TsI is retention time of i-th channel being pre-configured with secondary storage;When the nearline storage is deleted
Between TdeaThe broadcast time T the latest of=program fileB2+Ta, Ta=MAX (Ta1, Ta2 ... TaI ...), TaI is to match somebody with somebody in advance
Retention time of i-th channel that puts in nearline storage.
When being embodied as, per one-level storage erasing time can for program file broadcast time the latest be pre-configured with
This grade storage on each channel retention time maximum sum.
The embodiment of the present application is by flexibly configurable program file life cycle management strategy, dispersion business aggregation period
File reorganizing and outfit and deletion in storage domains at different levels is carried out, the intelligent management of broadcast system document flow is embodied, is improve and is
System service efficiency, accomplish file reorganize and outfit evidence-based with the management deleted, have good grounds, flexible configuration etc..
Embodiment two,
Fig. 2 shows the schematic flow sheet that program file delet method is implemented in the embodiment of the present application, as illustrated, described
Program file delet method may include steps of:
Step 201, the broadcast time according to program file in each channel determine broadcast time the latest;
Step 202, according to the retention time of broadcast time and each channel for being pre-configured with storage system the latest
Determine the erasing time of storage system;The erasing time of the storage system is for the broadcast time the latest with each channel in storage
The maximum sum of the retention time of system;
Step 203, after the program file completes to broadcast the latest, according to the erasing time of the storage system and pre-
The execution time of deleting of the storage system for first configuring deletes the program file in the storage system.
When being embodied as, retention time of the program file in storages at different levels can be pre-configured with, for example:Secondary storage retains
3 days, tertiary storage retained 1 day, and nearline storage retains 60 days.
When file is broadcasted in multiple programmes, its erasing time can be recalculated according to broadcast time the latest, such as
The erasing time that fruit obtains is more early than existing erasing time, and the erasing time of this document is constant, if evening, will be calculated
Erasing time as new file erasing time.
In enforcement, the erasing time for determining storage system according to program file in the broadcast time the latest of each channel,
It is specifically as follows:Determine that tertiary storage erasing time, secondary storage are deleted according to program file in the broadcast time the latest of each channel
Except time and nearline storage erasing time;
The deletion of the erasing time and the storage system being pre-configured with according to the storage system executes the time and deletes
Except the program file in the storage system, it is specifically as follows:
The execution time of deleting according to tertiary storage erasing time and tertiary storage deletes the section on tertiary storage
Mesh file;The execution time of deleting according to secondary storage erasing time and secondary storage deletes the program in secondary storage
File;The execution time of deleting according to nearline storage erasing time and nearline storage deletes the program text in nearline storage
Part.
When being embodied as, the deletion that can be pre-configured with storages at different levels executes the time, for example:The deletion of secondary storage is executed
Time is daily 2:00, the deletion of tertiary storage executes the time for daily 5:00, the deletion execution time of nearline storage is daily
1:00.
Specifically, deleting the execution time can be with shown according to the form below 2.1:
Due to above-mentioned formula (file erasing time TDThe last broadcast time T of=fileB2+ retention time TK) in for section
The theoretical erasing time that mesh file A is simply calculated, deletion real execution time are to delete thread to be held according to the deletion for setting
The row time is plus the cycle decision of thread operation itself.So when thread reaches the execution time of two grades of settings, just can be true
Just delete.
For example:Assume that deletion of program file A in secondary storage executes time TDES2A, if TDA <=TDES2A is just
Execute the action for deleting file A.
In enforcement, the tertiary storage erasing time TdeoThe broadcast time T the latest of=program fileB2+To, To=
MAX(To1, To2 ... ToI ...), ToI is retention time of i-th channel being pre-configured with tertiary storage;Described two
Level storage erasing time TdesThe broadcast time T the latest of=program fileB2+Ts, Ts=MAX (Ts1, Ts2,
...TsI ...), TsI is retention time of i-th channel being pre-configured with secondary storage;When the nearline storage is deleted
Between TdeaThe broadcast time T the latest of=program fileB2+Ta, Ta=MAX (Ta1, Ta2 ... TaI ...), TaI is to match somebody with somebody in advance
Retention time of i-th channel that puts in nearline storage.
When being embodied as, the retention time of the file in storage system of each channel can be pre-configured with, specifically can be as
Shown in table 2 below .2:
Channel | Secondary storage | Tertiary storage | Nearline storage |
CH1 | Ts1 | To1 | Ta1 |
CH2 | Ts2 | To2 | Ta2 |
… | … | … | … |
CHi | Tsi | Toi | Tai |
… | … | … | … |
The file of each memory bank is deleted time TDThe last broadcast time T of=program fileB2+ retention time TK;
The retention time of the program file that retention time is quoted by programme:
Secondary storage retention time TSK=MAX (TS1, TS2, TS3 ..., TSI, TS(i+1) ...);
Tertiary storage retention time TOK=MAX (TO1, TO2, TO3 ..., TOI, TO(i+1) ...);
Nearline storage retention time TAK=MAX (TA1, TA2, TA3 ..., TAI, TA(i+1) ...);
For example:It is stored in secondary storage if there are program file A, and is broadcasted by channel CH1, CH3, and when finally broadcasting
Between be TB2A, then erasing time T of program file A in secondary storageDA can be:
Retention time T of program file A in secondary storageSKA=MAX (TSA1, TSA3);
Erasing time T of program file A in secondary storageDA=TB2A+TSKA.
In enforcement, described according to program file each channel broadcast time determine broadcast time the latest before, described
Method may further include:
Determined in the broadcast time of each channel according to program file and broadcast earliest channel and earliest broadcast time TB1;
According to the earliest broadcast time TB1And the described earliest broadcast channel being pre-configured with reorganizes and outfit opening time Tc
Determine that time T reorganized and outfit by the file of the program filep;
The program file is migrated to the secondary storage of broadcast system, execution is reorganized and outfit.
In enforcement, time T reorganized and outfit by the filepThe earliest broadcast time T of=program fileB1- earliest the broadcast
Channel reorganizes and outfit opening time Tc.
In enforcement, after the execution is reorganized and outfit, determine most in the broadcast time according to program file in each channel
Before late broadcast time, methods described may further include:
According to broadcasting, execution is single to be migrated the program file to tertiary storage from secondary storage.
In enforcement, the execution is reorganized and outfit and is specifically as follows:When the file reorganizes and outfit the time more than or equal to reorganizing and outfit the execution time
Shi Zhihang is reorganized and outfit, described reorganize and outfit the execution time according to reorganize and outfit thread calculated reorganize and outfit the time required to thread itself run
Cycle determines.
Embodiment three,
For the ease of the enforcement of the application, illustrated with an instantiation below.
Fig. 3 shows the program file schematic flow sheet of broadcast system in the embodiment of the present application, as illustrated, the application reality
Applying the broadcast system storage domain that example is related to includes:Two broadcast secondary storage (broadcast system secondary storage S1 as depicted,
S2), the storage of multiple broadcasting servers (i.e. tertiary storage, for example:Broadcast system tertiary storage O1, O2, O3, O4 as depicted)
And a nearline storage system (broadcast system nearline storage A1 as depicted).
Each program file has the life cycle of a totality broadcasting in domain, which has oneself only in different storage domains again
Vertical life cycle, produces to the process that withers away from program file in storage.The life cycle management of broadcast system program file
Following components can be included:
First, the configuration of program file life cycle
Configuration program file is migrated to the Document Driving condition for broadcasting secondary storage by external system or nearline storage and is:Section
Mesh layout list and program Request for Change;
Configuration program file is migrated to broadcasting secondary storage by external system or nearline storage and reorganizes and outfit opening time, example
Such as:Broadcast first 72 hours.
Configuration program file by broadcast secondary storage migrate to broadcast tertiary storage Document Driving condition be:Broadcast and execute
Single;
Configuration program file is migrated to the other conditions for broadcasting tertiary storage by secondary storage and is:The artificial review of program file
State is to pass through.
2nd, the information management of program file
The main information of the program file information management table (CLIPINFO) of broadcast system can be included such as 3.1 institute of following table
Show:
STORAGEID:The integer value of one 10, can represent presence situation of the program file in 10 memory banks, just
Initial value is 0x00, if program file has certain memory bank, then correspondence position is 1.In the present system, memory bank includes altogether
7:Secondary storage S1, S2, tertiary storage O1, O2, O3, O4, nearline storage N.
For example:For a program file:
There is S1, STORAGEID=0x1
There is S2, STORAGEID=0x2
There is O1, STORAGEID=0x4
…
There is S1 and S2, STORAGEID=S1 | S2=0x3
There is S1, S2 and O1, O2, STORAGEID=0xF
…
3rd, the program file life cycle of each memory bank
1st, the program file of broadcast system is produced and is withered away
1) produce
Broadcast items file is reorganized and outfit software and (such as broadcasts front 72 little according to program document and the two grades of opening times that reorganizes and outfit for setting
When), start two grades and reorganize and outfit.If there is no the storage inside broadcasting in program file, then reorganize and outfit software from outside media resource system (
Level storage) request program file, in the case where program file is ready for, reorganize and outfit software by broadcast carries out migration times to media resource system
Business, until the program file and subsidiary relevant information, the such as migration simultaneously such as the document examination of program file skill, quality inspection report is completed, and
File-related information is recorded in program file information management table (CLIPINFO), now program file is in broadcast system Life Cycle
The beginning of phase, the memory banks at different levels subsequently started in the broadcast system are migrated.
2) wither away
Broadcast system file program is withered away to be divided into and deletes and be automatically deleted two kinds manually.
Deleting manually can be after file be reorganized and outfit and retrieves file to be deleted in the file manager in management software
The deletion of the whole memory banks of broadcast system is carried out, and deletes the fileinfo of program file information management table (CLIPINFO).
It is automatically deleted and is divided into nature extinction and single drive can not be broadcast and sails deletion.Naturally withering away can be implemented according to the application
The system-kill strategy provided by example is deleted.Can not broadcast singly order about deletion refer to when the broadcast system receive program life
After the program of product management system can not broadcast advice note, remove from broadcasting in each memory bank, and delete program file information management table
(CLIPINFO) fileinfo.
2nd, the program file in secondary storage is produced and is withered away
1) produce
Broadcast items file is reorganized and outfit software and (such as broadcasts front 72 little according to program document and the two grades of opening times that reorganizes and outfit for setting
When), start two grades and reorganize and outfit.If there is no broadcast secondary storage in program file, then reorganize and outfit software and ask from nearline storage is broadcasted
Program file, if there is no nearline storage in program file, then reorganize and outfit software from media resource system demand file, when to secondary storage
Migration is completed, and in program file information management table (CLIPINFO) records file-related information, and now program file exists
Produce in two grades.
2) wither away
Second grade file program is withered away to be divided into and deletes and be automatically deleted two kinds manually.
Delete manually file to be deleted to be retrieved in the file management that can be reorganized and outfit by file in management software laggard
Row is deleted, and the STORAGEID values of labelling program file information management table (CLIPINFO).
Be automatically deleted is deleted according to the system-kill strategy provided by the embodiment of the present application.
3rd, the program file in tertiary storage is produced and is withered away
1) produce
Broadcast items file is reorganized and outfit software according to the artificial review state of file in secondary storage and broadcasts the single startup of execution
Three-level is reorganized and outfit.If the program file examination & verification of secondary storage passes through, program file information management table (CLIPINFO) can be changed
In HUMANCHECK fields.
By the program file and the program file in broadcast execution list of examination & verification, reorganize and outfit software and can produce to three-level migration
Task, migration is when completing, and when file migration is to arriving tertiary storage, and remembers in program file information management table (CLIPINFO)
Lower file-related information is recorded, now program file is produced in three-level.There is the program file on tertiary storage to pass through to broadcast
Execute and be singly played out.
2) wither away
Tertiary storage file program is withered away also be divided into and deletes and be automatically deleted two kinds manually.
Can be deleted after file is reorganized and outfit and retrieves file to be deleted in the file management in management software manually
Remove, and in registration database program file information management table (CLIPINFO) STORAGEID values.
Be automatically deleted is deleted according to the system-kill strategy provided by the embodiment of the present application.
4th, the program file in nearline storage is produced and is withered away
1) produce
The generation of nearline storage is completed before the program file to secondary storage is automatically deleted.
2) wither away
Nearline storage file program is withered away also be divided into and deletes and be automatically deleted two kinds manually.
Can be deleted after file is reorganized and outfit and retrieves file to be deleted in the file management in management software manually
Remove, and the STORAGEID values of labelling program file information management table (CLIPINFO).
Be automatically deleted is deleted according to the system-kill strategy provided by the embodiment of the present application.
Generation and extinction of program file A on three memory banks are described below in detail.
Assume:Program A is broadcasted on CH1 and CH4, and the broadcast time on broadcast items list is on June 16 12 respectively:30 Hes
On June 17 17:40.
Retention time table 3.2
Deleting implementation schedule 3.3 can be as follows:
Assume that program file A does not have broadcast system, be on June 16 12 according to layout list earliest broadcast time:30, from matchmaker
The time that resource system (external system) is migrated is on June 13 12:30 points (migrating within 72 hours in advance);After the completion of Deng migration, remember respectively
Record information is in program file information management table (CLIPINFO).
HUMANCHECK is changed after artificial review passes through, according to operational rule HUMANCHECK |=STORAGEID=
0x2, and start to migrate from secondary storage to tertiary storage according to execution monofile is broadcasted, and STORAGEID is changed, this eight-legged essay
Part A has been migrated and has been completed and wait for June 16 days 12:30 CH1 are broadcasted, and wait until CH4 June always 17 days 17:40 broadcast, and wait broadcast
After the completion of file A reach phase of decline.
Program file information management table 3.4 can be with as follows:
(2,1), i.e., 2016 on June 17, added 1 channel and 4 to the use date+MAX of the erasing time of tertiary storage=the latest
Maximum retention time of the channel on tertiary storage draws for 2 days.
(4,5), i.e., 2016 on June 17, added 1 channel and 4 to the use date+MAX of the erasing time of secondary storage=the latest
Maximum retention time of the channel in secondary storage draws for 5 days.
(30,30), i.e., 2016 on June 17, added 1 channel to the use date+MAX of the erasing time of nearline storage=the latest
Maximum retention time with 4 channels in nearline storage draws for 30 days.
After the completion of broadcast, deletion strategy has begun to come into force, and file manager is detecting the decline of program file A always
Whether the phase has arrived at extinction point, according to set and at different levels storage retention time length:TOI < TSI < TAi:
Tertiary storage 1,2, it will formerly deleted, at 201,6/6,/19 3:23 points of execution.
Followed by secondary storage 1,2 at 201,6/6,/22 4:30 points of execution.
It is finally nearline storage at 201,6/7,/16 4:32 points of execution.
After nearline storage is deleted, the life cycle of file A terminates, and related incidental information is also all deleted.
The embodiment of the present application is managed based on channel, calculates opening time and the program text that program file is reorganized and outfit according to programme
The erasing time that part is withered away, and carry out flexible business by the configurable execution time and avoid the peak hour processs, it is proposed that program is literary
Starting and the management method that terminate of the part in broadcast system life cycle.
In addition, being respectively directed to the program text of the program file life cycle management of broadcast system, broadcast system storage at different levels
Part life cycle management proposes detailed carrying into execution a plan.
Based on same inventive concept, a kind of program file is additionally provided in the embodiment of the present application and reorganized and outfit, deleted device, due to
The principle of these equipment solve problems is reorganized and outfit to a kind of program file, delet method is similar, and the therefore enforcement of these equipment can be with
Referring to the enforcement of method, repeat part and repeat no more.
Example IV,
Fig. 4 shows the structural representation of program file device for reconditioning in the embodiment of the present application, as illustrated, the program
File device for reconditioning can include:
First determining module 401, for according to program file the broadcast time of each channel determine broadcast earliest channel and
Earliest broadcast time TB1;
Second determining module 402, for according to the earliest broadcast time TB1And the described earliest broadcast being pre-configured with
Channel reorganizes and outfit opening time TcDetermine that time T reorganized and outfit by the file of the program filep;
Transferring module 403, for migrating the program file to the secondary storage of broadcast system;
Module 404 is reorganized and outfit, is reorganized and outfit for executing.
In enforcement, the transferring module can be further used for depositing the program file from two grades according to broadcast execution list
Storage is migrated to tertiary storage.
In enforcement, time T reorganized and outfit by the filepThe earliest broadcast time T of=program fileB1- earliest the broadcast
Channel reorganizes and outfit opening time Tc.
In enforcement, the module of reorganizing and outfit specifically can be used for reorganizing and outfit the time more than or equal to reorganizing and outfit the execution time when the file
Shi Zhihang is reorganized and outfit, described reorganize and outfit the execution time according to reorganize and outfit thread calculated reorganize and outfit the time required to thread itself run
Cycle determines.
Embodiment five,
Fig. 5 shows the structural representation of program file deletion device in the embodiment of the present application, as illustrated, the program
Device deleted by file can include:
3rd determining module 501, determines broadcast time the latest for the broadcast time according to program file in each channel;
4th determining module 502, for according to, broadcast time and each channel being pre-configured with storage are the latest
The retention time of system determines the erasing time of storage system;The erasing time of the storage system for the broadcast time the latest with
Maximum sum of each channel in the retention time of storage system;
Removing module 503, for after the program file completes to broadcast the latest, according to during the deletion of the storage system
Between and execution time of deleting of the storage system that is pre-configured with delete the program file in the storage system.
In enforcement, the 4th determining module specifically can be used for the broadcast time the latest according to program file in each channel
Determine tertiary storage erasing time, secondary storage erasing time and nearline storage erasing time;
When the removing module specifically can be used for being executed according to the deletion of tertiary storage erasing time and tertiary storage
Between delete tertiary storage on the program file, according to the deletion of secondary storage erasing time and secondary storage execute the time
The program file in secondary storage is deleted, is deleted according to the deletion of the nearline storage erasing time and nearline storage execution time
Except the program file in nearline storage.
In enforcement, the tertiary storage erasing time TdeoThe broadcast time T the latest of=program fileB2+To, To=
MAX(To1, To2 ... ToI ...), ToI is retention time of i-th channel being pre-configured with tertiary storage;Described two
Level storage erasing time TdesThe broadcast time T the latest of=program fileB2+Ts, Ts=MAX (Ts1, Ts2,
...TsI ...), TsI is retention time of i-th channel being pre-configured with secondary storage;When the nearline storage is deleted
Between TdeaThe broadcast time T the latest of=program fileB2+Ta, Ta=MAX (Ta1, Ta2 ... TaI ...), TaI is to match somebody with somebody in advance
Retention time of i-th channel that puts in nearline storage.
For convenience of description, each several part of apparatus described above is divided into various modules with function or unit is respectively described.
Certainly, the function of each module or unit can be realized in same or multiple softwares or hardware when the application is implemented.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, system or computer program
Product.Therefore, the application can adopt complete hardware embodiment, complete software embodiment or with reference to software and hardware in terms of reality
Apply the form of example.And, the application can be adopted in one or more computers for wherein including computer usable program code
The upper computer program that implements of usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) is produced
The form of product.
The application is flow process of the reference according to the method, equipment (system) and computer program of the embodiment of the present application
Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram
Journey and/or the combination of square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided
Instruct the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to
Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or
The function of specifying in multiple square frames.
These computer program instructions can be also loaded in computer or other programmable data processing devices so that in meter
Series of operation steps is executed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or
The instruction executed on other programmable devices is provided for realization in one flow process of flow chart or multiple flow processs and/or block diagram one
The step of function of specifying in individual square frame or multiple square frames.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to include excellent
Select embodiment and fall into the had altered of the application scope and change.
Claims (14)
1. a kind of program file reorganizes and outfit method, it is characterised in that comprise the steps:
Determined in the broadcast time of each channel according to program file and broadcast earliest channel and earliest broadcast time TB1;
According to the earliest broadcast time TB1And the described earliest broadcast channel being pre-configured with reorganizes and outfit opening time TcDetermine
Time T reorganized and outfit by the file of the program filep;
The program file is migrated to the secondary storage of broadcast system, execution is reorganized and outfit.
2. the method for claim 1, it is characterised in that further include:List is executed by program text according to broadcasting
Part is migrated to tertiary storage from secondary storage.
3. the method for claim 1, it is characterised in that time T reorganized and outfit by the filep=the program file earliest
Broadcast time TB1- earliest the channel that broadcasts reorganizes and outfit opening time Tc.
4. the method for claim 1, it is characterised in that the execution is reorganized and outfit specially:When the time reorganized and outfit by the file
Reorganize and outfit more than or equal to executing when reorganizing and outfit the execution time, described reorganize and outfit the execution time according to needed for reorganizing and outfit that thread is calculated and reorganize and outfit
Time was determined with the cycle of thread operation itself.
5. a kind of program file delet method, it is characterised in that comprise the steps:
Broadcast time the latest is determined according to broadcast time of the program file in each channel;
Storage system is determined in the retention time of storage system according to the broadcast time the latest and each channel being pre-configured with
Erasing time;The erasing time of the storage system be the broadcast time the latest with each channel in the reservation of storage system
Between maximum sum;
After the program file completes to broadcast the latest, according to erasing time and the storage being pre-configured with of the storage system
The execution time of deleting of system deletes the program file in the storage system.
6. method as claimed in claim 5, it is characterised in that described according to program file each channel broadcast time the latest
Determine the erasing time of storage system, specially:Tertiary storage is determined according to the latest broadcast time of the program file in each channel
Erasing time, secondary storage erasing time and nearline storage erasing time;
Erasing time and the deletion execution time deletion institute of the storage system being pre-configured with according to the storage system
The program file in storage system is stated, specially:
The execution time of deleting according to tertiary storage erasing time and tertiary storage deletes the program text on tertiary storage
Part;The execution time of deleting according to secondary storage erasing time and secondary storage deletes the program text in secondary storage
Part;The execution time of deleting according to nearline storage erasing time and nearline storage deletes the program text in nearline storage
Part.
7. method as claimed in claim 6, it is characterised in that the tertiary storage erasing time Tdeo=the program file
Broadcast time T the latestB2+To, To=MAX (To1, To2 ... ToI ...), ToI is i-th channel being pre-configured with three-level
Retention time in storage;The secondary storage erasing time TdesThe broadcast time T the latest of=program fileB2+Ts, Ts
=MAX (Ts1, Ts2 ... TsI ...), TsI is retention time of i-th channel being pre-configured with secondary storage;Described
Nearline storage erasing time TdeaThe broadcast time T the latest of=program fileB2+Ta, Ta=MAX (Ta1, Ta2,
...TaI ...), TaI is retention time of i-th channel being pre-configured with nearline storage.
8. a kind of program file device for reconditioning, it is characterised in that include:
First determining module, broadcast earliest channel and broadcast earliest for determining in the broadcast time of each channel according to program file
Time TB1;
Second determining module, for according to the earliest broadcast time TB1And the described earliest broadcast channel being pre-configured with is whole
Standby opening time TcDetermine that time T reorganized and outfit by the file of the program filep;
Transferring module, for migrating the program file to the secondary storage of broadcast system;
Module is reorganized and outfit, is reorganized and outfit for executing.
9. device as claimed in claim 8, it is characterised in that the transferring module be further used for according to broadcast execute single will
The program file is migrated to tertiary storage from secondary storage.
10. device as claimed in claim 8, it is characterised in that time T reorganized and outfit by the filep=the program file earliest
Broadcast time TB1- earliest the channel that broadcasts reorganizes and outfit opening time Tc.
11. devices as claimed in claim 8, it is characterised in that the module of reorganizing and outfit is specifically for when the file is reorganized and outfit
Between reorganize and outfit more than or equal to executing when reorganizing and outfit the execution time, described reorganize and outfit the execution time thread is calculated to reorganize and outfit institute according to reorganizing and outfit
The cycle decision taken time with thread operation itself.
A kind of 12. program files delete device, it is characterised in that include:
3rd determining module, determines broadcast time the latest for the broadcast time according to program file in each channel;
4th determining module, for the reservation of broadcast time and each channel for being pre-configured with storage system the latest according to
Time determines the erasing time of storage system;The erasing time of the storage system was existed with each channel for the broadcast time the latest
The maximum sum of the retention time of storage system;
Removing module, for after the program file completes to broadcast the latest, according to the erasing time of the storage system and
The execution time of deleting of the storage system being pre-configured with deletes the program file in the storage system.
13. devices as claimed in claim 12, it is characterised in that the 4th determining module is specifically for according to program file
When the broadcast time the latest of each channel determining that tertiary storage erasing time, secondary storage erasing time and nearline storage are deleted
Between;The removing module is specifically for executing time deletion three-level according to the deletion of tertiary storage erasing time and tertiary storage
The program file in storage, executes two grades of time deletion according to the deletion of secondary storage erasing time and secondary storage and deposits
The program file in storage, executes time deletion nearline storage according to the deletion of nearline storage erasing time and nearline storage
On the program file.
14. devices as claimed in claim 13, it is characterised in that the tertiary storage erasing time Tdeo=program the text
The broadcast time T the latest of partB2+To, To=MAX (To1, To2 ... ToI ...), ToI is i-th channel being pre-configured with three
Retention time in level storage;The secondary storage erasing time TdesThe broadcast time T the latest of=program fileB2+Ts,
Ts=MAX (Ts1, Ts2 ... TsI ...), TsI is retention time of i-th channel being pre-configured with secondary storage;Described
Nearline storage erasing time TdeaThe broadcast time T the latest of=program fileB2+Ta, Ta=MAX (Ta1, Ta2,
...TaI ...), TaI is retention time of i-th channel being pre-configured with nearline storage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610915111.4A CN106507152B (en) | 2016-10-20 | 2016-10-20 | Method and device for preparing and deleting program files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610915111.4A CN106507152B (en) | 2016-10-20 | 2016-10-20 | Method and device for preparing and deleting program files |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106507152A true CN106507152A (en) | 2017-03-15 |
CN106507152B CN106507152B (en) | 2020-01-03 |
Family
ID=58318038
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610915111.4A Active CN106507152B (en) | 2016-10-20 | 2016-10-20 | Method and device for preparing and deleting program files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106507152B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109819275A (en) * | 2019-01-16 | 2019-05-28 | 中央电视台 | 4K ultra high-definition video server plays channel multiplexing method, work station and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060036759A1 (en) * | 2004-08-12 | 2006-02-16 | Microsoft Corporation | Mechanism for transmitting elementary streams in a broadcast environment |
CN103067744A (en) * | 2012-12-28 | 2013-04-24 | 中央电视台 | Media file hostling method capable of regulating priority level dynamically and in real time |
CN103095968A (en) * | 2012-12-28 | 2013-05-08 | 中央电视台 | Multi-scene self-adapting emergency handling method for broadcast system |
CN103596022A (en) * | 2013-10-08 | 2014-02-19 | 深圳创维数字技术股份有限公司 | Method, device and system for content matching |
CN103747281A (en) * | 2013-12-27 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | Broadcasting method and broadcasting channel equipment |
-
2016
- 2016-10-20 CN CN201610915111.4A patent/CN106507152B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060036759A1 (en) * | 2004-08-12 | 2006-02-16 | Microsoft Corporation | Mechanism for transmitting elementary streams in a broadcast environment |
CN103067744A (en) * | 2012-12-28 | 2013-04-24 | 中央电视台 | Media file hostling method capable of regulating priority level dynamically and in real time |
CN103095968A (en) * | 2012-12-28 | 2013-05-08 | 中央电视台 | Multi-scene self-adapting emergency handling method for broadcast system |
CN103596022A (en) * | 2013-10-08 | 2014-02-19 | 深圳创维数字技术股份有限公司 | Method, device and system for content matching |
CN103747281A (en) * | 2013-12-27 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | Broadcasting method and broadcasting channel equipment |
Non-Patent Citations (1)
Title |
---|
潘雨凯: "温州广播电视总台播总控准备***设计及实现", 《中国有线电视》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109819275A (en) * | 2019-01-16 | 2019-05-28 | 中央电视台 | 4K ultra high-definition video server plays channel multiplexing method, work station and system |
CN109819275B (en) * | 2019-01-16 | 2021-03-16 | 中央电视台 | 4K ultra-high-definition video server playing channel multiplexing method, workstation and system |
Also Published As
Publication number | Publication date |
---|---|
CN106507152B (en) | 2020-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104091287B (en) | A kind of task implementation method and device based on data-driven | |
CN109544316B (en) | Method and system for urging collection of real-time case division according to proportion | |
CN107450331A (en) | A kind of intelligent electrical appliance control, apparatus and system | |
CN103810047B (en) | Dynamic improves the memory affinity of logical partition | |
CN103399888B (en) | The differential synchronization method of grid model data and system | |
CN102426586B (en) | FAT (file allocation table) file storage method in embedded system | |
CN109034188A (en) | Acquisition methods, acquisition device, equipment and the storage medium of machine learning model | |
CN106500341A (en) | A kind of control method of intelligent water heater and system | |
CN103246549B (en) | A kind of method and system of data conversion storage | |
CN106503158A (en) | Method of data synchronization and device | |
CN104156381A (en) | Copy access method and device for Hadoop distributed file system and Hadoop distributed file system | |
CN107665212A (en) | A kind of method and device for realizing law court's division | |
CN110019200A (en) | A kind of foundation of index, application method and device | |
CN109947833A (en) | A kind of data quality management method based on B/S framework | |
CN109101298A (en) | Windows striding course window management method, storage medium, electronic equipment and system | |
CN104699516B (en) | Automatic identification Android mobile phone and the method and apparatus for installing driving under Windows | |
CN106507152A (en) | A kind of program file is reorganized and outfit, delet method and device | |
CN102841894A (en) | Data storage method of file allocation table | |
CN108121743A (en) | A kind of generation of generic web pages masterplate and application method, system | |
CN104281932A (en) | Intelligent shift acquisition device and method | |
CN108959456A (en) | A kind of method of automatic recovery completion data | |
CN103559574B (en) | Method and system for operating workflow | |
CN103593812A (en) | Network-based courseware design method in aviation training field | |
CN106155594B (en) | A kind of data processing method and device | |
CN104361005B (en) | To the dispatching method of information unit in a kind of vertical search engine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |