The distributing method of digital movie bag and publishing systemTechnical field
The present invention relates to digital movie and make the distribution technical field, relate in particular to a kind of distributing method and publishing system of digital movie bag.
Background technology
In digital movie manufacturing process, after being converted to number format, the original film material as the digital film program source obtains digital movie distribution master (DCDM, Digital Cinema Distribution Master), DCDM comprises the unpressed image and the sound caption data of number format, because the view data that comprises is not compressed, data volume is very big, is not easy to distribution.For example can calculate according to the DCI standard, the digital movie of a 2K pattern of 2 hours (screen size is 2048*1080), 24 frames/s, needing memory space is 2TB, as seen its image data amount is quite huge, be unfavorable for the distribution and the projection of digital movie, so need carry out image compression to digital movie.Suggestion adopts JPEG 2000 standards to carry out image compression in the digital movie standard (DCI), the DCDM data of 2TB size need to generate digital movie packet (DCP after image compression encoding, encapsulation packing like this, Digital Cinema Package) file, shared capacity is decreased to 150GB to the 250GB size.
The DCP file that generates is generally held in film distribution merchant's the special big capacity DCP portable hard drive at present, for repeating the copy distribution.Any one tame cinema wants to obtain the projection power of this digital movie, all must buy projection power back by the described staff of cinema to described DCP publisher locate to use manual type with described DCP file with hard disk to the mode of copying copy to its with portable hard drive, returning its cinema copies in its digital film projector server, so that show.
Be understood that, adopt the aforesaid way manual type to carry out the distribution of DCP file, waste of manpower and time, make that the distribution efficient of digital movie is very low.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of distributing method and publishing system of digital movie bag, to realize the making DCP file can be issued to the digital film projector server of each client fast.
The distributing method of digital movie bag provided by the invention comprises:
The DCP file that A, DCP issuance server end will be issued is divided into different DCP piecemeals, and divides block number to each DCP;
B, the client-side information that will have the described DCP of projection projection power write the projection power client side list of DCP issuance server end;
C, the DCP issuance server power of will showing client side list and each DCP divide block number to send to each client in the described projection power client side list;
D, described client according to the numbering of each DCP piecemeal from the DCP issuance server of DCP piecemeal or the DCP piecemeal of the described numbering of client downloads with described coding.
By last, by the DCP file being carried out the DCP piecemeal at DCP issuance server end, can realize each DCP piecemeal is emitted to the client of many work, thereby realize the quick distribution of DCP piecemeal, must rely on the inefficient high consuming time defective of artificial hard disk copying thereby solved present digital camera copy DCP.
Wherein, steps A also comprises: DCP issuance server end is to described DCP block encryption; Step D also comprises: the DCP piecemeal that the secret key decryption that client obtains when using acquisition projection power to authorize is in the lump downloaded.
By last, guarantee data transmission security by cipher mode transmission DCP piecemeal.
Wherein, steps A also comprises: DCP issuance server end divides block number, encryption and corresponding stored and the DCP after described each encryption is generated check value described each DCP; Step C also comprises: DCP issuance server end divides block number to send to described each client corresponding each DCP of described check value; Step D also comprises: client generates check value to the described DCP piecemeal of downloading, according to judging with the check value that receives is whether consistent to confirm whether the DCP piecemeal of download is correct, if correctly, be stored in the locational step of corresponding numbers after the deciphering.
By last,, can guarantee the correctness of DCP piecemeal distribution by check value is set.
Wherein, described check value is the HASH value.
By last, adopt the HASH value as check value, can realize calculating efficient and convenient.
Wherein, step B comprises substep: client after the mandate that obtains DCP projection power, DCP file name and authorization message that notice DCP issuance server is authorized; The DCP issuance server writes client-side information in the projection power client side list of described DCP file correspondence after verifying described authorization message.
By last,, can revise projection power client side list accordingly flexibly by control to client DCP projection power.
Secondly, step C is described will show the step that the power client side list sends to each client in the described projection power client side list and comprise: server will show the numbering of weighing client side list and DCP piecemeal and broadcast in the mode of encryption; Be recorded in each client in the projection power client side list and use the projection power client side list that the secret key decryption that obtains to obtain in the lump when projection power is authorized receives and the numbering of DCP piecemeal.
Once more, the described client of step D is according to the numbering of each DCP piecemeal DCP issuance server or the parallel DCP piecemeal of downloading described numbering of client from DCP piecemeal with described coding, is recorded in the DCP piecemeal that each client in the projection power client side list uses the secret key decryption that obtains to obtain in the lump when projection power is authorized to receive simultaneously.
By last, adopt cipher mode transmission projection power client side list, DCP divides block number can effectively avoid by undelegated client downloads to associated DC P piecemeal, and adopt DCP block encryption control DCP piecemeal to download, can guarantee the fail safe of digital movie bag fully, because the DCP piecemeal is very little, can realize that the enciphered data amount is little simultaneously, encryption/decryption speed is fast.Because the described download of step D is downloaded for parallel, can effectively accelerate transmission speed in addition, accelerate the distribution of DCP file.
The publishing system of digital movie bag provided by the invention comprises DCP issuance server and client, wherein:
DCP issuance server end comprises:
DCP divides module unit, and the DCP file that is used for issuing is divided into different DCP piecemeals and divides block number to each DCP;
Projection power client side list administrative unit is used for having the described DCP of projection and shows the projection power client side list that the client-side information of weighing writes DCP issuance server end; With
Information transmission unit is used for dividing block number to send to each client of described projection power client side list projection power client side list and each DCP;
Client comprises:
Information receiving unit is used to receive projection power client side list and each DCP that the DCP issuance server sends and divides block number;
DCP piecemeal transmission unit is used for according to the numbering of each DCP piecemeal that the receives DCP piecemeal from the described numbering of client downloads of the DCP issuance server of DCP piecemeal with described coding or projection power client side list.
By last, by the DCP file being carried out the DCP piecemeal at DCP issuance server end, can realize each DCP piecemeal is emitted to the client of many work, thereby realize the quick distribution of DCP piecemeal, must rely on the inefficient high consuming time defective of artificial hard disk copying thereby solved present digital camera copy DCP.
Wherein, DCP issuance server end also comprises: the check value generation unit is used for described each DCP block encryption and generates check value and divide the block number corresponding stored with described each DCP;
Described client-side information transmission unit also is used for dividing block number to send to described each client corresponding each DCP of described check value;
The described information receiving unit of client also is used to receive the described check value that the DCP issuance server sends;
Also comprise: verification unit, be used for the described encrypted DCP piecemeal of downloading is generated check value, and according to judging with the check value that receives is whether consistent to confirm whether the DCP piecemeal of download correct, if correctly, be stored in after the deciphering on the corresponding numbers position.
By last,, can guarantee the correctness of DCP piecemeal distribution by check value generation unit and verification unit are set.
In a word, the present invention is by carrying out the DCP piecemeal at server end to the DCP packet, utilize multiple spot multithreading transmission mechanism in gigabit LAN, each DCP piecemeal to be emitted on the client hard disk of many concurrent workings then, thereby realize the parallel distribution fast of DCP piecemeal, must rely on the inefficient high consuming time defective of artificial hard disk copying thereby solved present digital camera copy DCP.
In addition, the present invention realizes allowing dynamically adding new client by the management to projection power client side list, has realized colleges and universities that flexibly server and original each client are connected with dynamic communication between the initiate client.
Description of drawings
Fig. 1 is the flow chart of DCP distributing method of the present invention;
Fig. 2 is the schematic diagram of DCP publishing system of the present invention.
Embodiment
Fig. 1 is the distribution flow chart of DCP distributing method of the present invention, comprises the steps:
Step 101, the DCP file that will issue is carried out the DCP piecemeal at DCP issuance server end, be divided into a series of DCP piecemeal, and to each DCP piecemeal marker number, encrypt, and the HASH value of the DCP piecemeal after calculating each and encrypting and with described numbering corresponding stored.
Wherein, for the ease of before the client reception cache file being set, each DCP divides block size can be set to identical size, is set at every 32KB in this example.In this example the HASH value that generated is stored the numbering and the corresponding HASH value of each numbering of each DCP piecemeal that this HASH table content comprises the DCP file name, be divided in the mode of HASH table.
Step 102, set up the client side list with projection power at DCP issuance server end, record has the sign of each client of projection power.Specifically comprise following substep:
Certain client sends message to the DCP issuance server and informs DCP file name and the corresponding authorization message of being bought after the mandate that obtains certain DCP projection power (authorizing as buying);
After the DCP issuance server is received described message, verify whether the authorization message in this message is the authorization message with the described DCP of projection, if, then with the sign of client, as client name or unique hardware device number or the fixed ip address that distributes, deposit in the projection power client side list of described DCP, otherwise return refusal information and end.
Projection power client side list in this example has write down the DCP file name, has had each client sign of this DCP file projection power of projection.
Step 103, DCP issuance server will be shown the power client side list and adopt the mode of broadcasting to send to each client in the described projection power client side list.
Wherein, whenever renewal has taken place projection power client side list, indicate (have as projection power and can delete client under the situation that the time limit is provided with and indicate) as new adding or deletion client, then will show the power client side list and broadcast, and be recorded in each client in the projection power client side list and use projection power client side list that the secret key decryption that obtains to obtain in the lump when projection power is authorized receives projection power client side list as each client stores in the mode of encrypting.
Step 104, client, especially the new client that adds projection power client side list, send the request of the HASH table of downloading described DCP to the DCP issuance server, after the DCP issuance server authentication (as described in being documented in as client as described in judging in the projection power client side list of DCP), the HASH table of this DCP is sent to this client.
Step 105, client send the operation of DCP piecemeal download request.Concrete:
Client is selected the DCP piecemeal do not downloaded at random according to the numbering of each the DCP piecemeal in the HASH table, and sends the download request of the DCP piecemeal of downloading selected numbering to network.Wherein, can walk abreast at different DCP piecemeals sends the parallel download that download request is carried out data respectively, promptly sends the download request operation respectively.
Step 106, client are downloaded different encrypted DCP piecemeals from the difference response side of different DCP piecemeal download requests.Concrete:
Have the server of DCP piecemeal of above-mentioned selected numbering or the download request of other these clients of client end response, and make after the authentication (being documented in the projection power tabulation of its storage as judging the IP address) and replying, this client is from server or first is replied or preceding several client of replying is downloaded this selected DCP piecemeal.Wherein downloading mode can adopt point-to-point (P2P) technology to download.
Step 107, client are calculated the HASH value of the encrypted DCP piecemeal of downloading, and with the HASH of its storage table in the HASH value comparison of DCP piecemeal of same numbering, if it is identical, represent that then this encrypted DCP piecemeal downloads successfully, after the deciphering, this DCP piecemeal is labeled as downloads, be stored in the position of corresponding numbering; If different, then abandon this DCP piecemeal of having downloaded, the download request that sends this DCP piecemeal of request again in network is to download again.
Step 108, after client downloads is finished all DCP piecemeals (promptly all DCP piecemeals all are labeled as and download), be combined as complete DCP, and send to download to server and to finish message, and this download finished on the software interface that message is presented at server and this client, to be expressed as the state of can showing.
Show the schematic diagram of the publishing system of realizing DCP distributing method of the present invention as Fig. 2, compriseDCP issuance server 210 and a plurality ofclient 220, wherein:
DCP issuance server 210 comprises:
DCP dividesmodule unit 211, and the DCP file that is used for issuing is divided into different DCP piecemeals and divides block number to each DCP;
Checkvalue generation unit 212 is used for described each DCP block encryption and generates check value and divide the block number corresponding stored with described each DCP;
Projection power client side listadministrative unit 213 is used for having the described DCP of projection and shows the projection power client side list that the client-side information of weighing writes DCP issuance server end; With
Information transmission unit 214 is used for dividing block number and described check value to send to each client of described projection power client side list projection power client side list and each DCP;
Client 220 comprises:
Information receiving unit 221 is used to receive projection power client side list and each DCP that the DCP issuance server sends and divides block number and check value;
DCPpiecemeal transmission unit 222 is used for according to the numbering of each DCP piecemeal that the receives encrypted DCP piecemeal from the described numbering of client downloads of the DCP issuance server of DCP piecemeal with described coding or projection power client side list; With
Verification unit 223 is used for the described encrypted DCP piecemeal of downloading is generated check value, and according to judging with the check value that receives is whether consistent to confirm whether the encrypted DCP piecemeal of download correct, if correctly, be stored in after the deciphering on the corresponding numbers position.
In above embodiment, between each client and the server, can be connected for wired or wireless between each client and the client, preferable, adopt high broadband network to connect, as the gigabit optical cable.
The above; it only is preferred embodiment of the present invention; be not to be used to limit protection scope of the present invention; all any modifications of being done within the spirit and principles in the present invention; be equal to replacement and improvement etc.; for example above-mentionedsteps 103 also can adopt client-requested; the response of DCP issuance server sends the mode of relevant information; perhaps step 104 is the mode of the described HASH table of DCP distribution service broadcasting; and for example client is the digital cinema server of respective electrical movie theatre or computer of communicating to connect with digital cinema server etc., all should be included within protection scope of the present invention.