CN101977182B - Digital film transmission method, system and equipment thereof - Google Patents

Digital film transmission method, system and equipment thereof Download PDF

Info

Publication number
CN101977182B
CN101977182B CN 201010272665 CN201010272665A CN101977182B CN 101977182 B CN101977182 B CN 101977182B CN 201010272665 CN201010272665 CN 201010272665 CN 201010272665 A CN201010272665 A CN 201010272665A CN 101977182 B CN101977182 B CN 101977182B
Authority
CN
China
Prior art keywords
segment
digital movie
movie file
bag
server
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.)
Active
Application number
CN 201010272665
Other languages
Chinese (zh)
Other versions
CN101977182A (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 Film Science And Technology Research Institute Film Technology Quality Inspection Institute Of Central Propaganda Department
Original Assignee
CHINA FILM SCIENCE AND TECHNOLOGY INST
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 FILM SCIENCE AND TECHNOLOGY INST filed Critical CHINA FILM SCIENCE AND TECHNOLOGY INST
Priority to CN 201010272665 priority Critical patent/CN101977182B/en
Publication of CN101977182A publication Critical patent/CN101977182A/en
Application granted granted Critical
Publication of CN101977182B publication Critical patent/CN101977182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a digital film transmission method. The method includes that: a sender sends PAT message and PMT message which carry related information of digital film file to a receiver, the digital film file is split into segments, each segment after splitting is packed in TS format, all the packed TS packets are sent to the receiver, and an end message used for notifying that sending of the digital film file is finished is sent to the receiver; the receiver unpacks the received TS packets and combines the packets, the receiving state of each segment is obtained according to combination result, and the receiving state is returned to the sender; and the sender sends unreceived segment to the receiver in TS packet form according to the receiving state of each segment. The invention also discloses a digital film transmission system and equipment thereof. By applying the digital film transmission method of the invention, digital film transmission can be realized, and transmission quality of digital film is ensured.

Description

A kind of digital movie transmission method, system and equipment
Technical field
The present invention relates to the digital movie technical field, particularly a kind of digital movie transmission method, system and equipment.
Background technology
Since calendar year 2001, film began to be changed to numeral by film, digital movie had obtained large-scale popularization, and digital film and digital camera every year are all with at double rate increase.Even to this day, the shooting in the digital movie industrial chain, making and projection link all realize digitlization, and the transmission means of posting with hard disk in the film movie has also been adopted in the distribution transmission only.Although it is simple that this transmission means of posting hard disk realizes, yet on the one hand, along with digital film and digital camera get more and more, the hard disk demand is increasing, and the rate of hard disk also can constantly increase; On the other hand, the hard disk mailing also is limited by traffic conditions, and when traffic congestion, it is very slow that mailing speed can become, and has a strong impact on the quality that hard disk is posted this transmission means.Therefore, adopt which kind of mode that digital movie is transmitted and become the problem of needing solution in the digital movie popularization badly.
Summary of the invention
In view of this, the invention provides a kind of digital movie transmission method, can realize the transmission to digital movie, and guaranteed the quality of digital movie transmission.
The present invention also provides a kind of digital movie transmission system and equipment, can realize the transmission to digital movie, and has guaranteed the quality of digital movie transmission.
In order to achieve the above object, the technical scheme of the present invention's proposition is:
A kind of digital movie transmission method, the method comprises:
Transmit leg calculates the 5th edition MD5 value of Message Digest 5 of digital movie file, the Program Association Table PAT message and the Program Map Table PMT message that carry described digital movie file relevant information are sent to the recipient, digital movie file is split as fragment Segment, each Segment after splitting is packed according to the transport stream TS form, and all TS bags that obtain after will packing send to the recipient, to the ending message message of recipient's transmission in order to notify digital movie file to be sent, comprise channel sign program_number in the described PAT message, comprise the digital movie file with the encapsulation of descriptor descriptor form in the described PMT message;
The recipient is to the rear combination of unpacking of the TS that receives bag, obtains the accepting state of each Segment according to combined result, and described accepting state is returned to transmit leg;
Transmit leg is according to the accepting state of each Segment that receives, and the Segment that the recipient is not received sends to the recipient with the form of TS bag again,
Wherein, described each Segment after splitting is packed according to the TS form comprises: each Segment is packaged as some TS bags, and TS head and Segment data have all been comprised in each TS bag, also comprised the Segment head in first TS bag among the described Segment that is packaged as some TS bag, to identify each Segment, adopt the PID identification code stream of TS packet header, and the positional information of described code stream is encapsulated in the Segment head;
Described by the recipient to the rear combination of unpacking of the TS that receives bag, the accepting state that obtains each Segment according to combined result comprises: split out the Segment data by the recipient from the TS bag that receives, the Segment data that obtain are combined into Segment, and determine Segment according to the cyclic redundancy check (CRC) that comprises in the TS bag and whether receive successful accepting state;
When the accepting state of described each Segment all is when receiving successfully, the method also comprises: obtain the MD5 value that transmit leg calculates by the recipient, and calculate the MD5 value of the digital movie file that obtains according to combined result, after these two MD5 values are compared, comparative result is returned to transmit leg, whether successfully receive digital movie file with notice transmit leg recipient.
The size of each Segment after the described fractionation is the integral multiple of the TS payload data that can carry.
Describedly digital movie file is split as Segment comprises: by transmit leg digital movie file is encrypted, and the digital movie file after will encrypting is split as Segment.
When the accepting state of described each Segment all is that the method also comprises when receiving successfully:
By transmit leg encryption key and encrypted location are sent to the recipient;
According to encryption key and encrypted location the digital movie file that obtains according to combined result is decrypted the digital movie file after obtaining deciphering by the recipient.
A kind of digital movie transmission system, this system comprise transmission server and more than one reception server, wherein,
Described transmission server, calculate the 5th edition MD5 value of Message Digest 5 of digital movie file, the Program Association Table PAT message and the Program Map Table PMT message that carry described digital movie file relevant information are sent to reception server, digital movie file is split as fragment Segment, and after each the Segment transport stream TS form after splitting packed, all TS bags that obtain after the packing are sent to each reception server, further, the accepting state of each Segment that sends according to each reception server, send to reception server after the Segment that does not receive packed again, comprise channel sign program_number in the described PAT message, comprise the digital movie file with the encapsulation of descriptor descriptor form in the described PMT message;
Described each reception server to the rear combination of unpacking of the TS that receives bag, obtains the accepting state of each Segment according to combined result, and described accepting state is returned to the transmission server,
Wherein, described each Segment after splitting is packed according to the TS form comprises: each Segment is packaged as some TS bags, and TS head and Segment data have all been comprised in each TS bag, also comprised the Segment head in first TS bag among the described Segment that is packaged as some TS bag, to identify each Segment, adopt the PID identification code stream of TS packet header, and the positional information of described code stream is encapsulated in the Segment head;
Described each reception server wraps the rear combination of unpacking to the TS that receives, the accepting state that obtains each Segment according to combined result comprises: reception server splits out the Segment data from the TS bag that receives, the Segment data that obtain are combined into Segment, and determine Segment according to the cyclic redundancy check (CRC) that comprises in the TS bag and whether receive successful accepting state;
When the accepting state of described each Segment all is when receiving successfully, described reception server, also be used for obtaining and send the MD5 value that server calculates, and calculate the MD5 value of the digital movie file that obtains according to combined result, after these two MD5 values are compared, comparative result is returned to the transmission server, send this reception server of server with notice and whether successfully receive digital movie file.
Described transmission server is split as fragment Segment with digital movie file: send server digital movie file is encrypted, and the digital movie file after will encrypting is split as Segment.
Described transmission server also is used for encryption key and encrypted location are sent to each reception server;
Described each reception server is further used for according to encryption key and encrypted location the digital movie file that obtains according to combined result being decrypted the digital movie file after obtaining deciphering.
In sum, digital movie transmission method of the present invention and system, by by sending server the larger digital movie file of data volume being split as fragment (Segment), and after each Segment after splitting is packaged as transport stream (TS) bag, send to again each reception server, and then by each reception server to the rear combination of unpacking of the TS that receives bag, obtain complete digital movie file; In addition, when each reception server in the present embodiment makes up after the digital movie file that is packaged into the TS bag after splitting is unpacked, result according to combination also generates accepting state corresponding to each Segment, and then so that the transmission server can be according to accepting state, the Segment that will not receive again sends to reception server with the form of TS bag again, has also just avoided the situation of the loss of data that digital movie file may occur in transmission course.
Description of drawings
Fig. 1 is the structural representation of digital movie transmission system embodiment one of the present invention;
Fig. 2 is the process schematic diagram that the present invention splits digital movie file and packs;
Fig. 3 is the workflow diagram of digital movie transmission method embodiment one of the present invention;
Fig. 4 is the structural representation of digital movie transmission system embodiment two of the present invention;
Fig. 5 is the workflow diagram of digital movie transmission method embodiment two of the present invention;
Fig. 6 is the structural representation of digital movie transmission system embodiment three of the present invention;
Fig. 7 is the workflow diagram of digital movie transmission method embodiment three of the present invention;
Fig. 8 is the structural representation of digital movie transmission system embodiment four of the present invention;
Fig. 9 is the workflow diagram of digital movie transmission method embodiment four of the present invention.
Embodiment
In order to solve problems of the prior art, digital movie transmission method of the present invention and system, by by sending server the larger digital movie file of data volume being split as Segment, and after each Segment after splitting is packaged as the TS bag, send to again each reception server, and then by each reception server to the rear combination of unpacking of the TS that receives bag, obtain complete digital movie file; In addition, when each reception server in the present embodiment makes up after the digital movie file that is packaged into the TS bag after splitting is unpacked, result according to combination also generates accepting state corresponding to each Segment, and then so that the transmission server can be according to accepting state, the Segment that will not receive again sends to reception server with the form of TS bag again, has also just avoided the situation of the loss of data that digital movie file may occur in transmission course.
Based on above-mentioned introduction, the specific implementation of scheme of the present invention comprises:
Program Association Table (PAT) message and Program Map Table (PMT) message that transmit leg will carry the digital movie file relevant information send to the recipient, digital movie file is split as Segment, each Segment after splitting is packed according to the TS form, and all TS that obtain after will packing bag sends to the recipient, sends ending message message in order to notify digital movie file to be sent to the recipient;
The recipient is to the rear combination of unpacking of the TS that receives bag, obtains the accepting state of each Segment according to combined result, and described accepting state is returned to transmit leg;
Transmit leg is according to the accepting state of each Segment that receives, and the Segment that the recipient is not received sends to the recipient with the form of TS bag again.
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
Embodiment one
The structure of the digital movie transmission system that present embodiment adopts is referring to Fig. 1.As shown in Figure 1, this system comprises transmission server 11 and more than one reception server 12 at least, described transmission server 11 can comprise the first processing module 111, the first sending module 112 and the first receiver module 113, and reception server 12 can comprise the second receiver module 121, the second processing module 122 and the second sending module 123.Wherein,
Described the first processing module 111 is used for digital movie file is split as some Segment, and after each Segment after splitting packed, sends to the first sending module 112.
Need to prove, digital movie is comprised of some digital movie file, the data volume of each digital movie file is larger, the digital movie file that data volume is larger is not easy to transmit, therefore, in order to transmit the larger digital movie file of data volume, need to split it.In the present embodiment, digital movie file is split can be referring to Fig. 2 with the process of packing, as shown in Figure 2, a digital movie file at first is split as some Segment, each Segment packs according to the TS form, and in order to improve efficiency of transmission, the size of each Segment should be the integral multiple of the payload data that TS can carry, namely a Segment can be packaged as some TS bags, has all comprised TS head and Segment data in each TS bag.Further, in order to identify each Segment, also can add the Segment head between the TS head in first TS bag of each Segment and Segment data.And whether also comprised cyclic redundancy check (CRC) in last the TS bag among each Segment, it is correct to be used for the check data bag.Wherein, the concrete form of the Segment head that adopts of present embodiment can be referring to table 1.
Table 1
Figure GDA00002305268800061
Figure GDA00002305268800071
The first sending module 112 is used for and will sends to the second receiver module 121 by the Segment after the packing of the first processing module 111 transmissions.
In the present embodiment, in order when to begin to receive digital movie file so that reception server 12 can be known, before the digital movie file of the first sending module 112 after will splitting packing sends to the second receiver module 121, also need to send PAT message and the PMT message that carries the digital movie file relevant information to the second receiver module 121, begin to receive digital movie file to inform the second receiver module 121; Similarly, for so that reception server 12 can be known the reception that when finishes digital movie file, after digital movie file all transmitted end, the first sending module 112 also needed to send specific ending message message to the second receiver module 121, with the sign end of transmission; Further, also can carry out the reception of digital movie in order to guarantee reception server 12 in digital movie transmission start midway, insertion PAT message and PMT message that also can the interval in the digital movie file transport process.Wherein, the PAT message is mainly used in determining which is the PMT message, when adopting multichannel to transmit same digital movie, plays the effect of distinguishing channel; PMT has carried digital movie information and the digital movie file information of this transmission, comprises film name, film identify label (ID), filename, file size, file transfer bag sign (PID) etc.; The ending message message has mainly identified the film ID of this transmission, and this transmits end to represent this corresponding film of ID institute.The concrete form of the PAT message that present embodiment adopts, PMT message and ending message message can be respectively referring to table 2,3 and 4.
Table 2
Figure GDA00002305268800072
Figure GDA00002305268800081
Table 3
Figure GDA00002305268800082
Figure GDA00002305268800091
Table 4
Figure GDA00002305268800092
Described the second receiver module 121 be used for the Segment after the packing that is sent by the first sending module 112 is received, and the Segment after the packing that will receive sends to the second processing module 122.
In the present embodiment, the second receiver module 121 also is used for receiving PAT message, PMT message and the ending message message that the first sending module 112 sends, and sends to the second processing module 122.
Described the second processing module 122 is used for the rear combination of unpacking to the Segment after the packing, obtains the accepting state of each Segment of this digital movie file according to the result of combination, and the described accepting state that obtains is sent to the second sending module 123.
Because each Segment is packaged into some TS bags, therefore, what described the second processing module 122 received is the TS bag.In the present embodiment, described to the Segment rear combination of unpacking after the packing, the accepting state that obtains each Segment of this digital movie file according to the result of combination is specially:
When receiving the TS bag, the PID of itself and a upper TS bag that receives is compared, when two PID are identical, then explanation is the TS bag of same digital movie file, according to the TS bag number (being the number of Packet_num field) that comprises in the Segment, from the TS bag that receives, split out the Segment data division, the Segment data that obtain are combined into Segment, and determine Segment according to the CRC that comprises in the TS bag and whether receive successful accepting state, if verification succeeds, sequence number (that is: segment_num field) according to Segment is written to corresponding position in the digital movie file with this Segment, and the accepting state of this Segment is set to 1; Otherwise the accepting state of this Segment is set to 0.When if two PID are not identical, illustrating that this TS is surrounded by may need to search this PID for new file or mistake bag in the PMT that receives, see whether this PID is this PID that should receive, if then set up file and accepting state corresponding to this file according to the filename in the PMT and file size; If not, then this TS bag is abandoned.
Described the second sending module 123 is used for the accepting state of described each Segment of digital movie file is sent to the first receiver module 113, sends server 11 with notice and whether successfully sends out this Segment.
Described the first receiver module 113 is used for receiving the accepting state by each Segment of the second sending module 123 transmissions, and described accepting state is sent to the first sending module 112.
Described the first sending module 112 is further used for the accepting state according to described each Segment, sends to the second receiver module 121 after the Segment that reception server 12 is not received packs again.
Need to prove, present embodiment describes as an example of a reception server example, a transmission server 11 may be to there being a plurality of different reception servers 12 in the practical application, thereby a plurality of the second different receiver modules 121 are just arranged also, the second processing module 122 and the second sending module 123, and the intersection of the accepting state of the accepting state of each Segment that the first receiver module 113 the receives Segment that to be all second sending modules 122 send, namely the Segment that does not receive that resends to the second receiver module 121 of the first sending module 112 is namely for all reception servers 12, and some Segment that does not receive may not be the Segment that this reception server 12 does not receive.Thus, when the second receiver module 121 receives the Segment that resends again, also need judge whether it is the Segment that does not receive in this reception server 12, specifically how judge and according to the accepting state of corresponding Segment, no longer it to be given unnecessary details here.
So far, namely obtained the digital movie transmission system that present embodiment adopts.Present embodiment digital movie transmission system, by by the transmission server the larger digital movie file of data volume being split in advance and packing, thereby digital movie file that can data volume is larger sends to respectively different reception servers with the form of bag, each reception server is after receiving the digital movie file of subpackage, to its rear combination of unpacking, obtain complete digital movie file; In addition, when each reception server in the present embodiment makes up after the digital movie file of subpackage is unpacked, can generate accepting state corresponding to each Segment according to the result of combination, and then so that the transmission server can be according to accepting state, the Segment that will not receive again sends to reception server with the form of bag again, has also just avoided the situation of the loss of data that digital movie file may occur in transmission course.
Based on said system, Fig. 3 has provided the concrete workflow of present embodiment digital movie transmission method.As shown in Figure 3, this flow process comprises:
Step 301: transmit leg is split as some Segment with digital movie file, and after each Segment after splitting packed according to the TS form, sends to the recipient.
Need to prove that before transmit leg was split as some Segment with digital movie file, PAT message and PMT message that transmit leg also needs to carry the digital movie file relevant information sent to the recipient; Simultaneously, after the form that whole digital movie file is wrapped with TS sent to the recipient, transmit leg also needed send the ending message message to the recipient, is sent in order to notify recipient's digital movie file.
It should be noted that also the concrete form of TS bag can referring to Fig. 2, repeat no more in this step here.
Step 302: the Segment of recipient after to the packing that the receives rear combination of unpacking obtain the accepting state of each Segment according to the result of combination, and the accepting state of each Segment that will obtain returns to transmit leg.
Step 303: transmit leg is according to the accepting state of each Segment that receives, and the Segment that the recipient is not received sends to the recipient with the form of TS bag again.
So far, namely finished the whole workflow of present embodiment digital movie transmission method.
Embodiment two
The structure of the digital movie transmission system that present embodiment adopts is referring to Fig. 4.As shown in Figure 4, with embodiment one, present embodiment digital movie transmission system comprises transmission server 41 and more than one reception server 42 at least, described transmission server 41 comprises the first processing module 411, the first sending module 412 and the first receiver module 413, reception server 42 comprises the second receiver module 421, the second processing module 422 and the second sending module 423, and the first processing module 411, the first sending module 412, the first receiver module 413, the second receiver module 421, the second processing module 422 and the second sending module 423 have been finished respectively the first processing module 111, the first sending module 112, the first receiver module 113, the second receiver module 121, the function of the second processing module 122 and the second sending module 123.Be that with embodiment one difference in the present embodiment, described reception server 42 also can comprise comparison module 424, wherein,
Described the first processing module 411 sends to the first sending module 412 also for the MD5 value of calculating digital movie file, and with the described MD5 value that calculates.
Need to prove that each file has a unique MD5 value, be used for sign this document, specifically how the MD5 value of calculation document is prior art, repeats no more here.
Described the first sending module 412, the MD5 value that also is used for described the first processing module 411 is calculated sends to the second receiver module 421.
Described the second receiver module 421 is further used for described MD5 value is sent to comparison module 424.
Described the second processing module 422, the MD5 value of the digital movie file that is further used for calculating, and the described MD5 value that calculates sent to comparison module 424.
Described comparison module 424, be used for the MD5 value that is sent by the second receiver module 421 and the MD5 value that is sent by the second processing module 422 are compared, and comparative result returned to the first receiver module 413, send server 41 with notice and whether successfully send out digital movie file.
In the present embodiment, two MD5 values are compared, when these two MD5 values are identical, illustrate that sending server 41 is successfully to the digital movie file that reception server 42 sends; Otherwise, illustrate that this digital movie file sends unsuccessfully.
So far, namely obtained the digital movie transmission system that present embodiment adopts.With embodiment one, present embodiment digital movie transmission system, also be by by the transmission server the larger digital movie file of data volume being split in advance and packing, thereby digital movie file that can data volume is larger sends to respectively different reception servers with the form of bag, each reception server is after receiving the digital movie file of subpackage, to its rear combination of unpacking, obtain complete digital movie file; In addition, when each reception server in the present embodiment makes up after the digital movie file of subpackage is unpacked, also should generate accepting state corresponding to each Segment according to the result of combination, and then so that the transmission server can be according to accepting state, the Segment that will not receive again sends to reception server with the form of bag again, has also just avoided the situation of the loss of data that digital movie file may occur in transmission course.Be with embodiment one difference, the present embodiment digital movie system can also send to reception server with the MD5 value of digital movie file by sending server, and then compared by the MD5 value of reception server with the MD5 value that receives and the digital movie file that itself receives, and comparative result returned to the transmission server, thereby so that send server and can know digital movie file and whether successfully sent to corresponding reception server.
Based on said system, Fig. 5 has provided the concrete workflow of present embodiment digital movie transmission method.As shown in Figure 5, this flow process comprises:
Step 501: transmit leg is split as some Segment with digital movie file, and each Segment after splitting packed according to the TS form sends to the recipient, simultaneously, calculates the MD5 value of digital movie file.
With step 301, in this step, transmit leg is split as digital movie file before some Segment, and the PAT message and the PMT message that also need will carry with the digital movie file relevant information send to the recipient; Simultaneously, after the form that whole digital movie file is wrapped with TS sends to the recipient, also need send the ending message message to the recipient, be sent in order to notify recipient's digital movie file.
Step 502: Segment the unpack rear combination of recipient after to packing obtains the accepting state of each Segment according to combined result, and it returned to transmit leg.
Step 503: whether the accepting state of judging each Segment all is to receive successfully, if so, and execution in step 504; Otherwise, execution in step 505.
Step 504: the recipient obtains the MD5 value that transmit leg calculates, the MD5 value of the digital movie file that calculates simultaneously, and after these two MD5 values are compared, comparative result is returned to transmit leg, after notifying the transmit leg recipient whether successfully to receive digital movie file, finish whole workflow.
Step 505: transmit leg after the form that the Segment that the recipient is not received wraps with TS again sends to the recipient, finishes whole workflow according to accepting state.
So far, namely finished the whole workflow of present embodiment digital movie transmission method.
Embodiment three
The structure of the digital movie transmission system that present embodiment adopts is referring to Fig. 6.As shown in Figure 6, with embodiment one, present embodiment digital movie transmission system comprises transmission server 61 and more than one reception server 62 at least, described transmission server 61 comprises the first processing module 611, the first sending module 612 and the first receiver module 613, reception server 62 comprises the second receiver module 621, the second processing module 622 and the second sending module 623, and the first processing module 611, the first sending module 612, the first receiver module 613, the second receiver module 621, the second processing module 622 and the second sending module 623 have been finished respectively the first processing module 111, the first sending module 112, the first receiver module 113, the second receiver module 121, the function of the second processing module 122 and the second sending module 123.Be that with embodiment one difference in the present embodiment, described transmission server 61 also can comprise encrypting module 614, wherein,
Described encrypting module 614 is used for digital movie file is encrypted, and the digital movie file after will encrypting sends to the first processing module 611, simultaneously, encryption key and encrypted location is sent to the first sending module 612.
Described the first processing module 611, the digital movie file after being used for encrypting is split as a plurality of Segment, and after each Segment after will splitting packs, sends to the first sending module 612.
Described the first sending module 612 also is used for described encryption key and encrypted location are sent to the second receiver module 621.
Described the second receiver module 621 is further used for described encryption key and encrypted location are sent to the second processing module 622.
Described the second processing module 622 is further used for according to described encryption key and encrypted location the digital movie file that obtains after the described combination being decrypted the digital movie file after obtaining deciphering.
So far, namely obtained the digital movie transmission system that present embodiment adopts.The same with embodiment two with embodiment one, present embodiment digital movie transmission system, also be by by the transmission server the larger digital movie file of data volume being split in advance and packing, thereby digital movie file that can data volume is larger sends to respectively different reception servers with the form of bag, each reception server is after receiving the digital movie file of subpackage, to its rear combination of unpacking, obtain complete digital movie file; In addition, when each reception server in the present embodiment makes up after the digital movie file of subpackage is unpacked, also should generate accepting state corresponding to each Segment according to the result of combination, and then so that the transmission server can be according to accepting state, the Segment that will not receive again sends to reception server with the form of bag again, has also just avoided the situation of the loss of data that digital movie file may occur in transmission course.Be with embodiment one and embodiment two differences; the present embodiment digital movie system is before the transmission server sends digital movie file; first it is encrypted; so that reception server is after receiving digital movie; need to be decrypted just it and can obtain complete digital movie file; the reception server that namely only gets access to key just can obtain this digital movie file, has also just protected digital movie file.
Based on said system, Fig. 7 has provided the concrete workflow of present embodiment digital movie transmission method.As shown in Figure 7, this flow process comprises:
Step 701: transmit leg is encrypted digital movie file, and after the digital movie file after will encrypting is split as some Segment, and each Segment after splitting is packed sends to the recipient.
With step 301, in this step, transmit leg is split as digital movie file before some Segment, and the PAT message and the PMT message that also need will carry with the digital movie file relevant information send to the recipient; Simultaneously, after the form that whole digital movie file is wrapped with TS sends to the recipient, also need send the ending message message to the recipient, be sent in order to notify recipient's digital movie file.
Step 702: Segment the unpack rear combination of recipient after to packing obtains the accepting state of each Segment according to combined result, and it returned to transmit leg.
Step 703: whether the accepting state of judging each Segment all is to receive successfully, if so, and execution in step 704; Otherwise, execution in step 706.
Step 704: transmit leg sends to the recipient with encryption key and encrypted location.
Step 705: the recipient is decrypted the digital movie file after making up according to encryption key and encrypted location, after the digital movie file after obtaining deciphering, finishes whole workflow.
Step 706: transmit leg is according to the accepting state of each Segment, the Segment that do not receive is sent to the recipient with the form of TS bag again after, finish whole workflow.
So far, namely finished the whole workflow of present embodiment digital movie transmission method.
Embodiment four
The structure of the digital movie transmission system that present embodiment adopts is referring to Fig. 8.As shown in Figure 8, with embodiment one, present embodiment digital movie transmission system comprises transmission server 81 and more than one reception server 82 at least, described transmission server 81 comprises the first processing module 811, the first sending module 812 and the first receiver module 813, reception server 82 comprises the second receiver module 821, the second processing module 822 and the second sending module 823, and the first processing module 811, the first sending module 812, the first receiver module 813, the second receiver module 821, the second processing module 822 and the second sending module 823 have been finished respectively the first processing module 111, the first sending module 112, the first receiver module 113, the second receiver module 121, the function of the second processing module 122 and the second sending module 123.And with embodiment two, the reception server 82 of present embodiment also can comprise comparison module 824, and what it was finished is the function of comparison module 424, with embodiment three, the transmission server 81 of present embodiment also can comprise encrypting module 814, and it finishes the function of encrypting module 614.Because function and the specific works flow process of modules were all described front, no longer it were given unnecessary details here.
Based on the described system of present embodiment, Fig. 9 has provided the concrete workflow of present embodiment digital movie transmission method.As shown in Figure 9, this flow process comprises:
Step 901: transmit leg is encrypted digital movie file, and after the digital movie file after will encrypting is split as some Segment, and each Segment after splitting is packed sends to the recipient, simultaneously, calculates the MD5 value of digital movie file.
Step 902: Segment the unpack rear combination of recipient after to packing obtains the accepting state of each Segment according to combined result, and it returned to transmit leg.
Step 903: whether the accepting state of judging each Segment all is to receive successfully, if so, and execution in step 904; Otherwise, execution in step 907.
Step 904: transmit leg sends to the recipient with encryption key and encrypted location.
Step 905: the recipient is decrypted the digital movie file after obtaining deciphering according to encryption key and encrypted location to the digital movie file after making up.
Step 906: the recipient obtains the MD5 value that transmit leg calculates, the MD5 value of the digital movie file that calculates, and after two values are compared, comparative result returned to transmit leg after, finish whole workflow.
Step 907: transmit leg is according to the accepting state of each Segment, the Segment that do not receive is sent to the recipient with the form of TS bag again after, finish whole workflow.
So far, namely finished the whole workflow of present embodiment digital movie transmission method.
With embodiment one, two, three, present embodiment digital movie transmission system, also be by by the transmission server the larger digital movie file of data volume being split in advance and packing, thereby digital movie file that can data volume is larger sends to respectively different reception servers with the form of bag, each reception server is after receiving the digital movie file of subpackage, to its rear combination of unpacking, obtain complete digital movie file; In addition, when each reception server in the present embodiment makes up after the digital movie file of subpackage is unpacked, also should generate accepting state corresponding to each Segment according to the result of combination, and then so that the transmission server can be according to accepting state, the Segment that will not receive again sends to reception server with the form of bag again, has also just avoided the situation of the loss of data that digital movie file may occur in transmission course; With embodiment three, the present embodiment digital movie system is before the transmission server sends digital movie file, first it is encrypted, so that reception server is after receiving digital movie, need to be decrypted just it and can obtain complete digital movie file, the reception server that namely only gets access to key just can obtain this digital movie file, has also just protected digital movie file; With embodiment two, the present embodiment digital movie system can also send to reception server with the MD5 value of digital movie file by sending server, and then compared by the MD5 value of reception server with the MD5 value that receives and the digital movie file that itself receives, and comparative result returned to the transmission server, thereby so that send server and can know digital movie file and whether successfully sent to corresponding reception server.
Further, need to prove, for so that the transmission of digital movie file is more secret, in the data transfer procedure of the various embodiments described above, all can be encrypted with session key it, wherein, session key is the distinctive key that sends between server and the reception server, specifically session key generation and how to use the session key data to be prior art how repeats no more here.
In a word, digital movie transmission method of the present invention, by by the transmission server the larger digital movie file of data volume being split in advance and packing, thereby digital movie file that can data volume is larger sends to respectively different reception servers with the form of bag, each reception server is after receiving the digital movie file of subpackage, to its rear combination of unpacking, obtain complete digital movie file; In addition, when each reception server makes up after the digital movie file of subpackage is unpacked, also should generate accepting state corresponding to each Segment according to the result of combination, and then so that the transmission server can be according to accepting state, the Segment that will not receive again sends to reception server with the form of bag again, has also just avoided the situation of the loss of data that digital movie file may occur in transmission course; Further, before the transmission server sends digital movie file, first it is encrypted, so that each reception server is after receiving digital movie, need to be decrypted just it and can obtain complete digital movie file, the reception server that namely only gets access to key just can obtain this digital movie file, has also just protected digital movie file; At last, send to reception server by sending the MD5 value of server with digital movie file, and then compared by the MD5 value of reception server with the MD5 value that receives and the digital movie file that itself receives, and comparative result returned to the transmission server, thereby so that send server and can know digital movie file and whether successfully sent to corresponding reception server.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (7)

1. digital movie transmission method is characterized in that the method comprises:
Transmit leg calculates the 5th edition MD5 value of Message Digest 5 of digital movie file, the Program Association Table PAT message and the Program Map Table PMT message that carry described digital movie file relevant information are sent to the recipient, digital movie file is split as fragment Segment, each Segment after splitting is packed according to the transport stream TS form, and all TS bags that obtain after will packing send to the recipient, to the ending message message of recipient's transmission in order to notify digital movie file to be sent, comprise channel sign program_number in the described PAT message, comprise the digital movie file with the encapsulation of descriptor descriptor form in the described PMT message;
The recipient is to the rear combination of unpacking of the TS that receives bag, obtains the accepting state of each Segment according to combined result, and described accepting state is returned to transmit leg;
Transmit leg is according to the accepting state of each Segment that receives, and the Segment that the recipient is not received sends to the recipient with the form of TS bag again,
Wherein, described each Segment after splitting is packed according to the TS form comprises: each Segment is packaged as some TS bags, and TS head and Segment data have all been comprised in each TS bag, also comprised the Segment head in first TS bag among the described Segment that is packaged as some TS bag, to identify each Segment, adopt the PID identification code stream of TS packet header, and the positional information of described code stream is encapsulated in the Segment head;
Described by the recipient to the rear combination of unpacking of the TS that receives bag, the accepting state that obtains each Segment according to combined result comprises: split out the Segment data by the recipient from the TS bag that receives, the Segment data that obtain are combined into Segment, and determine Segment according to the cyclic redundancy check (CRC) that comprises in the TS bag and whether receive successful accepting state;
When the accepting state of described each Segment all is when receiving successfully, the method also comprises: obtain the MD5 value that transmit leg calculates by the recipient, and calculate the MD5 value of the digital movie file that obtains according to combined result, after these two MD5 values are compared, comparative result is returned to transmit leg, whether successfully receive digital movie file with notice transmit leg recipient.
2. method according to claim 1 is characterized in that, the size of each Segment after the described fractionation is the integral multiple of the TS payload data that can carry.
3. method according to claim 1 is characterized in that, describedly digital movie file is split as Segment comprises: by transmit leg digital movie file is encrypted, and the digital movie file after will encrypting is split as Segment.
4. method according to claim 3 is characterized in that, when the accepting state of described each Segment all is that the method also comprises when receiving successfully:
By transmit leg encryption key and encrypted location are sent to the recipient;
According to encryption key and encrypted location the digital movie file that obtains according to combined result is decrypted the digital movie file after obtaining deciphering by the recipient.
5. a digital movie transmission system is characterized in that, this system comprises transmission server and more than one reception server, wherein,
Described transmission server, calculate the 5th edition MD5 value of Message Digest 5 of digital movie file, the Program Association Table PAT message and the Program Map Table PMT message that carry described digital movie file relevant information are sent to reception server, digital movie file is split as fragment Segment, and after each the Segment transport stream TS form after splitting packed, all TS bags that obtain after the packing are sent to each reception server, further, the accepting state of each Segment that sends according to each reception server, send to reception server after the Segment that does not receive packed again, comprise channel sign program_number in the described PAT message, comprise the digital movie file with the encapsulation of descriptor descriptor form in the described PMT message;
Described each reception server to the rear combination of unpacking of the TS that receives bag, obtains the accepting state of each Segment according to combined result, and described accepting state is returned to the transmission server,
Wherein, described each Segment after splitting is packed according to the TS form comprises: each Segment is packaged as some TS bags, and TS head and Segment data have all been comprised in each TS bag, also comprised the Segment head in first TS bag among the described Segment that is packaged as some TS bag, to identify each Segment, adopt the PID identification code stream of TS packet header, and the positional information of described code stream is encapsulated in the Segment head;
Described each reception server wraps the rear combination of unpacking to the TS that receives, the accepting state that obtains each Segment according to combined result comprises: reception server splits out the Segment data from the TS bag that receives, the Segment data that obtain are combined into Segment, and determine Segment according to the cyclic redundancy check (CRC) that comprises in the TS bag and whether receive successful accepting state;
When the accepting state of described each Segment all is when receiving successfully, described reception server, also be used for obtaining and send the MD5 value that server calculates, and calculate the MD5 value of the digital movie file that obtains according to combined result, after these two MD5 values are compared, comparative result is returned to the transmission server, send this reception server of server with notice and whether successfully receive digital movie file.
6. system according to claim 5 is characterized in that, described transmission server is split as fragment Segment with digital movie file and is: send server digital movie file is encrypted, and the digital movie file after will encrypting is split as Segment.
7. system according to claim 6 is characterized in that,
Described transmission server also is used for encryption key and encrypted location are sent to each reception server;
Described each reception server is further used for according to encryption key and encrypted location the digital movie file that obtains according to combined result being decrypted the digital movie file after obtaining deciphering.
CN 201010272665 2010-09-03 2010-09-03 Digital film transmission method, system and equipment thereof Active CN101977182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010272665 CN101977182B (en) 2010-09-03 2010-09-03 Digital film transmission method, system and equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010272665 CN101977182B (en) 2010-09-03 2010-09-03 Digital film transmission method, system and equipment thereof

Publications (2)

Publication Number Publication Date
CN101977182A CN101977182A (en) 2011-02-16
CN101977182B true CN101977182B (en) 2013-03-13

Family

ID=43577027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010272665 Active CN101977182B (en) 2010-09-03 2010-09-03 Digital film transmission method, system and equipment thereof

Country Status (1)

Country Link
CN (1) CN101977182B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752283B (en) * 2012-05-30 2015-05-13 福建省三奥信息科技股份有限公司 Method and system for transmitting files with large data sizes
CN103747038B (en) * 2012-12-21 2016-10-05 北京海威汇达计算机技术有限责任公司 Digital film copy special reception terminal
CN103354479B (en) * 2013-03-22 2017-02-08 哈尔滨工业大学深圳研究生院 LT code based spatial delay/disruption tolerant network (DTN) transmission method
CN104093089B (en) * 2014-07-25 2017-04-12 中国电影科学技术研究所 Cinema program live telecasting system and method
CN106331523A (en) * 2016-08-18 2017-01-11 上海港聚信息科技有限公司 Online internet high-definition/ super-definition cinema system
CN110099087B (en) * 2018-01-31 2021-02-02 国广融合(北京)传媒科技发展有限公司 File transmission method based on converged transmission system
CN109561345B (en) * 2018-12-14 2021-08-03 上海文广科技(集团)有限公司 Digital movie packaging method based on AVS + coding format
CN109639807A (en) * 2018-12-19 2019-04-16 中国四维测绘技术有限公司 A kind of massive remote sensing image file network transmission method based on slice slice
CN111403005B (en) * 2020-03-11 2022-05-20 武汉联影医疗科技有限公司 Medical image data acquisition method and device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1411280A (en) * 2002-11-21 2003-04-16 北京中科大洋科技发展股份有限公司 Apparatus for making, transmitting and receiving broadcasting type quasi video frequency requested program
CN1898956A (en) * 2003-12-18 2007-01-17 松下电器产业株式会社 Method for authenticating and executing an application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006109337A (en) * 2004-10-08 2006-04-20 Matsushita Electric Ind Co Ltd Broadcast receiver

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1411280A (en) * 2002-11-21 2003-04-16 北京中科大洋科技发展股份有限公司 Apparatus for making, transmitting and receiving broadcasting type quasi video frequency requested program
CN1898956A (en) * 2003-12-18 2007-01-17 松下电器产业株式会社 Method for authenticating and executing an application program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘宇翔等.基于流式传输模式的可靠多播协议.《计算机工程》.2006,第32卷(第6期),
基于流式传输模式的可靠多播协议;刘宇翔等;《计算机工程》;20060331;第32卷(第6期);第140-141页 *

Also Published As

Publication number Publication date
CN101977182A (en) 2011-02-16

Similar Documents

Publication Publication Date Title
CN101977182B (en) Digital film transmission method, system and equipment thereof
CN105516139B (en) A kind of transmission method of network data, apparatus and system
CN1852088B (en) Enciphering-deciphering method for flow medium transmission code flow and module
US9100180B2 (en) Method, device and communication system for retransmission based on forward error correction
CN108769740A (en) Video data encrypted transmission method, system, equipment and storage medium
BRPI0614675A2 (en) protecting elemental stream content
US8438450B2 (en) Method and system for performing data integrity verification of a transport stream
CN1816014A (en) Addresable queue for communicating correlated messages over a network
CN101946456A (en) Cipher processing method and cipher processing apparatus
CN101854241A (en) Method and device for verifying data block transmitted in network
CN102647252A (en) Serial communication method
CN107222759A (en) Method, system, equipment and the medium of media file encryption and decryption
CN104661042A (en) Method, device and system for transmitting transport stream
US11876723B2 (en) Method and apparatus for transmitting and receiving packet in communication system
CN105162588A (en) Media file encryption/decryption methods and device
CN105393480A (en) Apparatus and method for sending/receiving packet in multimedia communication system
CN117044160A (en) Partial authentication mark aggregation supporting interleaved encryption and authentication operations over multiple data records
CN102325025B (en) Data processing method and system for verifying provision source authenticity
CN101667912B (en) Network information transmission method and system therefor
CN101542962A (en) Processing method for message integrity with tolerance for non-sequential arrival of message data
JP2014209729A (en) Radio device
CN112930653B (en) Apparatus and method for real-time soft combining of decrypted data
CN108055268A (en) A kind of method based on PCIe link data penetration transmission encryption and decryption
EP2395727A1 (en) Data transport container, source device, destination device and method for transferring different types of data
CN104853243A (en) Transport stream de-multiplexing method and apparatus

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240115

Address after: 100086 Beijing city Haidian District Shuangyushu Academy Road No. 44

Patentee after: China Film Science and Technology Research Institute (Film Technology Quality Inspection Institute of the Central Propaganda Department)

Address before: 100086 No. 44 South Road, Haidian District Academy of Sciences, Beijing

Patentee before: CHINA FILM SCIENCE AND TECHNOLOGY INST.