CN105282555A - A multi-media file storage system and related devices - Google Patents

A multi-media file storage system and related devices Download PDF

Info

Publication number
CN105282555A
CN105282555A CN201410295523.3A CN201410295523A CN105282555A CN 105282555 A CN105282555 A CN 105282555A CN 201410295523 A CN201410295523 A CN 201410295523A CN 105282555 A CN105282555 A CN 105282555A
Authority
CN
China
Prior art keywords
destination
source terminal
predictive coding
picture
directional predictive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410295523.3A
Other languages
Chinese (zh)
Other versions
CN105282555B (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.)
Ai Erda Science And Technology Co Ltd
Original Assignee
Ai Erda Science And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ai Erda Science And Technology Co Ltd filed Critical Ai Erda Science And Technology Co Ltd
Priority to CN201410295523.3A priority Critical patent/CN105282555B/en
Publication of CN105282555A publication Critical patent/CN105282555A/en
Application granted granted Critical
Publication of CN105282555B publication Critical patent/CN105282555B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a multi-media file storage system and a related source end device and a target end device. The source end device comprises a source end storage device which is set to store an original multi-media file; a source end decoding circuit which is set to decode a part of two-way predictive coding frames of a plurality of two-way predictive coding frames in the original multi-media file so as to form a source end representative file; a source end calculating circuit which set to carry out Hash algorithm operation on the source end representative file to produce a source end verification value; and a transmission circuit which is set to transmit the source end verification value and the original multi-media file. The source end representative file is only formed by a part of two-way predictive coding frames of the plurality of two-way predictive coding frames in the original multi-media file, so that the size of the source end representative file is far smaller than that of the original multi-media file, and time needed when the source end device generates the source end verification value can be greatly reduced.

Description

Multimedia file stocking system and relevant apparatus
Technical field
The relevant stocking system of the present invention, espespecially a kind of multimedia file stocking system and relevant apparatus that effectively can promote acceleration files passe and verification speed.
Background technology
The reliability of file transfer is all the subject under discussion received much concern all the time because the mistake produced in document transmission process may cause the file received by receiving terminal and original document inconsistent, and then cause the puzzlement in subsequent treatment.Whether such as, provide for dealer for multimedia data service, check before uploading onto the server and be consistent with multimedia file afterwards, be one of important key guaranteeing service quality.
Therefore, traditional multimedia file stocking system most likely carries out hash algorithm computing to the full content of the multimedia file before uploading onto the server, to produce a source terminal check value, and hash algorithm computing is carried out, to produce a destination check value to the full content of the multimedia file after uploading onto the server.By comparison source terminal check value and destination check value, whether be consistent with multimedia file afterwards before multimedia file stocking system is just judged to upload onto the server.Such as, when multimedia file stocking system finds destination check value and source terminal check value is different, the multimedia file after multimedia file stocking system just can judge to upload onto the server is inconsistent with the original multimedia file before uploading onto the server.In the case, the multimedia file of having uploaded onto the server can be given up by multimedia file stocking system usually, and requires user's upload multimedia file again.
But along with the continuous progress of multimedia application, the amount of capacity of single multimedia file also has more and more large trend.In numerous applications, the amount of capacity of single multimedia file has even reached the grade of tens of even hundreds of terabyte (Terabyte, TB).Be appreciable to the full content time of carrying out needed for hash algorithm computing of the multimedia file of this file size grade, even approached and multi-medium data itself is uploaded onto the server the required time.
Clearly, tradition checks the running whether multimedia file be consistent has become the bottleneck of large multi-media file when transmitting and store, and badly influences the overall efficiency of multimedia file stocking system.
Summary of the invention
In view of this, how efficiently to check before uploading onto the server and whether be consistent with multimedia file afterwards, in fact for industry has problem to be solved.
This specification provides a kind of embodiment of multimedia file stocking system, and it comprises: a source terminal device, comprises: a source terminal storage device, is arranged to storage one original multimedia file; One source terminal decoding circuit, is coupled to this source terminal storage device, is arranged to the part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of this original multimedia file of decoding, to form a source terminal representation file; One source terminal counting circuit, is coupled to this source terminal decoding circuit, is arranged to carry out a hash algorithm computing to this source terminal representation file, to produce a source terminal check value; And a transfer circuit, be coupled to this source terminal storage device and this source terminal counting circuit, be arranged to transmit this source terminal check value and this original multimedia file; And a destination device, comprise: a receiving circuit, be configured to receive the data that this transfer circuit transmits, to form a destination multimedia file and to obtain this source terminal check value; One destination storage device, is coupled to this receiving circuit, is arranged to store this destination multimedia file and this source terminal check value; One destination decoding circuit, is coupled to this destination storage device, is arranged to the part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of this destination multimedia file of decoding, to form a destination representation file; One destination counting circuit, is coupled to this destination decoding circuit, is arranged to carry out this hash algorithm computing to this destination representation file, to produce a destination check value; And a Comparison Circuit, be coupled to this destination storage device and this destination counting circuit, be arranged to this destination check value and this source terminal check value to compare, to judge whether this destination multimedia file conforms to this original multimedia file.
This specification separately provides a kind of embodiment for the source terminal device in a multimedia file stocking system, and it comprises: a source terminal storage device, is arranged to storage one original multimedia file; One source terminal decoding circuit, is coupled to this source terminal storage device, is arranged to the part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of this original multimedia file of decoding, to form a source terminal representation file; One source terminal counting circuit, is coupled to this source terminal decoding circuit, is arranged to carry out a hash algorithm computing to this source terminal representation file, to produce a source terminal check value; And a transfer circuit, be coupled to this source terminal storage device and this source terminal counting circuit, be arranged to transmit this source terminal check value and this original multimedia file to the destination device in this multimedia file stocking system.
This specification separately provides a kind of embodiment for the destination device in a multimedia file stocking system, it comprises: a receiving circuit, be configured to receive the data that the source terminal device in this multimedia file stocking system transmits, to form a destination multimedia file and to obtain a source terminal check value; One destination storage device, is coupled to this receiving circuit, is arranged to store this destination multimedia file and this source terminal check value; One destination decoding circuit, is coupled to this destination storage device, is arranged to the part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of this destination multimedia file of decoding, to form a destination representation file; One destination counting circuit, is coupled to this destination decoding circuit, is arranged to carry out this hash algorithm computing to this destination representation file, to produce a destination check value; And a Comparison Circuit, be coupled to this destination storage device and this destination counting circuit, be arranged to this destination check value and this source terminal check value to compare, to judge whether this destination multimedia file conforms to this original multimedia file.
One of advantage of above-described embodiment, be source terminal representation file be only be made up of the data of the part bi-directional predictive coding picture in original multimedia file, so the size of source terminal representation file much smaller than the size of original multimedia file, therefore can significantly can reduce the time needed for source terminal device generation source terminal check value.
Another advantage of above-described embodiment, be destination representation file be only be made up of the data of the part bi-directional predictive coding picture in destination multimedia file, so the size of destination representation file much smaller than the size of destination multimedia file, therefore can significantly can reduce the time needed for destination device generation destination check value.
Other advantages of the present invention will explain orally in more detail by the following description and accompanying drawing.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the present application, and form a application's part, the schematic description and description of the application, for explaining the application, does not form the improper restriction to the application.
Fig. 1 is the functional block diagram after the multimedia file stocking system of one embodiment of the invention simplifies.
Fig. 2 is the flow chart after the multimedia file storage method of one embodiment of the invention simplifies.
Fig. 3 is the schematic diagram after the picture group of one embodiment of the invention simplifies.
Fig. 4 is the schematic diagram after the picture group of another embodiment of the present invention simplifies.
[symbol description]
100 multimedia file stocking systems
110 source terminal devices
111 source terminal storage devices
113 source terminal decoding circuits
115 source terminal counting circuits
117 transfer circuits
120 destination devices
121 destination storage devices
123 destination decoding circuits
125 destination counting circuits
127 destination counting circuits
129 Comparison Circuits
202 ~ 218 method flows
300,400 picture groups
301, coded picture in 401 frames
302,303,305,306,308,309,311,312,402,403,405,406,408,409,411,412,414,415 bi-directional predictive coding pictures
304,307,310,404,407,410,413 prediction encoded pictures
Embodiment
Below cooperation relevant drawings is illustrated embodiments of the invention.In the accompanying drawings, identical label represents same or similar element or method flow.
Fig. 1 is the functional block diagram after the multimedia file stocking system 100 of one embodiment of the invention simplifies.Multimedia file stocking system 100 comprises source terminal device (source-enddevice) 110 and a destination device (destination-enddevice) 120.
In the embodiment in figure 1, source terminal device 110 comprises source terminal storage device 111, source terminal decoding circuit 113, source terminal counting circuit 115 and a transfer circuit 117.Destination device 120 comprises receiving circuit 121, destination storage device 123, destination decoding circuit 125, destination counting circuit 127 and a Comparison Circuit 129.
In source terminal device 110, source terminal storage device 111 is arranged to store the original multimedia file preparing to be uploaded to destination device 120.Source terminal decoding circuit 113 is coupled to source terminal storage device 111, is arranged to the data of the part picture (picture) in a decoding original multimedia file, to form a source terminal representation file.Source terminal counting circuit 115 is coupled to source terminal decoding circuit 113, is arranged to carry out a hash algorithm (Hashalgorithm) computing to source terminal representation file, to produce a source terminal check value (source-endcheckvalue).Transfer circuit 117 is coupled to source terminal storage device 111 and source terminal counting circuit 115, is arranged to send source check value and original multimedia file.
In destination device 120, the data that the transfer circuit 117 that receiving circuit 121 is configured to receive source terminal device 110 transmits, to form a destination multimedia file and to obtain this source terminal check value.Destination storage device 123 is coupled to receiving circuit 121, is arranged to store destination multimedia file and source terminal check value.Destination decoding circuit 125 is coupled to destination storage device 123, is arranged to the data of the part picture in multiple bi-directional predictive coding pictures of a decoding destination multimedia file, to form a destination representation file.Destination counting circuit 127 is coupled to this destination decoding circuit 125, is arranged to carry out hash algorithm computing to destination representation file, to produce a destination check value (destination-endcheckvalue).Comparison Circuit 129 is coupled to destination storage device 123 and destination counting circuit 127, is arranged to destination check value and source terminal check value to compare, to judge whether destination multimedia file conforms to original multimedia file.
In implementation, aforesaid transfer circuit 117 and receiving circuit 121, all can realize with cable network interface, wireless network interface or the hybrid circuit integrating aforementioned two kinds of interfaces simultaneously.In other words, data communication can be carried out by wire transmission mode between transfer circuit 117 and receiving circuit 121, also can carry out data communication by wireless transmission method.Words in need, also can be coupled to extra antenna assembly (not illustrating) to promote the signal transmission quality of transfer circuit 117 and/or receiving circuit 121 by transfer circuit 117 and/or receiving circuit 121.
In addition, the difference in functionality square in source terminal device 110 can realize with different circuit respectively, also can be incorporated in a single circuit chip.Such as, at least wherein two of source terminal decoding circuit 113, source terminal counting circuit 115 and transfer circuit 117 can be incorporated in a single treatment circuit.Similarly, the difference in functionality square in destination device 120 can realize with different circuit respectively, also can be incorporated in a single circuit chip.Such as, at least wherein two of receiving circuit 121, destination decoding circuit 125, destination counting circuit 127 and Comparison Circuit 129 can be incorporated in a single treatment circuit.
For the purpose of conveniently illustrating, source terminal device 110 is not illustrated in Fig. 1 with other elements in destination device 120 and annexation.
Aforesaid " hash algorithm " can be the various algorithms utilizing hash function formula (Hashfunction) to set up the check value (such as, digest value) less than original document capacity, such as message digest algorithm.In a preferred embodiment, aforesaid hash algorithm refers to message digest algorithm the 5th edition (Message-DigestAlgorithm5).
Below collocation Fig. 2 is further illustrated the function mode of multimedia file stocking system 100.
Fig. 2 is the flow chart after the multimedia file storage method of one embodiment of the invention simplifies.In the flowchart of fig. 2, be arranged in the flow process of field belonging to a specific device, namely represent the flow process of being undertaken by this specific device.Such as, be labeled as the part in the field of " source terminal device ", represent the flow process that source terminal device 110 carries out; Be labeled as the part in the field of " destination device ", represent the flow process that destination device 120 carries out.
Before a specific original multimedia data is uploaded to destination device 120 by source terminal device 110, source terminal storage device 111 can be first utilized to carry out flow process 202, to store the original multimedia file preparing to be uploaded to destination device 120.
The multimedia compression standard that the MPEG series standard (such as MPEG2 and MPEG4) that mpeg (MovingPictureExpertsGroup, MPEG) is formulated extensively is adopted by all circles.Namely original multimedia file in the present embodiment is adopt MPEG series standard to carry out compressing produced multimedia file.
MPEG series standard defines three kinds of picture coding mode, is respectively coding (IntraEncoding) pattern, predictive coding (PredictiveEncoding) pattern and bi-directional predictive coding (Bi-directionallyPredictive) pattern in frame.
Coded picture (Intracodedpicture, I-picture) in the frame produced according to coding mode in frame is a kind of picture of absolute coding, thus carry out encoding or decoding time do not need with reference to other pictures.According to the prediction encoded picture (predictivecodedpicture, P-picture) that predictive coding pattern produces, carry out encoding or decoding time need on reference time axle last reference picture (referencepicture).According to the bi-directional predictive coding picture (bidirectionalpredictivecodedpicture that bi-directional predictive coding pattern produces, B-picture), last reference picture on reference time axle and a rear reference picture is then needed when carrying out coding&decoding.
Aforesaid " reference picture " refers to coded picture or prediction encoded picture in frame.Because bi-directional predictive coding picture itself cannot be used to be used as a reference picture, so be also called " non-reference picture " (non-referencepicture).The reference picture of specific quantity and non-reference picture can form a picture group (groupofpicture, GOP), but reference picture and non-reference picture pattern of rows and columns in picture group then can be different along with different Multimedia Compression modes.
MPEG series standard defines the many kinds of aspects of picture group, for convenience of description, only with Fig. 3 and Fig. 4, picture group aspect is wherein described below.
Fig. 3 and Fig. 4 is the schematic diagram after the picture group of different embodiments of the invention simplifies.In the embodiments of figure 3, picture group 300 is made up of 12 pictures, is sequentially coded picture 301 in frame, bi-directional predictive coding picture 302 and 303, prediction encoded picture 304, bi-directional predictive coding picture 305 and 306, prediction encoded picture 307, bi-directional predictive coding picture 308 and 309, prediction encoded picture 310 and bi-directional predictive coding picture 311 and 312.In the fig. 4 embodiment, picture group 400 is made up of 15 pictures, is sequentially coded picture 401 in frame, bi-directional predictive coding picture 402 and 403, prediction encoded picture 404, bi-directional predictive coding picture 405 and 406, prediction encoded picture 407, bi-directional predictive coding picture 408 and 409, prediction encoded picture 410, bi-directional predictive coding picture 411 and 412, prediction encoded picture 413 and bi-directional predictive coding picture 414 and 415.
In the present embodiment, multiple picture group can be comprised in original multimedia file.Therefore, coded picture in multiple frame, multiple prediction encoded picture and multiple bi-directional predictive coding picture can be comprised in original multimedia file.
In flow process 204, the data of the part picture (picture) in a source terminal decoding circuit 113 meeting decoding original multimedia file, with the source terminal representation file that composing document size is less.When operating, source terminal decoding circuit 113 can part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of a decoding original multimedia file, to form source terminal representation file.
In one embodiment, one of them bi-directional predictive coding picture in each picture group of source terminal decoding circuit 113 meeting decoding original multimedia file, to obtain multiple source terminal bi-directional predictive coding picture, and the multiple source terminal bi-directional predictive coding picture compositions obtained are become source terminal representation file.
In implementation, a bi-directional predictive coding picture between latter two prediction encoded picture in each picture group of source terminal decoding circuit 113 decodable code original multimedia file, to obtain multiple source terminal bi-directional predictive coding picture, and the multiple source terminal bi-directional predictive coding picture compositions obtained are become this source terminal representation file.In the embodiment that the aspect of each picture group in original multimedia file is identical with the picture group 300 of Fig. 3, a bi-directional predictive coding picture between latter two prediction encoded picture 307 and 310 in each picture group 300 of source terminal decoding circuit 113 decodable code original multimedia file (that is, one of them of bi-directional predictive coding picture 308 and 309), to obtain multiple source terminal bi-directional predictive coding picture.In the embodiment that the aspect of each picture group in original multimedia file is identical with the picture group 400 of Fig. 4, a bi-directional predictive coding picture between latter two prediction encoded picture 410 and 413 in each picture group 400 of source terminal decoding circuit 113 decodable code original multimedia file (that is, one of them of bi-directional predictive coding picture 411 and 412), to obtain multiple source terminal bi-directional predictive coding picture.
Or, one of them bi-directional predictive coding picture after being positioned at last prediction encoded picture in each picture group of source terminal decoding circuit 113 decodable code original multimedia file, to obtain multiple source terminal bi-directional predictive coding picture, and the multiple source terminal bi-directional predictive coding picture compositions obtained are become this source terminal representation file.In the embodiment that the aspect of each picture group in original multimedia file is identical with the picture group 300 of Fig. 3, one of them bi-directional predictive coding picture after last prediction encoded picture 310 in each picture group 300 of source terminal decoding circuit 113 decodable code original multimedia file (that is, one of them of bi-directional predictive coding picture 311 and 312), to obtain multiple source terminal bi-directional predictive coding picture.In the embodiment that the aspect of each picture group in original multimedia file is identical with the picture group 400 of Fig. 4, one of them bi-directional predictive coding picture after last prediction encoded picture 413 in each picture group 400 of source terminal decoding circuit 113 decodable code original multimedia file (that is, one of them of bi-directional predictive coding picture 414 and 415), to obtain multiple source terminal bi-directional predictive coding picture.
In flow process 206, source terminal counting circuit 115 can carry out aforesaid hash algorithm computing, to produce source terminal check value to the source terminal representation file that source terminal decoding circuit 113 forms.Because source terminal representation file is only made up of the data of the part bi-directional predictive coding picture in original multimedia file, so the size of source terminal representation file can much smaller than the size of original multimedia file, therefore significantly can reduce source terminal counting circuit 115 and produce time needed for source terminal check value.
In flow process 208, transfer circuit 117 can send source check value and original multimedia file to destination device 120.
In flow process 210, the receiving circuit 121 of destination device 120 can the data that transmit of the transfer circuit 117 of receipt source end device 110, to form a destination multimedia file and to obtain the source terminal check value that source terminal device 110 produces.
Now, destination storage device 123 can carry out flow process 212, to store destination multimedia file and source terminal check value.
In flow process 214, the data of the part picture in multiple bi-directional predictive coding pictures of a destination decoding circuit 125 meeting decoding destination multimedia file, to form destination representation file.When operating, destination decoding circuit 125 can part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of a decoding destination multimedia file, to form destination representation file.
In one embodiment, one of them bi-directional predictive coding picture in each picture group of this destination multimedia file of destination decoding circuit 125 meeting decoding, to obtain multiple destination bi-directional predictive coding picture, and the multiple destination bi-directional predictive coding picture compositions obtained are become this destination representation file.
In implementation, destination decoding circuit 125 can in flow process 214 this destination multimedia file of decoding each picture group in a bi-directional predictive coding picture between latter two prediction encoded picture, to obtain multiple destination bi-directional predictive coding picture, and the multiple destination bi-directional predictive coding picture compositions obtained are become this destination representation file.In the embodiment that the aspect of each picture group in destination multimedia file is identical with the picture group 300 of Fig. 3, a bi-directional predictive coding picture between latter two prediction encoded picture 307 and 310 in each picture group 300 of destination decoding circuit 125 decodable code destination multimedia file (that is, one of them of bi-directional predictive coding picture 308 and 309), to obtain multiple destination bi-directional predictive coding picture.In the present embodiment, the position of bi-directional predictive coding picture in affiliated picture group 300 of destination decoding circuit 125 institute's decoding in flow process 214, can be identical with the position of bi-directional predictive coding picture in affiliated picture group 300 of source terminal decoding circuit 113 institute's decoding in flow process 204.Such as, if the bi-directional predictive coding picture of source terminal decoding circuit 113 institute's decoding in aforesaid flow process 204, first the bi-directional predictive coding picture 308 between latter two prediction encoded picture 307 and 310 in each picture group 300 of original multimedia file, the then bi-directional predictive coding picture of destination decoding circuit 125 institute's decoding in flow process 214 can be first the bi-directional predictive coding picture 308 between latter two prediction encoded picture 307 and 310 in each picture group 300 of destination multimedia file.Again such as, if the bi-directional predictive coding picture of source terminal decoding circuit 113 institute's decoding in aforesaid flow process 204, second the bi-directional predictive coding picture 309 between latter two prediction encoded picture 307 and 310 in each picture group 300 of original multimedia file, the then bi-directional predictive coding picture of destination decoding circuit 125 institute's decoding in flow process 214 can be second the bi-directional predictive coding picture 309 between latter two prediction encoded picture 307 and 310 in each picture group 300 of destination multimedia file.
In the embodiment that the aspect of each picture group in destination multimedia file is identical with the picture group 400 of Fig. 4, destination decoding circuit 125 can in flow process 214 decoding destination multimedia file each picture group 400 in a bi-directional predictive coding picture between latter two prediction encoded picture 410 and 413 (that is, one of them of bi-directional predictive coding picture 411 and 412), to obtain multiple destination bi-directional predictive coding picture.In the present embodiment, the position of bi-directional predictive coding picture in affiliated picture group 400 of destination decoding circuit 125 institute's decoding in flow process 214, can be identical with the position of bi-directional predictive coding picture in affiliated picture group 400 of source terminal decoding circuit 113 institute's decoding in flow process 204.Such as, if the bi-directional predictive coding picture of source terminal decoding circuit 113 institute's decoding in aforesaid flow process 204, first the bi-directional predictive coding picture 411 between latter two prediction encoded picture 410 and 413 in each picture group 400 of original multimedia file, the then bi-directional predictive coding picture of destination decoding circuit 125 institute's decoding in flow process 214 can be first the bi-directional predictive coding picture 411 between latter two prediction encoded picture 410 and 413 in each picture group 400 of destination multimedia file.Again such as, if the bi-directional predictive coding picture of source terminal decoding circuit 113 institute's decoding in aforesaid flow process 204, second the bi-directional predictive coding picture 412 between latter two prediction encoded picture 410 and 413 in each picture group 400 of original multimedia file, the then bi-directional predictive coding picture of destination decoding circuit 125 institute's decoding in flow process 214 can be second the bi-directional predictive coding picture 412 between latter two prediction encoded picture 410 and 413 in each picture group 400 of destination multimedia file.
Or, destination decoding circuit 125 can in flow process 214 decoding destination multimedia file each picture group in be positioned at last prediction encoded picture after one of them bi-directional predictive coding picture, to obtain multiple destination bi-directional predictive coding picture, and the multiple destination bi-directional predictive coding picture compositions obtained are become this destination representation file.In the embodiment that the aspect of each picture group in destination multimedia file is identical with the picture group 300 of Fig. 3, one of them bi-directional predictive coding picture after last prediction encoded picture 310 in each picture group 300 of destination decoding circuit 125 decodable code destination multimedia file (that is, one of them of bi-directional predictive coding picture 311 and 312), to obtain multiple destination bi-directional predictive coding picture.In the present embodiment, the position of bi-directional predictive coding picture in affiliated picture group 300 of destination decoding circuit 125 institute's decoding in flow process 214, can be identical with the position of bi-directional predictive coding picture in affiliated picture group 300 of source terminal decoding circuit 113 institute's decoding in flow process 204.Such as, if the bi-directional predictive coding picture of source terminal decoding circuit 113 institute's decoding in aforesaid flow process 204, first bi-directional predictive coding picture 311 after last prediction encoded picture 310 in each picture group 300 of original multimedia file, the then bi-directional predictive coding picture of destination decoding circuit 125 institute's decoding in flow process 214 can be first bi-directional predictive coding picture 311 after last prediction encoded picture 310 in each picture group 300 of destination multimedia file.Again such as, if the bi-directional predictive coding picture of source terminal decoding circuit 113 institute's decoding in aforesaid flow process 204, second bi-directional predictive coding picture 312 after last prediction encoded picture 310 in each picture group 300 of original multimedia file, the then bi-directional predictive coding picture of destination decoding circuit 125 institute's decoding in flow process 214 can be second bi-directional predictive coding picture 312 after last prediction encoded picture 310 in each picture group 300 of destination multimedia file.
In the embodiment that the aspect of each picture group in destination multimedia file is identical with the picture group 400 of Fig. 4, destination decoding circuit 125 can in flow process 214 decoding destination multimedia file each picture group 400 in last prediction encoded picture 413 after one of them bi-directional predictive coding picture (that is, one of them of bi-directional predictive coding picture 414 and 415), to obtain multiple destination bi-directional predictive coding picture.In the present embodiment, the position of bi-directional predictive coding picture in affiliated picture group 400 of destination decoding circuit 125 institute's decoding in flow process 214, can be identical with the position of bi-directional predictive coding picture in affiliated picture group 400 of source terminal decoding circuit 113 institute's decoding in flow process 204.Such as, if the bi-directional predictive coding picture of source terminal decoding circuit 113 institute's decoding in aforesaid flow process 204, first bi-directional predictive coding picture 414 after last prediction encoded picture 413 in each picture group 400 of original multimedia file, the then bi-directional predictive coding picture of destination decoding circuit 125 institute's decoding in flow process 214 can be first bi-directional predictive coding picture 414 after last prediction encoded picture 413 in each picture group 400 of destination multimedia file.Again such as, if the bi-directional predictive coding picture of source terminal decoding circuit 113 institute's decoding in aforesaid flow process 204, second bi-directional predictive coding picture 415 after last prediction encoded picture 413 in each picture group 400 of original multimedia file, the then bi-directional predictive coding picture of destination decoding circuit 125 institute's decoding in flow process 214 can be second bi-directional predictive coding picture 415 after last prediction encoded picture 413 in each picture group 400 of destination multimedia file.
In flow process 216, destination counting circuit 127 can carry out aforesaid hash algorithm computing, to produce destination check value to the destination representation file that destination decoding circuit 125 forms.Because destination representation file is only made up of the data of the part bi-directional predictive coding picture in destination multimedia file, so the size of destination representation file can much smaller than the size of destination multimedia file, therefore significantly can reduce destination counting circuit 127 and produce time needed for destination check value.
In flow process 218, the destination check value that destination counting circuit 127 can produce by Comparison Circuit 129 and the source terminal check value that source terminal device 110 provides are compared, to judge whether destination multimedia file conforms to original multimedia file.
In the ordinary course of things, if the data transmission procedure between transfer circuit 117 and receiving circuit 121 does not have mistake to produce, the then destination representation file that forms in flow process 214 of destination decoding circuit 125, in theory can be identical with the source terminal representation file that source terminal decoding circuit 113 forms in flow process 204, and the destination check value that destination counting circuit 127 produces in flow process 216, in theory also can be identical with the source terminal check value that source terminal counting circuit 115 produces in flow process 206.Therefore, when Comparison Circuit 129 finds that destination check value is identical with source terminal check value, Comparison Circuit 129 just can judge that the destination representation file in destination device 120 is identical with the source terminal representation file in source terminal device 110, and then judges that the destination multimedia file in destination device 120 and the original multimedia file in source terminal device 110 are consistent.
Otherwise, when Comparison Circuit 129 finds destination check value and source terminal check value is different, Comparison Circuit 129 just can the destination representation file in destination device 120 and the source terminal representation file difference to some extent in source terminal device 110, so judge the destination multimedia file in destination device 120 and the original multimedia file in source terminal device 110 inconsistent.In the case, Comparison Circuit 129 can indicate destination storage device 123 to be given up by destination multimedia file, and notifies user's upload multimedia file again.
From aforementioned explanation, because source terminal decoding circuit 113 only utilizes the data of the part bi-directional predictive coding picture in original multimedia file to form source terminal representation file, so the size of source terminal representation file can much smaller than the size of original multimedia file, therefore source terminal counting circuit 115 basis source end representation file produces the time needed for source terminal check value, the time needed for source terminal check value can be produced far below the full content according to original multimedia file.On the other hand, because destination decoding circuit 125 only utilizes the data of the part bi-directional predictive coding picture in destination multimedia file to form destination representation file, so the size of destination representation file can much smaller than the size of destination multimedia file, therefore destination counting circuit 127 produces the time needed for destination check value according to destination representation file, the time needed for destination check value can be produced far below the full content according to destination multimedia file.
Therefore, whether significantly can shorten destination device 120 by aforesaid mode to check destination multimedia file and be consistent the required time with the original multimedia file in source terminal device 110, the action that checks making file consistence is no longer the bottleneck of large multi-media file when transmitting and store.
In addition, the data of the aforementioned part bi-directional predictive coding picture utilized in original multimedia file, to form the mode of source terminal representation file, effectively can reduce the multiple source terminal check values produced according to different original multimedia file and to collide the possibility of (collision).Similarly, the data of the aforementioned part bi-directional predictive coding picture utilized in destination multimedia file, to form the mode of destination representation file, also effectively can reduce the possibility that multiple destination check values of producing according to different destination multimedia files collide.
Moreover, because aforesaid destination representation file is made up of the part bi-directional predictive coding picture in destination multimedia file, so the mistake that in other frames in destination multimedia file, coded picture and/or prediction encoded picture produce in transmitting procedure, also nearly all can react in destination representation file, and then cause there are differences between destination check value and source terminal check value.Therefore, the mode of aforementioned generation source terminal check value and destination check value, also can effectively avoid reducing the error detection ability of Comparison Circuit 129 for destination multimedia file.
Some vocabulary is employed to censure specific element in specification and claims.But person of ordinary skill in the field should understand, same element may be called with different nouns.Specification and claims not using the difference of title as the mode of distinguish one element from another, but are used as the benchmark of differentiation with element difference functionally." comprising " mentioned by specification and claims is open term, therefore should be construed to " comprise but be not limited to ".In addition, " couple " and comprise directly any at this and indirectly connect means.Therefore, if describe the first element in literary composition to be coupled to the second element, then represent the first element by being electrically connected or the signal such as wireless transmission, optical delivery connected mode and be directly connected to the second element, or by other elements or connection means indirectly electrically or signal be connected to this second element.
Used herein " and/or " describing mode, comprise the combination in any of cited one of them or multiple project.In addition, unless specialized in specification, otherwise the term of any odd number lattice comprises the connotation of plural lattice all simultaneously.
These are only preferred embodiment of the present invention, all equalizations done according to the claims in the present invention change and modify, and all should belong to covering scope of the present invention.

Claims (15)

1. a multimedia file stocking system, is characterized in that, comprises:
One source terminal device, comprises:
One source terminal storage device, is arranged to storage one original multimedia file;
One source terminal decoding circuit, is coupled to this source terminal storage device, is arranged to the part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of this original multimedia file of decoding, to form a source terminal representation file;
One source terminal counting circuit, is coupled to this source terminal decoding circuit, is arranged to carry out a hash algorithm computing to this source terminal representation file, to produce a source terminal check value; And
One transfer circuit, is coupled to this source terminal storage device and this source terminal counting circuit, is arranged to transmit this source terminal check value and this original multimedia file; And
One destination device, comprises:
One receiving circuit, is configured to receive the data that this transfer circuit transmits, to form a destination multimedia file and to obtain this source terminal check value;
One destination storage device, is coupled to this receiving circuit, is arranged to store this destination multimedia file and this source terminal check value;
One destination decoding circuit, is coupled to this destination storage device, is arranged to the part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of this destination multimedia file of decoding, to form a destination representation file;
One destination counting circuit, is coupled to this destination decoding circuit, is arranged to carry out this hash algorithm computing to this destination representation file, to produce a destination check value; And
One Comparison Circuit, is coupled to this destination storage device and this destination counting circuit, is arranged to this destination check value and this source terminal check value to compare, to judge whether this destination multimedia file conforms to this original multimedia file.
2. multimedia file stocking system as claimed in claim 1, it is characterized in that, one of them bi-directional predictive coding picture in each picture group of this original multimedia file of this source terminal decoding circuit meeting decoding, to obtain multiple source terminal bi-directional predictive coding picture, and the plurality of source terminal bi-directional predictive coding picture composition is become this source terminal representation file, and one of them the bi-directional predictive coding picture in each picture group of this destination multimedia file of this destination decoding circuit meeting decoding, to obtain multiple destination bi-directional predictive coding picture, and the plurality of destination bi-directional predictive coding picture composition is become this destination representation file.
3. multimedia file stocking system as claimed in claim 2, it is characterized in that, this source terminal decoding circuit can a bi-directional predictive coding picture between latter two prediction encoded picture in each picture group of decoding this original multimedia file, to obtain multiple source terminal bi-directional predictive coding picture, and the plurality of source terminal bi-directional predictive coding picture composition is become this source terminal representation file, and this destination decoding circuit can a bi-directional predictive coding picture between latter two prediction encoded picture in each picture group of decoding this destination multimedia file, to obtain multiple destination bi-directional predictive coding picture, and the plurality of destination bi-directional predictive coding picture composition is become this destination representation file.
4. multimedia file stocking system as claimed in claim 2, it is characterized in that, one of them bi-directional predictive coding picture after being positioned at last prediction encoded picture in each picture group of this original multimedia file of this source terminal decoding circuit meeting decoding, to obtain multiple source terminal bi-directional predictive coding picture, and the plurality of source terminal bi-directional predictive coding picture composition is become this source terminal representation file, and one of them the bi-directional predictive coding picture after being positioned at last prediction encoded picture in each picture group of this destination multimedia file of this destination decoding circuit meeting decoding, to obtain multiple destination bi-directional predictive coding picture, and the plurality of destination bi-directional predictive coding picture composition is become this destination representation file.
5. multimedia file stocking system as claimed in claim 1, it is characterized in that, this hash algorithm is message digest algorithm the 5th edition.
6., for the source terminal device in a multimedia file stocking system, it is characterized in that, comprise:
One source terminal storage device, is arranged to storage one original multimedia file;
One source terminal decoding circuit, is coupled to this source terminal storage device, is arranged to the part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of this original multimedia file of decoding, to form a source terminal representation file;
One source terminal counting circuit, is coupled to this source terminal decoding circuit, is arranged to carry out a hash algorithm computing to this source terminal representation file, to produce a source terminal check value; And
One transfer circuit, is coupled to this source terminal storage device and this source terminal counting circuit, is arranged to transmit this source terminal check value and this original multimedia file to the destination device in this multimedia file stocking system.
7. source terminal device as claimed in claim 6, it is characterized in that, one of them bi-directional predictive coding picture in each picture group of this original multimedia file of this source terminal decoding circuit meeting decoding, to obtain multiple source terminal bi-directional predictive coding picture, and the plurality of source terminal bi-directional predictive coding picture composition is become this source terminal representation file.
8. source terminal device as claimed in claim 7, it is characterized in that, this source terminal decoding circuit can a bi-directional predictive coding picture between latter two prediction encoded picture in each picture group of decoding this original multimedia file, to obtain multiple source terminal bi-directional predictive coding picture, and the plurality of source terminal bi-directional predictive coding picture composition is become this source terminal representation file.
9. source terminal device as claimed in claim 7, it is characterized in that, one of them bi-directional predictive coding picture after being positioned at last prediction encoded picture in each picture group of this original multimedia file of this source terminal decoding circuit meeting decoding, to obtain multiple source terminal bi-directional predictive coding picture, and the plurality of source terminal bi-directional predictive coding picture composition is become this source terminal representation file.
10. source terminal device as claimed in claim 6, it is characterized in that, this hash algorithm is message digest algorithm the 5th edition.
11. 1 kinds, for the destination device in a multimedia file stocking system, is characterized in that, comprise:
One receiving circuit, is configured to receive the data that the source terminal device in this multimedia file stocking system transmits, to form a destination multimedia file and to obtain a source terminal check value;
One destination storage device, is coupled to this receiving circuit, is arranged to store this destination multimedia file and this source terminal check value;
One destination decoding circuit, is coupled to this destination storage device, is arranged to the part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of this destination multimedia file of decoding, to form a destination representation file;
One destination counting circuit, is coupled to this destination decoding circuit, is arranged to carry out this hash algorithm computing to this destination representation file, to produce a destination check value; And
One Comparison Circuit, is coupled to this destination storage device and this destination counting circuit, is arranged to this destination check value and this source terminal check value to compare, to judge whether this destination multimedia file conforms to this original multimedia file.
12. as the destination device of claim 11, it is characterized in that, one of them bi-directional predictive coding picture in each picture group of this destination multimedia file of this destination decoding circuit meeting decoding, to obtain multiple destination bi-directional predictive coding picture, and the plurality of destination bi-directional predictive coding picture composition is become this destination representation file.
13. as the destination device of claim 12, it is characterized in that, this destination decoding circuit can a bi-directional predictive coding picture between latter two prediction encoded picture in each picture group of decoding this destination multimedia file, to obtain multiple destination bi-directional predictive coding picture, and the plurality of destination bi-directional predictive coding picture composition is become this destination representation file.
14. as the destination device of claim 12, it is characterized in that, one of them bi-directional predictive coding picture after being positioned at last prediction encoded picture in each picture group of this destination multimedia file of this destination decoding circuit meeting decoding, to obtain multiple destination bi-directional predictive coding picture, and the plurality of destination bi-directional predictive coding picture composition is become this destination representation file.
15. as the destination device of claim 11, and it is characterized in that, this hash algorithm is message digest algorithm the 5th edition.
CN201410295523.3A 2014-06-26 2014-06-26 Multimedia file stocking system and relevant apparatus Active CN105282555B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410295523.3A CN105282555B (en) 2014-06-26 2014-06-26 Multimedia file stocking system and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410295523.3A CN105282555B (en) 2014-06-26 2014-06-26 Multimedia file stocking system and relevant apparatus

Publications (2)

Publication Number Publication Date
CN105282555A true CN105282555A (en) 2016-01-27
CN105282555B CN105282555B (en) 2018-03-30

Family

ID=55150761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410295523.3A Active CN105282555B (en) 2014-06-26 2014-06-26 Multimedia file stocking system and relevant apparatus

Country Status (1)

Country Link
CN (1) CN105282555B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1431622A (en) * 2001-12-28 2003-07-23 佳能株式会社 Image verification system, its appts. and method
CN101976322A (en) * 2010-11-11 2011-02-16 清华大学 Safety metadata management method based on integrality checking
US8676822B2 (en) * 2009-02-06 2014-03-18 Disney Enterprises, Inc. System and method for quality assured media file storage
CN103701842A (en) * 2012-09-27 2014-04-02 腾讯科技(深圳)有限公司 Data transmitting method, data receiving method, server and client
CN103731451A (en) * 2012-10-12 2014-04-16 腾讯科技(深圳)有限公司 Method and system for uploading file

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1431622A (en) * 2001-12-28 2003-07-23 佳能株式会社 Image verification system, its appts. and method
US8676822B2 (en) * 2009-02-06 2014-03-18 Disney Enterprises, Inc. System and method for quality assured media file storage
CN101976322A (en) * 2010-11-11 2011-02-16 清华大学 Safety metadata management method based on integrality checking
CN103701842A (en) * 2012-09-27 2014-04-02 腾讯科技(深圳)有限公司 Data transmitting method, data receiving method, server and client
CN103731451A (en) * 2012-10-12 2014-04-16 腾讯科技(深圳)有限公司 Method and system for uploading file

Also Published As

Publication number Publication date
CN105282555B (en) 2018-03-30

Similar Documents

Publication Publication Date Title
KR101918658B1 (en) Method and apparatus for transmitting/receiving hybrid media content in a multimedia system
US20220141474A1 (en) Network device and error handling
CN103281529B (en) Picture information decoding equipment and method, picture signal encoding apparatus and method
BR112019021593A2 (en) METHOD AND DEVICE FOR ENTHROPIC VIDEO SIGNALS ENCODING AND DECODING
RU2010127308A (en) SYSTEM AND METHOD FOR COMPRESSING INTERACTIVE STREAM VIDEO
CN102833543B (en) Device and method for detecting video coding format of video and audio media files
JP5869047B2 (en) Method for encoding digital video data
US10477239B2 (en) Decoder and encoder and methods for coding of a video sequence
CN105340277A (en) Encoding device, encoding method, transmission device, decoding device, decoding method, and reception device
CN108419041B (en) Video data processing method and device
MX2014013560A (en) Apparatus and method of transmitting and receiving packet in a broadcasting and communication system.
CN104253996A (en) Video data sending and receiving methods, video data sending and receiving devices and video data transmission system
CN104935944A (en) Method and device for coding and decoding video data
CN109982091B (en) Image processing method and device
CN102550035B (en) For the method and apparatus for performing video conference and being encoded to video flowing
US8681860B2 (en) Moving picture compression apparatus and method of controlling operation of same
CN101217553A (en) A media flow random access treatment method
CN109245863B (en) Apparatus and method for transmitting and receiving forward error correction packet
CN105282555A (en) A multi-media file storage system and related devices
CN112333470A (en) FEC (forward error correction) system based on video frame
CN101296166B (en) Method for measuring multimedia data based on index
US9143838B2 (en) Device and method for quality assessment of encrypted streaming media flows
CN102595123B (en) Stripe coding method and device thereof as well as stripe decoding method and device thereof
CN103546745B (en) High-definition low-bit-rate network camera
TWI548266B (en) Multimedia file storage system and related devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant