CN105282555B - Multimedia file stocking system and relevant apparatus - Google Patents

Multimedia file stocking system and relevant apparatus Download PDF

Info

Publication number
CN105282555B
CN105282555B CN201410295523.3A CN201410295523A CN105282555B CN 105282555 B CN105282555 B CN 105282555B CN 201410295523 A CN201410295523 A CN 201410295523A CN 105282555 B CN105282555 B CN 105282555B
Authority
CN
China
Prior art keywords
destination
source terminal
picture
predictive coding
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.)
Active
Application number
CN201410295523.3A
Other languages
Chinese (zh)
Other versions
CN105282555A (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 present invention proposes that a kind of multimedia file stocking system includes to related source end device and purpose end device, the source end device:Source terminal storage device, it is arranged to store original multimedia file;Source terminal decoding circuit, it is arranged to decode the part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of original multimedia file, file is represented to form source terminal;Source terminal counting circuit, it is arranged to represent source terminal file progress hash algorithm computing, to produce source terminal check value;And transmitting circuit, it is arranged to transmit source terminal check value and original multimedia file.It is only to be made up of the data of the part bi-directional predictive coding picture in original multimedia file by source terminal represents file, so the size that source terminal represents file can be much smaller than the size of original multimedia file, therefore the time needed for the end device generation source terminal check value of source can be greatly decreased.

Description

Multimedia file stocking system and relevant apparatus
Technical field
The relevant stocking system of the present invention, it is espespecially a kind of effectively to lift the multimedia text for accelerating file to upload and verify speed Part stocking system and relevant apparatus.
Background technology
The reliability of file transmission is all the subject under discussion to receive much concern all the time, because caused by document transmission process Mistake may cause the file received by receiving terminal inconsistent with original document, in turn result in the puzzlement in subsequent treatment.Example Such as, for multimedia data service provide dealer for, check before uploading onto the server with multimedia file afterwards whether It is consistent, is to ensure that one of important key of service quality.
Therefore, traditional multimedia file stocking system is most likely to the complete of the multimedia file before uploading onto the server Portion's content carries out hash algorithm computing, to produce a source terminal check value, and to the multimedia file after uploading onto the server Full content carry out hash algorithm computing, to produce a destination check value.By comparison source terminal check value and destination Check value, multimedia file stocking system are just able to judge whether keep with multimedia file afterwards before uploading onto the server Unanimously.For example, when multimedia file stocking system finds that destination check value is different with source terminal check value, multimedia file Stocking system will judge the multimedia file after uploading onto the server and the initial multimedia text before uploading onto the server Part is inconsistent.In the case, multimedia file stocking system would generally give up the multimedia file uploaded onto the server, And require user's upload multimedia file again.
However, with the continuous progress of multimedia application, the amount of capacity of single multimedia file also has more and more big Trend.In numerous applications, the amount of capacity of single multimedia file has even reached tens of or even hundreds of terabytes The grade of (Terabyte, TB).Hash algorithm computing is carried out to the full content of the multimedia file of this file size grade The required time is considerable, or even has approached the required time that multi-medium data is uploaded onto the server in itself.
, it is clear that tradition checks the running whether multimedia file is consistent and has become large multi-media file and exists Bottleneck when transmission and storage, seriously affect the overall efficiency of multimedia file stocking system.
The content of the invention
In view of this, how efficiently to check and whether kept with multimedia file afterwards before uploading onto the server Unanimously, actually industry has the problem of to be solved.
This specification provides a kind of embodiment of multimedia file stocking system, and it is included:One source end device, comprising: One source terminal storage device, it is arranged to store an original multimedia file;One source terminal decoding circuit, it is coupled to source terminal storage Cryopreservation device, it is arranged to decode the part bi-directional predictive coding in multiple bi-directional predictive coding pictures of the original multimedia file and draws Face, file is represented to form a source terminal;One source terminal counting circuit, the source terminal decoding circuit is coupled to, is arranged to this Source terminal represents file and carries out a hash algorithm computing, to produce a source terminal check value;And a transmitting circuit, it is coupled to this Source terminal storage device and the source terminal counting circuit, are arranged to transmit the source terminal check value and the original multimedia file; And one mesh end device, comprising:One receiving circuit, the data that the transmitting circuit transmits are configured to receive, to form a purpose End multimedia file simultaneously obtains the source terminal check value;One destination storage device, is coupled to the receiving circuit, is arranged to store The destination multimedia file and the source terminal check value;One destination decoding circuit, the destination storage device is coupled to, if The part bi-directional predictive coding picture being set in the multiple bi-directional predictive coding pictures for decoding the destination multimedia file, with group File is represented into a destination;One destination counting circuit, the destination decoding circuit is coupled to, be arranged to the destination generation List file carries out the hash algorithm computing, to produce a destination check value;And a Comparison Circuit, it is coupled to destination storage Cryopreservation device and the destination counting circuit, are arranged to the destination check value being compared with the source terminal check value, to sentence Whether the disconnected destination multimedia file is consistent with the original multimedia file.
This specification separately provides a kind of embodiment for the source end device being used in a multimedia file stocking system, and it is wrapped Contain:One source terminal storage device, it is arranged to store an original multimedia file;One source terminal decoding circuit, is coupled to the source Storage device is held, is arranged to decode the bi-directional predicted volume in part in multiple bi-directional predictive coding pictures of the original multimedia file Code picture, file is represented to form a source terminal;One source terminal counting circuit, the source terminal decoding circuit is coupled to, is arranged to File is represented to the source terminal and carries out a hash algorithm computing, to produce a source terminal check value;And a transmitting circuit, coupling In the source terminal storage device and the source terminal counting circuit, it is arranged to transmit the source terminal check value and initial multimedia text The end device of a mesh in part to the multimedia file stocking system.
This specification separately provides a kind of embodiment for the purpose end device being used in a multimedia file stocking system, and it is wrapped Contain:One receiving circuit, the data that the source end device being configured to receive in the multimedia file stocking system transmits, to be formed One destination multimedia file simultaneously obtains a source terminal check value;One destination storage device, the receiving circuit is coupled to, set Into the storage destination multimedia file and the source terminal check value;One destination decoding circuit, it is coupled to destination storage Device, it is arranged to decode the part bi-directional predictive coding in multiple bi-directional predictive coding pictures of the destination multimedia file and draws Face, file is represented to form a destination;One destination counting circuit, the destination decoding circuit is coupled to, is arranged to this Destination represents file and carries out the hash algorithm computing, to produce a destination check value;And a Comparison Circuit, it is coupled to this Destination storage device and the destination counting circuit, are arranged to be compared the destination check value and the source terminal check value It is right, to judge whether the destination multimedia file is consistent with the original multimedia file.
One of the advantages of above-described embodiment, it is that to represent file be only two-way by the part in original multimedia file to source terminal The data of prediction encoded picture are formed, so the size that source terminal represents file can be much smaller than the big of original multimedia file It is small, therefore the time needed for the end device generation source terminal check value of source can be greatly decreased.
Another advantage of above-described embodiment, it is that to represent file be only double by the part in destination multimedia file to destination Formed to the data of prediction encoded picture, so the size that destination represents file can be much smaller than destination multimedia file Size, therefore the time needed for purpose end device generation destination check value can be greatly decreased.
Other advantages of the present invention will be explained in more detail by the following description and accompanying drawing.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, forms the part of the application, this Shen Schematic description and description please is used to explain 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 end devices
111 source terminal storage devices
113 source terminal decoding circuits
115 source terminal counting circuits
117 transmitting circuits
The end device of 120 mesh
121 receiving circuits
123 destination storage devices
125 destination decoding circuits
127 destination counting circuits
129 Comparison Circuits
202~218 method flows
300th, 400 picture group
301st, 401 inframes coding picture
302、303、305、306、308、309、311、312、402、403、405、406、408、409、411、412、414、 415 bi-directional predictive coding pictures
304th, 307,310,404,407,410,413 prediction encoded picture
Embodiment
Illustrate embodiments of the invention below in conjunction with relevant drawings.In the accompanying drawings, identical label represent it is identical 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 text Part stocking system 100 includes the end device of a source end device (source-end device) 110 and a mesh (destination-end device)120。
In the embodiment in figure 1, source end device 110 includes a source terminal storage device 111, a source terminal decoding circuit 113rd, a source terminal counting circuit 115 and a transmitting circuit 117.Purpose end device 120 includes a receiving circuit 121, a mesh End storage device 123, a destination decoding circuit 125, a destination counting circuit 127 and a Comparison Circuit 129.
In source end device 110, source terminal storage device 111 is arranged to storage and prepares to be uploaded to arrive purpose end device 120 original multimedia file.Source terminal decoding circuit 113 is coupled to source terminal storage device 111, is arranged to only to decode original The data of part picture (picture) in multimedia file, file is represented to form a source terminal.Source terminal counting circuit 115 are coupled to source terminal decoding circuit 113, are arranged to represent source terminal one hash algorithm (Hash of file progress Algorithm) computing, to produce a source terminal check value (source-end check value).Transmitting circuit 117 is coupled to Source terminal storage device 111 and source terminal counting circuit 115, it is arranged to transmit source terminal check value and original multimedia file.
In purpose end device 120, the transmitting circuit 117 that receiving circuit 121 is configured to receive source end device 110 transmits Data, to form a destination multimedia file and obtain the source terminal check value.Destination storage device 123, which is coupled to, to be connect Circuit 121 is received, is arranged to store destination multimedia file and source terminal check value.Destination decoding circuit 125 is coupled to mesh End storage device 123, be arranged to only decoding destination multimedia file multiple bi-directional predictive coding pictures in part draw The data in face, file is represented to form a destination.Destination counting circuit 127 is coupled to the destination decoding circuit 125, if It is set to and file progress hash algorithm computing is represented to destination, produces a destination check value (destination-end check value).Comparison Circuit 129 is coupled to destination storage device 123 and destination counting circuit 127, is arranged to mesh End check value be compared with source terminal check value, with judge destination multimedia file whether with original multimedia file phase Symbol.
In implementation, foregoing transmitting circuit 117 and receiving circuit 121, all cable network interface, wireless network can be used to be situated between Face or the hybrid circuits of foregoing two kinds of interfaces is integrated simultaneously to realize.In other words, transmitting circuit 117 and receiving circuit 121 it Between row data communication can be entered by wire transmission mode, row data communication can also be entered by wireless transmission method.It is in need If, transmitting circuit 117 and/or receiving circuit 121 can also be coupled to extra antenna assembly (not illustrating) and passed with being lifted Power transmission road 117 and/or the signal transmission quality of receiving circuit 121.
In addition, the difference in functionality square in source end device 110 can be realized with different circuits respectively, can also be incorporated into In one single circuit chip.For example, can be by source terminal decoding circuit 113, source terminal counting circuit 115 and transmitting circuit 117 At least within two be incorporated into a single treatment circuit.Similarly, the difference in functionality square in purpose end device 120 can divide Do not realized, can be also incorporated into a single circuit chip with different circuits.For example, receiving circuit 121, destination can be translated Code circuit 125, at least within the two of destination counting circuit 127 and Comparison Circuit 129 are incorporated into a single treatment circuit In.
For the sake of convenient illustrations, other elements and annexation in source end device 110 and purpose end device 120 are simultaneously It is not illustrated in Fig. 1.
Foregoing " hash algorithm " can various be established using hash function formula (Hash function) than original text The algorithm of the smaller check value of part capacity (for example, digest value), such as message digest algorithm.In a preferred embodiment, it is foregoing Hash algorithm refer to message digest algorithm the 5th edition (Message-Digest Algorithm 5).
Collocation Fig. 2 is further illustrated into the function mode of multimedia file stocking system 100 below.
Fig. 2 is the flow chart after the multimedia file storage method of one embodiment of the invention simplifies.In Fig. 2 flow chart In, the flow in the affiliated field of a specific device, that is, represent the flow carried out by the specific device.For example, labeled as " Part in the field of source end device ", represent the flow that source end device 110 is carried out;Labeled as " purpose end device " Part in field, represent the flow that purpose end device 120 is carried out.
, can be first sharp before a specific original multimedia data is uploaded to purpose end device 120 by source end device 110 Flow 202 is carried out with source terminal storage device 111, the initial multimedia to be uploaded to purpose end device 120 is prepared with storage File.
MPEG series standard (the examples that mpeg (Moving Picture Experts Group, MPEG) is formulated Such as MPEG2 and MPEG4) it is by the widely used multimedia compression standard of all circles.Original multimedia file in the present embodiment It is that caused multimedia file is compressed using MPEG series standards.
MPEG series standards define three kinds of picture coding modes, respectively inframe coding (Intra Encoding) mould Formula, predictive coding (Predictive Encoding) pattern and bi-directional predictive coding (Bi-directionally Predictive) pattern.
According to inframe coding picture (Intra coded picture, I-picture) caused by inframe coding mode, it is A kind of picture of absolute coding, so when being encoded or being decoded without necessarily referring to other pictures.According to predictive coding pattern Caused prediction encoded picture (predictive coded picture, P-picture), needs when being encoded or being decoded Previous reference picture (reference picture) on reference time axle.According to double caused by bi-directional predictive coding pattern To prediction encoded picture (bidirectional predictive coded picture, B-picture), carry out coding and The previous reference picture and latter reference picture on time shaft are then needed to refer to during decoding.
Foregoing " reference picture " refers to inframe coding picture or prediction encoded picture.Due to bi-directional predictive coding picture Itself it can not be used to as a reference picture, so being also known as " non-reference picture " (non-reference picture).It is special The reference picture and non-reference picture of fixed number amount can form a picture group (group of picture, GOP), but reference picture and The pattern of rows and columns of non-reference picture in picture group then can be different with different Multimedia Compression modes.
MPEG series standards define many kinds of aspects of picture group, for convenience of explanation for the sake of, below only with Fig. 3 and figure 4 illustrate picture group aspect therein.
Fig. 3 and Fig. 4 is the schematic diagram after the picture group of different embodiments of the invention simplifies.In the fig. 3 embodiment, picture Group 300 is made up of 12 pictures, is sequentially inframe coding picture 301, bi-directional predictive coding picture 302 and 303, prediction volume Code 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 by 15 Individual picture is formed, be sequentially inframe coding picture 401, 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, predictive coding are drawn Face 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 groups can be included in original multimedia file.Therefore, meeting in original multimedia file Include multiple inframes coding picture, multiple prediction encoded pictures and multiple bi-directional predictive coding pictures.
In flow 204, source terminal decoding circuit 113 can only decode the part picture in original multimedia file (picture) data, file is represented with the less source terminal of composing document size.In running, source terminal decoding circuit 113 The part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of original multimedia file can be only decoded, is come with forming Source represents file.
In one embodiment, source terminal decoding circuit 113 can decode its in each picture group of original multimedia file In a bi-directional predictive coding picture, to obtain multiple source terminal bi-directional predictive coding pictures, and by multiple source terminals of acquirement Bi-directional predictive coding picture composition represents file into source terminal.
In implementation, in each picture group of the decodable code original multimedia file of source terminal decoding circuit 113 most latter two A bi-directional predictive coding picture between prediction encoded picture, to obtain multiple source terminal bi-directional predictive coding pictures, and will The multiple source terminal bi-directional predictive coding picture compositions obtained represent file into the source terminal.It is every in original multimedia file In the aspect of one picture group and Fig. 3 identical embodiment of picture group 300, the original more matchmakers of the decodable code of source terminal decoding circuit 113 A bi-directional predictive coding between most latter two prediction encoded picture 307 and 310 in each picture group 300 of body file is drawn Face (that is, one of bi-directional predictive coding picture 308 and 309), to obtain multiple source terminal bi-directional predictive coding pictures. In the aspect of each picture group in original multimedia file and Fig. 4 identical embodiment of picture group 400, source terminal decoding Most latter two prediction encoded picture 410 and 413 in each picture group 400 of the decodable code original multimedia file of circuit 113 it Between a bi-directional predictive coding picture (that is, one of bi-directional predictive coding picture 411 and 412), it is multiple to obtain Source terminal bi-directional predictive coding picture.
Or it is located at last in each picture group of the decodable code original multimedia file of source terminal decoding circuit 113 One of bi-directional predictive coding picture after prediction encoded picture, to obtain multiple source terminal bi-directional predictive coding pictures, And multiple source terminal bi-directional predictive coding picture compositions of acquirement are represented into file into the source terminal.In original multimedia file The aspect of each picture group and Fig. 3 identical embodiment of picture group 300 in, the decodable code of source terminal decoding circuit 113 is original One of them bi-directional predicted volume after last prediction encoded picture 310 in each picture group 300 of multimedia file Code picture (that is, one of bi-directional predictive coding picture 311 and 312), to obtain multiple source terminal bi-directional predictive codings Picture.In the aspect of each picture group in original multimedia file and Fig. 4 identical embodiment of picture group 400, source Hold the decodable code original multimedia file of decoding circuit 113 each picture group 400 in last prediction encoded picture 413 it One of bi-directional predictive coding picture (that is, one of bi-directional predictive coding picture 414 and 415) afterwards, to obtain Multiple source terminal bi-directional predictive coding pictures.
In flow 206, the source terminal that source terminal counting circuit 115 can be formed to source terminal decoding circuit 113 represents File carries out foregoing hash algorithm computing, to produce source terminal check value.It is only by original more because source terminal represents file The data of part bi-directional predictive coding picture in media file are formed, so the size that source terminal represents file can be much smaller than The size of original multimedia file, therefore the time needed for the generation source terminal check value of source terminal counting circuit 115 can be greatly decreased.
In flow 208, transmitting circuit 117 can transmit source terminal check value and original multimedia file to purpose end device 120。
In flow 210, the transmitting circuit of the meeting receipt source of receiving circuit 121 end device 110 of purpose end device 120 117 data transmitted, verified with forming a destination multimedia file and obtaining source terminal caused by source end device 110 Value.
Now, destination storage device 123 can carry out flow 212, to store destination multimedia file and source terminal school Test value.
In flow 214, destination decoding circuit 125 can only decode multiple bi-directional predicted volumes of destination multimedia file The data of part picture in code picture, file is represented to form destination.In running, destination decoding circuit 125 can be only The part bi-directional predictive coding picture in multiple bi-directional predictive coding pictures of destination multimedia file is decoded, to form purpose End represents file.
In one embodiment, destination decoding circuit 125 can be decoded in each picture group of the destination multimedia file One of bi-directional predictive coding picture, to obtain multiple destination bi-directional predictive coding pictures, and by multiple mesh of acquirement End bi-directional predictive coding picture composition represent file into the destination.
In implementation, destination decoding circuit 125 can decode each picture of the destination multimedia file in flow 214 A bi-directional predictive coding picture between most latter two prediction encoded picture in group, it is bi-directional predicted to obtain multiple destinations Picture is encoded, and multiple destination bi-directional predictive coding picture compositions of acquirement are represented into file into the destination.In destination In the aspect of each picture group in multimedia file and Fig. 3 identical embodiment of picture group 300, destination decoding circuit Between most latter two prediction encoded picture 307 and 310 in each picture group 300 of 125 decodable code destination multimedia files A bi-directional predictive coding picture (that is, one of bi-directional predictive coding picture 308 and 309), to obtain multiple mesh End bi-directional predictive coding picture.In the present embodiment, the Two-way that destination decoding circuit 125 is decoded in flow 214 Position of the coding picture in affiliated picture group 300 is surveyed, can be decoded with source terminal decoding circuit 113 in flow 204 Position of the bi-directional predictive coding picture in affiliated picture group 300 is identical.For example, if source terminal decoding circuit 113 is in preceding The bi-directional predictive coding picture decoded in the flow 204 stated, be original multimedia file each picture group 300 in it is last First bi-directional predictive coding picture 308 between two prediction encoded pictures 307 and 310, then destination decoding circuit 125 in The bi-directional predictive coding picture decoded in flow 214, can be destination multimedia file each picture group 300 in it is last First bi-directional predictive coding picture 308 between two prediction encoded pictures 307 and 310.In another example if source terminal decodes The bi-directional predictive coding picture that circuit 113 is decoded in foregoing flow 204, it is each picture group of original multimedia file Second bi-directional predictive coding picture 309 between most latter two prediction encoded picture 307 and 310 in 300, then destination translate The bi-directional predictive coding picture that code circuit 125 is decoded in flow 214, can be each picture group of destination multimedia file Second bi-directional predictive coding picture 309 between most latter two prediction encoded picture 307 and 310 in 300.
In the aspect of each picture group in destination multimedia file and Fig. 4 identical embodiment of picture group 400, Destination decoding circuit 125 can be decoded in flow 214 in each picture group 400 of destination multimedia file most latter two A bi-directional predictive coding picture (that is, bi-directional predictive coding picture 411 and 412 between prediction encoded picture 410 and 413 One of), to obtain multiple destination bi-directional predictive coding pictures.In the present embodiment, destination decoding circuit 125 in Position of the bi-directional predictive coding picture decoded in flow 214 in affiliated picture group 400, can be with source terminal decoding circuit Position of the 113 bi-directional predictive coding pictures decoded in flow 204 in affiliated picture group 400 is identical.If for example, The bi-directional predictive coding picture that source terminal decoding circuit 113 is decoded in foregoing flow 204, is original multimedia file First bi-directional predictive coding picture 411 between most latter two prediction encoded picture 410 and 413 in each picture group 400, The bi-directional predictive coding picture that then destination decoding circuit 125 is decoded in flow 214, can be destination multimedia file First bi-directional predictive coding picture 411 between most latter two prediction encoded picture 410 and 413 in each picture group 400. In another example if the bi-directional predictive coding picture that source terminal decoding circuit 113 is decoded in foregoing flow 204, is original Second between most latter two prediction encoded picture 410 and 413 in each picture group 400 of multimedia file is bi-directional predicted Picture 412 is encoded, then the bi-directional predictive coding picture that destination decoding circuit 125 is decoded in flow 214, can be destination Second between most latter two prediction encoded picture 410 and 413 in each picture group 400 of multimedia file is bi-directional predicted Encode picture 412.
Or destination decoding circuit 125 can be decoded in flow 214 in each picture group of destination multimedia file One of bi-directional predictive coding picture after last prediction encoded picture, to obtain multiple destination Two-ways Coding picture is surveyed, and multiple destination bi-directional predictive coding picture compositions of acquirement are represented into file into the destination.In purpose Hold in the aspect of each picture group and Fig. 3 identical embodiment of picture group 300 in multimedia file, destination decoding circuit After last prediction encoded picture 310 in each picture group 300 of 125 decodable code destination multimedia files wherein One bi-directional predictive coding picture (that is, one of bi-directional predictive coding picture 311 and 312), to obtain multiple purposes Hold bi-directional predictive coding picture.In the present embodiment, what destination decoding circuit 125 was decoded in flow 214 is bi-directional predicted Position of the picture in affiliated picture group 300 is encoded, what can be decoded with source terminal decoding circuit 113 in flow 204 is double It is identical to position of the prediction encoded picture in affiliated picture group 300.For example, if source terminal decoding circuit 113 is in foregoing Flow 204 in the bi-directional predictive coding picture that is decoded, be original multimedia file each picture group 300 in last First bi-directional predictive coding picture 311 after individual prediction encoded picture 310, then destination decoding circuit 125 is in flow 214 Middle decoded bi-directional predictive coding picture, can be destination multimedia file each picture group 300 in last is pre- The first bi-directional predictive coding picture 311 surveyed after coding picture 310.In another example if source terminal decoding circuit 113 is in preceding The bi-directional predictive coding picture decoded in the flow 204 stated, be original multimedia file each picture group 300 in it is last Second bi-directional predictive coding picture 312 after one prediction encoded picture 310, then destination decoding circuit 125 is in flow The bi-directional predictive coding picture decoded in 214, can be destination multimedia file each picture group 300 in last Second bi-directional predictive coding picture 312 after prediction encoded picture 310.
In the aspect of each picture group in destination multimedia file and Fig. 4 identical embodiment of picture group 400, Destination decoding circuit 125 can decode last in each picture group 400 of destination multimedia file in flow 214 One of bi-directional predictive coding picture (that is, bi-directional predictive coding picture 414 and 415 after prediction encoded picture 413 One of them), to obtain multiple destination bi-directional predictive coding pictures.In the present embodiment, destination decoding circuit 125 is in stream Position of the bi-directional predictive coding picture decoded in journey 214 in affiliated picture group 400, can be with source terminal decoding circuit Position of the 113 bi-directional predictive coding pictures decoded in flow 204 in affiliated picture group 400 is identical.If for example, The bi-directional predictive coding picture that source terminal decoding circuit 113 is decoded in foregoing flow 204, is original multimedia file First bi-directional predictive coding picture 414 after last prediction encoded picture 413 in each picture group 400, then mesh The bi-directional predictive coding picture that is decoded in flow 214 of end decoding circuit 125, can be each of destination multimedia file First bi-directional predictive coding picture 414 after last prediction encoded picture 413 in picture group 400.In another example if If the bi-directional predictive coding picture that source terminal decoding circuit 113 is decoded in foregoing flow 204, is original multimedia file Each picture group 400 in last prediction encoded picture 413 after second bi-directional predictive coding picture 415, then The bi-directional predictive coding picture that destination decoding circuit 125 is decoded in flow 214, can be the every of destination multimedia file Second bi-directional predictive coding picture 415 after last prediction encoded picture 413 in one picture group 400.
In flow 216, the destination that destination counting circuit 127 can be formed to destination decoding circuit 125 represents File carries out foregoing hash algorithm computing, to produce destination check value.It is only by destination because destination represents file The data of part bi-directional predictive coding picture in multimedia file are formed, so the size that destination represents file can be remote small In the size of destination multimedia file, therefore destination counting circuit 127 can be greatly decreased and produce needed for destination check value Time.
In flow 218, Comparison Circuit 129 can be by destination check value and source caused by destination counting circuit 127 The source terminal check value that end device 110 provides is compared, to judge whether destination multimedia file is literary with initial multimedia Part is consistent.
In general, if the data transmission procedure between transmitting circuit 117 and receiving circuit 121 produces without mistake Raw, then the destination that destination decoding circuit 125 is formed in flow 214 represents file, can decoded in theory with source terminal It is identical that the source terminal that circuit 113 is formed in flow 204 represents file, and the institute in flow 216 of destination counting circuit 127 Caused destination check value, in theory also can the caused source terminal verification in flow 206 with source terminal counting circuit 115 It is worth identical.Therefore, when Comparison Circuit 129 finds that destination check value is identical with source terminal check value, Comparison Circuit 129 will Judge to represent file and the source terminal in source end device 110 by the destination in purpose end device 120 that to represent file identical, and then Judge that the destination multimedia file in purpose end device 120 keeps one with the original multimedia file in source end device 110 Cause.
Conversely, when Comparison Circuit 129 finds that destination check value is different with source terminal check value, Comparison Circuit 129 is just It can judge to represent file by the destination in purpose end device 120 that with the source terminal in source end device 110 to represent file poor It is different, and then judge the destination multimedia file in purpose end device 120 and the original multimedia file in source end device 110 It is inconsistent.In the case, Comparison Circuit 129 may indicate that destination storage device 123 gives up destination multimedia file, and Notify user's upload multimedia file again.
From preceding description, because source terminal decoding circuit 113 is two-way merely with the part in original multimedia file The data of prediction encoded picture represent file to form source terminal, thus source terminal represent file size can be much smaller than it is original more The size of media file, therefore the basis source end of source terminal counting circuit 115 represents file to produce needed for source terminal check value Time, the full content according to original multimedia file can be far below to produce the time needed for source terminal check value.The opposing party Face, because destination decoding circuit 125 is merely with the data of the part bi-directional predictive coding picture in destination multimedia file Represent file to form destination, thus destination represent file size can be much smaller than destination multimedia file size, Therefore destination counting circuit 127 represents file to produce the time needed for destination check value according to destination, can be far below according to The time needed for destination check value is produced according to the full content of destination multimedia file.
Therefore, by foregoing mode can significantly shorten purpose end device 120 check destination multimedia file whether with Original multimedia file in source end device 110 is consistent the required time so that file consistence checks action not It is bottleneck of the large multi-media file in transmission and storage again.
In addition, the data of the foregoing part bi-directional predictive coding picture using in original multimedia file form source terminal The mode of file is represented, can effectively reduce and occur according to multiple source terminal check values caused by different original multimedia files Collide the possibility of (collision).Similarly, the part bi-directional predictive coding in the foregoing multimedia file using destination is drawn The data in face form the mode that destination represents file, also can effectively reduce and are produced according to different destination multimedia files The possibility that raw multiple destination check values collide.
Furthermore it is by the part bi-directional predictive coding in destination multimedia file because foregoing destination represents file Picture is formed, so other inframes coding picture and/or prediction encoded picture in destination multimedia file are being transmitted across Caused mistake in journey, also can nearly all react in destination represents file, and then cause destination check value and source Had differences between the check value of end.Therefore, the foregoing mode for producing source terminal check value and destination check value, also can effectively keep away Exempt to reduce error detection ability of the Comparison Circuit 129 for destination multimedia file.
Some vocabulary has been used in specification and claims to censure specific element.However, affiliated technology neck The technical staff in domain is, it is to be appreciated that same element may be called with different nouns.Specification and claims are simultaneously In a manner of not using the difference of title as differentiation element, but it is used as the benchmark of differentiation with the difference of element functionally. "comprising" mentioned by specification and claims is open term, therefore should be construed to " include but be not limited to ".Separately Outside, " coupling " is herein comprising any direct and indirect connection means.Therefore, if the element of described in the text first is coupled to second yuan Part, then represent the first element can by being electrically connected with or being wirelessly transferred, the signal connected mode such as optical delivery is directly connected In the second element, or by other elements or connection means, electrical or signal is connected to second element indirectly.
It is used herein " and/or " describing mode, include any group of one of cited or multiple projects Close.In addition, unless being specialized in specification, otherwise the term of any odd number lattice all includes the connotation of plural lattice simultaneously.
It these are only presently preferred embodiments of the present invention, all equivalent changes and modifications done according to the claims in the present invention, all The covering scope of the present invention should be belonged to.

Claims (15)

1. a kind of multimedia file stocking system, it is characterised in that include:
One source end device, comprising:
One source terminal storage device, it is arranged to store an original multimedia file;
One source terminal decoding circuit, the source terminal storage device is coupled to, is arranged to decode the multiple of the original multimedia file Part bi-directional predictive coding picture in bi-directional predictive coding picture, file is represented to form a source terminal;
One source terminal counting circuit, the source terminal decoding circuit is coupled to, is arranged to represent the source terminal Kazakhstan of file progress one Uncommon algorithm computing, to produce a source terminal check value;And
One transmitting circuit, the source terminal storage device and the source terminal counting circuit are coupled to, are arranged to transmit the source terminal school Test value and the original multimedia file;And
The end device of one mesh, comprising:
One receiving circuit, the data that the transmitting circuit transmits are configured to receive, to form a destination multimedia file and obtain The source terminal check value;
One destination storage device, is coupled to the receiving circuit, is arranged to store the destination multimedia file and the source terminal Check value;
One destination decoding circuit, the destination storage device is coupled to, is arranged to decode the more of the destination multimedia file Part bi-directional predictive coding picture in individual bi-directional predictive coding picture, file is represented to form a destination, wherein, the purpose Position of the bi-directional predictive coding picture that end decoding circuit is decoded in affiliated picture group, can be with the source terminal decoding circuit Position of the bi-directional predictive coding picture decoded in affiliated picture group is identical;
One destination counting circuit, the destination decoding circuit is coupled to, is arranged to represent the destination file and carries out the Kazakhstan Uncommon algorithm computing, to produce a destination check value;And
One Comparison Circuit, the destination storage device and the destination counting circuit are coupled to, are arranged to verify the destination Value is compared with the source terminal check value, with judge the destination multimedia file whether with the original multimedia file phase Symbol.
2. multimedia file stocking system as claimed in claim 1, it is characterised in that it is original that the source terminal decoding circuit can decode this One of bi-directional predictive coding picture in each picture group of multimedia file, to obtain the bi-directional predicted volume of multiple source terminals Code picture, and the plurality of source terminal bi-directional predictive coding picture composition is represented into file into the source terminal, and the destination decodes Circuit can decode one of bi-directional predictive coding picture in each picture group of the destination multimedia file, more to obtain Individual destination bi-directional predictive coding picture, and the plurality of destination bi-directional predictive coding picture composition is represented into text into the destination Part.
3. multimedia file stocking system as claimed in claim 1, it is characterised in that it is original that the source terminal decoding circuit can decode this A bi-directional predictive coding picture between most latter two prediction encoded picture in each picture group of multimedia file, to take Multiple source terminal bi-directional predictive coding pictures, and by the plurality of source terminal bi-directional predictive coding picture composition into the source terminal generation List file, and the destination decoding circuit can decode most latter two prediction in each picture group of the destination multimedia file A bi-directional predictive coding picture between picture is encoded, to obtain multiple destination bi-directional predictive coding pictures, and this is more Individual destination bi-directional predictive coding picture composition represents file into the destination.
4. multimedia file stocking system as claimed in claim 1, it is characterised in that it is original that the source terminal decoding circuit can decode this The one of bi-directional predictive coding picture being located in each picture group of multimedia file after last prediction encoded picture Face, to obtain multiple source terminal bi-directional predictive coding pictures, and by the plurality of source terminal bi-directional predictive coding picture composition into this Source terminal represents file, and the destination decoding circuit can be decoded and is located at most in each picture group of the destination multimedia file One of bi-directional predictive coding picture after the latter prediction encoded picture, to obtain multiple destination bi-directional predictive codings Picture, and the plurality of destination bi-directional predictive coding picture composition is represented into file into the destination.
5. multimedia file stocking system as claimed in claim 1, it is characterised in that the hash algorithm is message digest algorithm the 5th Version.
6. a kind of source end device being used in a multimedia file stocking system, it is characterised in that include:
One source terminal storage device, it is arranged to store an original multimedia file;
One source terminal decoding circuit, the source terminal storage device is coupled to, is arranged to decode the multiple of the original multimedia file Part bi-directional predictive coding picture in bi-directional predictive coding picture, file is represented to form a source terminal;
One source terminal counting circuit, the source terminal decoding circuit is coupled to, is arranged to represent the source terminal Kazakhstan of file progress one Uncommon algorithm computing, to produce a source terminal check value;And
One transmitting circuit, the source terminal storage device and the source terminal counting circuit are coupled to, are arranged to transmit the source terminal school Test value and the end device of the mesh in the original multimedia file to the multimedia file stocking system;
Wherein, the purpose end device includes a destination decoding circuit, is arranged to decode the multiple of a destination multimedia file Part bi-directional predictive coding picture in bi-directional predictive coding picture, file is represented to form a destination, and the source terminal is translated Position of the bi-directional predictive coding picture that code circuit is decoded in affiliated picture group, can be with the mesh in the purpose end device Position of the decoding circuit bi-directional predictive coding picture that is decoded in end in affiliated picture group it is identical.
7. source end device as claimed in claim 6, it is characterised in that the source terminal decoding circuit can decode initial multimedia text One of bi-directional predictive coding picture in each picture group of part, to obtain multiple source terminal bi-directional predictive coding pictures, And the plurality of source terminal bi-directional predictive coding picture composition is represented into file into the source terminal.
8. source end device as claimed in claim 6, it is characterised in that the source terminal decoding circuit can decode initial multimedia text A bi-directional predictive coding picture between most latter two prediction encoded picture in each picture group of part, it is multiple next to obtain Source bi-directional predictive coding picture, and the plurality of source terminal bi-directional predictive coding picture composition is represented into file into the source terminal.
9. source end device as claimed in claim 6, it is characterised in that the source terminal decoding circuit can decode initial multimedia text The one of bi-directional predictive coding picture being located in each picture group of part after last prediction encoded picture, to obtain Multiple source terminal bi-directional predictive coding pictures, and the plurality of source terminal bi-directional predictive coding picture composition is represented into the source terminal File.
10. source end device as claimed in claim 6, it is characterised in that the hash algorithm is message digest algorithm the 5th edition.
11. a kind of purpose end device being used in a multimedia file stocking system, it is characterised in that include:
One receiving circuit, the data that the source end device being configured to receive in the multimedia file stocking system transmits, with shape Into a destination multimedia file and obtain a source terminal check value;
One destination storage device, is coupled to the receiving circuit, is arranged to store the destination multimedia file and the source terminal Check value;
One destination decoding circuit, the destination storage device is coupled to, is arranged to decode the more of the destination multimedia file Part bi-directional predictive coding picture in individual bi-directional predictive coding picture, file is represented to form a destination;
One destination counting circuit, the destination decoding circuit is coupled to, is arranged to represent the destination Kazakhstan of file progress one Uncommon algorithm computing, to produce a destination check value;And
One Comparison Circuit, the destination storage device and the destination counting circuit are coupled to, are arranged to verify the destination Whether value is compared with the source terminal check value, to judge the destination multimedia file with storing in the source end device One original multimedia file is consistent;
Wherein, the source end device includes a source terminal decoding circuit, is arranged to decode the multiple double of the original multimedia file Part bi-directional predictive coding picture into prediction encoded picture, file is represented to form a source terminal, and the destination decodes Position of the bi-directional predictive coding picture that circuit is decoded in affiliated picture group, it can be decoded with the source terminal decoding circuit Position of the bi-directional predictive coding picture in affiliated picture group it is identical.
12. such as the purpose end device of claim 11, it is characterised in that the destination decoding circuit can decode the more matchmakers of the destination One of bi-directional predictive coding picture in each picture group of body file, drawn with obtaining multiple destination bi-directional predictive codings Face, and the plurality of destination bi-directional predictive coding picture composition is represented into file into the destination.
13. such as the purpose end device of claim 11, it is characterised in that the destination decoding circuit can decode the more matchmakers of the destination A bi-directional predictive coding picture between most latter two prediction encoded picture in each picture group of body file is more to obtain Individual destination bi-directional predictive coding picture, and the plurality of destination bi-directional predictive coding picture composition is represented into text into the destination Part.
14. such as the purpose end device of claim 11, it is characterised in that the destination decoding circuit can decode the more matchmakers of the destination The one of bi-directional predictive coding picture being located in each picture group of body file after last prediction encoded picture, with Obtain multiple destination bi-directional predictive coding pictures, and by the plurality of destination bi-directional predictive coding picture composition into the destination Represent file.
15. such as the purpose end device of claim 11, it is characterised in that the 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 CN105282555A (en) 2016-01-27
CN105282555B true 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
CN105282555A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
KR101918658B1 (en) Method and apparatus for transmitting/receiving hybrid media content in a multimedia system
CN109257623B (en) Method for decoding picture and electronic device for decoding picture
CN103281529B (en) Picture information decoding equipment and method, picture signal encoding apparatus and method
CN104704830B (en) File format for video data
KR20140098231A (en) Apparatus and method of transmiting/receiving broadcast data
CN102396221A (en) Support for blocking trick mode operations
CN105340277A (en) Encoding device, encoding method, transmission device, decoding device, decoding method, and reception device
US11818392B2 (en) Decoder and encoder and methods for coding of a video sequence
CN102404578A (en) Multi-channel video transmitting system and method
US20120219066A1 (en) Data substream encapsulation method, de-encapsulation method, and corresponding computer programs
CN105554513A (en) Panoramic video transmission method and system based on H.264
CN103686202A (en) Real-time transcoding transmitting method and system based on HTTP (Hyper Text Transport Protocol) under DLNA (Digital Living Network Alliance)
CN105282555B (en) Multimedia file stocking system and relevant apparatus
US20150139338A1 (en) Identifying Leading Pictures in Video Coding
CN104796765A (en) Method and device for extracting SPS (standard positioning services) and PPS (precise positioning services) from H264 frames
CN106063267B (en) Sending device, sending method, reception device and method of reseptance
WO2012095030A1 (en) Slice encoding method and device and slice decoding method and device
KR20130040147A (en) Method configuring and transmitting m-unit
CN104243989A (en) Video encoding and decoding system and video stream transmission method
TW201601526A (en) Multimedia file storage system and related devices
CN112468819A (en) Video image plug flow system and equipment

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