CN103067790B - A kind of data verification system being applied to peer-to-peer network and method - Google Patents

A kind of data verification system being applied to peer-to-peer network and method Download PDF

Info

Publication number
CN103067790B
CN103067790B CN201210588266.3A CN201210588266A CN103067790B CN 103067790 B CN103067790 B CN 103067790B CN 201210588266 A CN201210588266 A CN 201210588266A CN 103067790 B CN103067790 B CN 103067790B
Authority
CN
China
Prior art keywords
client
data
files
peer
stream media
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.)
Expired - Fee Related
Application number
CN201210588266.3A
Other languages
Chinese (zh)
Other versions
CN103067790A (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.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing 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 LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201210588266.3A priority Critical patent/CN103067790B/en
Publication of CN103067790A publication Critical patent/CN103067790A/en
Application granted granted Critical
Publication of CN103067790B publication Critical patent/CN103067790B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides the system and method for a kind of data check being applied to peer-to-peer network.The files in stream media of stream medium data source server is divided into some unit sections by fixed size by data verification server, calculates the check value of per unit section and is stored in checklist.Client sends to other client and utilizes before data the checklist from verification server request to verify by the data of transmission, if verifying qualified, sending this data, otherwise, not sending.When client utilizes when receiving the data that other client sends the checklist from verification server request that the data received are verified, if verifying qualified, receiving this data, otherwise, not receiving.The invention solves the Issues of data-verifying in peer-to-peer network, data check process is simply effective.

Description

A kind of data verification system being applied to peer-to-peer network and method
Technical field
The present invention relates to a kind of data verification system being applied to peer-to-peer network and method, belong to multiple crossing domains such as computer network, Streaming Media, Video processing.
Background technology
Along with peer-to-peer network (Peer-to-PeerNetwork;Hereinafter referred to as P2P network) development of communication technology, P2P Technology of Network Streaming Media is widely applied.Share and the quick routing engine of P2P network are made as spectators and provide good streaming media video viewing experience.
But in P2P network, being easily subject to data and forge in data distribution procedure among the nodes, this provides for some internet worm and better invades chance.Additionally, due to the number of nodes participating in P2P is very big, in network, the node geo-location of Logic adjacent is likely to a good distance off, the ability of each node defence virus is different again, therefore involving scope by the virus of P2P Systematic Communication big, broad covered area, the loss caused also can be very big.Ensure that stream medium data transmits in P2P network complete and correct, it is possible to add data check means.
The method of calibration that Streaming Media is conventional in P2P network is CRC32 check addition.Described CRC and CRC (CyclicRedundancyCheck): be a kind of error check code the most frequently used in data communication field, is characterized in that the length of information field and check field can be arbitrarily selected.The ultimate principle of CRC (CRC) is: splice the check code of R position after the information code of K position again, and whole code length is N position, and therefore, this coding is again (N, K) code.For given (N, a K) code, it is possible to prove that there is a most high math power is multinomial G (x) of N-K=R.The check code of K position information can be generated according to G (x), and G (x) is called the generator polynomial of this CRC code.The concrete generation process of check code is: assume that transmission information message polynomial C (X) represents, C (x) is moved to left R position, then can being expressed as the R power of C (x) * 2, R position will be vacated in the right of such C (x), here it is the position of check code.It is exactly check code by the R power of C (x) * 2 divided by generator polynomial G (x) remainder obtained.
Following table lists the CRC32 data of some standards:
Title Generator polynomial Brief note formula * Applicating example
CRC-32c x32+x28+x27+...+x8+x6+1 1EDC6F41 SCTP(STREAM CONTROL TRANSMISSION PROTOCOL SCTP)
Here mainly discuss how that addition verification means ensure that stream medium data transmits in P2P network complete and correct.
Summary of the invention
The application proposes a kind of data verification system being applied to peer-to-peer network and method, this system is arranged to work as client and before other clients transmission data, the data that will send is verified, when the data received are verified by client when receiving the data that other client sends.For this, the present invention proposes techniques below scheme:
A kind of data verification system being applied to peer-to-peer network at least includes: stream medium data source server, one or more client, a data verification server, wherein,
The function of stream medium data source server is for stored stream media data;
Data verification server has two functions:
A1, for the files in stream media of described stream medium data source server is divided into some unit sections by fixed size, calculate the CRC32 check value of per unit section and be stored in checklist;
A2, for receive described client request after by this client needed for checklist be sent to this client;
Client has four functions:
B1, for playing stream media file;
B2, for sending the request of a checklist wishing to get the files in stream media that this client is being play to described data verification server and receiving described checklist;
B3, for receiving a certain unit section of the files in stream media from other client, calculate this section of files in stream media received CRC32 check value and and described checklist in the check value phase comparison of same flow media file unit section.
B4, for send a certain unit section of files in stream media to other client before, calculate the CRC32 check value of this section of files in stream media to send and with the check value phase comparison of same flow media file unit section in described checklist.
The present invention further provides a kind of data verification method being applied to peer-to-peer network and include following preferred steps:
A, when client play certain files in stream media time, this client to data verification server send a checklist wishing to get the files in stream media that this client is being play request;
B, data verification server receive described client request after by this client needed for checklist be sent to this client;
C, described client when receiving from a certain unit section of the files in stream media of other client, calculate the check value of this section of files in stream media received and and described checklist in the check value phase comparison of same flow media file unit section.
D, described client before a certain unit section sending files in stream media to other client, calculate the check value of this section of files in stream media to send and with the check value phase comparison of same flow media file unit section in described checklist.
Preferably, above-mentioned client is the one in smart mobile phone, desktop computer (Desktop), computer all-in-one machine, notebook computer, palm PC (PAD), panel computer, embedded computer or combination
Preferably, above-mentioned checklist is XML file, and this checklist element includes: unit segment number, unit section starting position, unit section end position, unit section CRC32 check code.
Preferably, described unit section is preferably sized to 1048576 bytes (i.e. 1M).Certainly this value arranges voluntarily reached optimal effectiveness also dependent on actual network and server conditions, for instance: may be configured as 128k, 256k, 512k, 2M etc..
Preferably, above-mentioned client is when receiving from a certain unit section of the files in stream media of other client, first calculate this section of files in stream media CRC32 value and and above-mentioned checklist in the check value phase comparison of same flow media file unit section, if described two values are equal, receive this section of files in stream media, otherwise, do not receive.
Preferably, above-mentioned client is before a certain unit section sending files in stream media to other client, first calculate this section of files in stream media CRC32 value and and above-mentioned checklist in the check value phase comparison of same flow media file unit section, if described two values are equal, send this section of files in stream media, otherwise, do not send.
Preferably, the request of above-mentioned client sends with http form, and request content includes the xml document name for recording all unit section CRC32 values of described files in stream media preserved in data verification server;And preserve the video address of this files in stream media, the i.e. dispatch address of video file.
Preferably, after above-mentioned data verification server receives the request that client is sent, if there is generated checklist in this server local, then it is immediately sent to client, otherwise, then open the connection that Glycine tomentella goes CDN to fetch data according to the video file dispatch address that client provides, be then sent to client when obtaining first files in stream media unit Duan Shihui check value calculating this unit section.
Preferably, when described data verification server is from the CDN data obtained, also comprise a data check process, the data that data verification server sends to CDN server increase a CRC32 data check layer, for the CDN data flowed out are carried out unidirectional verification.
Accompanying drawing explanation
Accompanying drawing 1 is the data verification system being applied to peer-to-peer network according to a preferred embodiment of the present invention.
Accompanying drawing 2 is the data verification system being applied to peer-to-peer network of another preferred embodiment according to the present invention.
Accompanying drawing 3 is the schematic diagram that the client of the data verification system being applied to peer-to-peer network according to the present invention is connected with data verification server by load equalizer.
Detailed description of the invention
Below in conjunction with accompanying drawing with preferred embodiment the present invention is described in further detail.In claim, in constitutive requirements and embodiment, corresponding relation between instantiation can be exemplified below.Here description is intended to confirm to describe in an embodiment for supporting the instantiation of theme stated in the claims, owing to describing example in an embodiment, it is not intended to this instantiation does not indicate that constitutive requirements.Even if on the contrary, contain the instantiation element characteristic as corresponding constitutive requirements at this, not meaning that this instantiation does not indicate that other constitutive requirements any yet.
All refer in the claims additionally, description here does not mean that corresponding to all themes of the instantiation of statement in embodiment.In other words, this entity is not denied in description here, the instantiation that namely corresponding embodiment comprises, but is not included in its any one claim, i.e. can revise afterwards by division the entity being likely to invent applying for or increase.
Should be noted that " system " here means that the process being made up of two or more equipment.
It should be evident that user terminal can be made up of personal computer.Additionally, described user terminal can also by such as cell phone, other PDA(personal digital assistant any) instrument, AV(audio frequency and video) the CE(consumer-elcetronics devices of device, such as home electric (household electricity gasification) equipment) etc. constitute.
" network " means to be at least connected with the mechanism of two equipment, and wherein, an information can be sent to another equipment from an equipment.The equipment setting up communication via network can be separated from one another, it is also possible to is the internal module constituting a machine.
" communication " can represent radio communication and wire communication.However, it is also possible to be hybrid wireless and the communicating of wire communication, more specifically, take radio communication to take the communication of wire communication at another section at certain section.Equally, it it is also possible that communication: be wired from an equipment to the communication of another equipment, and rightabout communication be wireless.
Embodiment 1
As it is shown in figure 1, in the P2P network platform, the present invention relates to and with this relevant component be: stream medium data source server, client, data verification server.
Data verification server is that two-shipper is mutually for server and principal and subordinate each other.Stream medium data source server is the server for storing FLV format movie.Client is a desktop computer and a notebook computer.In the present embodiment, there are three class entities to connect, be that desktop computer passes through machine room internal network devices connection to stream medium data source server by the connection of Internet, desktop computer and/or notebook by Internet to the connection of data verification server, data verification server with notebook computer respectively.
Data verification server, for the FLV format movie that above-mentioned stream medium data source server stores is divided into some unit sections by fixed size, calculates the CRC32 check value of per unit section and is stored in checklist.Described unit section size is repeatedly tested through inventor, and when per unit section is set to 1M, that verifies and transmit is most effective.In the present embodiment, " transformer 3 trailer " film is sized to 20M, this film is divided into some unit sections with every section of 1M size by data verification server, described some unit sections are numbered by data verification server afterwards, and the CRC32 code of this unit section is obtained according to the data message code of described unit section, therefore, " transformer 3 trailer " film is divided into 20 sections, and program data is numbered 1-20.Data verification server forms checklist according to described unit segment number and described unit section check code afterwards, and checklist element includes: unit segment number, unit section starting position, unit section end position, unit section CRC32 check code, and checklist form is as follows:
<clips>
<clip>
<id>1</id>
<begin>0</begin>
<end>1048576</end>
<CRC32>0x77073096</CRC32>
</clip>
<clip>
<id>2</id>
<begin>1048577</begin>
<end>2091753</end>
<CRC32>0xee0e612c</CRC32>
</clip>
………………………
</clips>
In the present embodiment, above-mentioned desktop computer and notebook are all in viewing " transformer 3 trailer ", then described desktop computer and/or notebook send a request wishing to get " transformer 3 trailer " checklist to data verification server.This request sends with http form, and request content includes the xml document name for recording described " transformer 3 trailer " all unit section CRC32 values preserved in data verification server;And preserve the video address being somebody's turn to do " transformer 3 trailer ", the i.e. dispatch address of video file, its preferred format is as follows:
Get/{ $ name}.xml&url={ $ URL}, wherein { $ name}.xml is checklist filename, and { $ URL} is video file dispatch address.
After the request that above-mentioned data verification server receives above-mentioned notebook and/or desktop computer is sent, if there is generated checklist in this server local, then it is immediately sent to notebook and/or desktop computer, otherwise, the video file dispatch address that then opening Glycine tomentella provides according to notebook and/or desktop computer goes the CDN connection fetched data, and is then sent to notebook and/or desktop computer when obtaining first files in stream media unit Duan Shihui check value calculating this unit section.Described CDN(ContentDeliveryNetwork, i.e. internet content delivery network) being mined massively by WEB server is taken the strategy (such as: according in geographic basis, network load condition, content type or combine the strategy formulated) pre-defined data can be distributed at server rank real-time transparent, such client can ask the data of oneself needs to any one data source in CDN, and can be rapidly obtained.
Simultaneously in P2P network, above-mentioned desktop computer and notebook certainly will send the common required unit section watching film mutually.When notebook before sending certain unit segment data to desktop computer, first calculate this unit section CRC32 value and and above-mentioned checklist in the check value phase comparison of same unit section, if described two values are equal, send this segment data, otherwise, do not send.When desktop computer receives from a certain unit section of notebook, first calculate this unit section CRC32 value and with the check value phase comparison of same unit section in above-mentioned checklist, if described two values are equal, receive this segment data, otherwise, do not receive.Such as, before notebook sends, to desktop computer, the unit segment data that unit segment number is 1, the CRC32 check code that notebook calculates this unit section according to the data message yardage of described unit segment data is 0x77073096, and in notebook traversal checklist, reference numeral is the check code of the unit segment data of 1 is 0x77073096, now notebook assert that this unit segment data is not tampered with and sends this data;And when above-mentioned desktop computer receive again notebook sent the unit segment data that unit segment number is 1 time, the CRC32 check code that desktop computer calculates this unit section according to the data message yardage of described unit segment data is 0x2d02ef8d, and in desktop computer traversal checklist, reference numeral is the check code of unit segment data of 1 is 0x77073096, now notebook is assert that this unit segment data has been tampered thus rejecting this unit segment data.
Embodiment 2
As in figure 2 it is shown, in the P2P network platform, the present invention relates to and with this relevant component be: stream medium data source server, client, data verification server.
Data verification server is that two-shipper is mutually for server and configure a standby host.Stream medium data source server is the server for stored stream media file.Client is a desktop computer and a smart mobile phone.In the present embodiment, there are three class entities to connect, be that desktop computer passes through machine room internal network devices connection to stream medium data source server by the connection of Internet, desktop computer and/or smart mobile phone by Internet to the connection of data verification server, data verification server with smart mobile phone respectively.
Data verification server, for the files in stream media that above-mentioned stream medium data source server stores is divided into some unit sections by fixed size, calculates the CRC32 check value of per unit section and is stored in checklist.Described unit section size is repeatedly tested through inventor, and when per unit section is set to 1M, that verifies and transmit is most effective.In the present embodiment, " Kung Fu Panda 3 trailer " film is sized to 20M, this film is divided into some unit sections with every section of 2M size by data verification server, described some unit sections are numbered by data verification server afterwards, and the CRC32 code of this unit section is obtained according to the data message code of described unit section, therefore, " Kung Fu Panda 3 trailer " film is divided into 10 sections, and program data is numbered 1-10.Data verification server forms checklist according to described unit segment number and described unit section check code afterwards, and checklist element includes: unit segment number, unit section starting position, unit section end position, unit section CRC32 check code, and checklist form is as follows:
<clips>
<clip>
<id>1</id>
<begin>0</begin>
<end>1048576</end>
<CRC32>0x77073096</CRC32>
</clip>
<clip>
<id>2</id>
<begin>1048577</begin>
<end>2091753</end>
<CRC32>0x2d02ef8d</CRC32>
</clip>
………………………
</clips>
In the present embodiment, above-mentioned desktop computer and smart mobile phone are all in viewing " Kung Fu Panda 3 trailer ", then described desktop computer and/or smart mobile phone send a request wishing to get " Kung Fu Panda 3 trailer " checklist to data verification server.This request sends with http form, and request content includes the xml document name for recording described " Kung Fu Panda 3 trailer " all unit section CRC32 values preserved in data verification server;And preserve the video address being somebody's turn to do " Kung Fu Panda 3 trailer ", the i.e. dispatch address of video file, its preferred format is as follows:
Get/{ $ name}.xml&url={ $ URL}, wherein { $ name}.xml is checklist filename, and { $ URL} is video file dispatch address.
After the request that above-mentioned data verification server receives above-mentioned desktop computer and/or smart mobile phone is sent, if there is generated checklist in this server local, then it is immediately sent to desktop computer and/or smart mobile phone, otherwise, the video file dispatch address that then opening Glycine tomentella provides according to desktop computer and/or smart mobile phone goes the CDN connection fetched data, and is then sent to desktop computer and/or smart mobile phone when obtaining first files in stream media unit Duan Shihui check value calculating this unit section.Described CDN(ContentDeliveryNetwork, i.e. internet content delivery network) being mined massively by WEB server is taken the strategy (such as: according in geographic basis, network load condition, content type or combine the strategy formulated) pre-defined data can be distributed at server rank real-time transparent, such client can ask the data of oneself needs to any one data source in CDN, and can be rapidly obtained.
Simultaneously in P2P network, above-mentioned desktop computer and smart mobile phone certainly will send the common required unit section watching film mutually.When smart mobile phone before sending certain unit segment data to desktop computer, first calculate this unit section CRC32 value and and above-mentioned checklist in the check value phase comparison of same unit section, if described two values are equal, send this segment data, otherwise, do not send.When desktop computer receives from a certain unit section of smart mobile phone, first calculate this unit section CRC32 value and with the check value phase comparison of same unit section in above-mentioned checklist, if described two values are equal, receive this segment data, otherwise, do not receive.Such as, before smart mobile phone sends, to desktop computer, the unit segment data that unit segment number is 2, the CRC32 check code that smart mobile phone calculates this unit section according to the data message yardage of described unit segment data is 0x77073096, and in smart mobile phone traversal checklist, reference numeral is the check code of the unit segment data of 2 is 0x2d02ef8d, now smart mobile phone assert that this unit segment data is likely to be tampered and do not send these data.
In above-mentioned two embodiments, also a data check process is comprised when described data verification server is from the CDN data obtained, the data that data verification server sends to CDN server increase a CRC32 data check layer, for the CDN data flowed out are carried out unidirectional verification.
Additionally, such as Fig. 3, in above-mentioned two embodiments, F5 load equalizer can be added in client to the connection of data verification server, described F5 load is a kind of adopt various allocation algorithm that network request is distributed to the available server in a server cluster up according to weighing apparatus, by managing the web data flow entered and increasing the effective network bandwidth, so that client obtains the hardware device of networking experience best as far as possible.
Above-mentioned load equalizer has diversified form, except as the load equalizer on independent meaning, some load equalizer is integrated in switching equipment, it is placed between server and Internet link, this function is then integrated in PC with two pieces of network adapter by some, one piece is connected on Internet, and one piece is connected on the internal network of back-end server group.
In above-mentioned two embodiments, when carrying out verification server updating or system maintenance when needs, according to weighing apparatus, F5 load ensures that stable server exits service to avoid service disruption.After certain station server selected to exit service, any new client will not be assigned to this server.But, it can complete the service to active client by this server.Thus ensure that without the good service interrupted, and simplify the management of server zone.When the server service of intelligence recovers to be applied in service the server restarted, it is to avoid because of emergent flow attack, new server causes that the system failure is very important.So, when new verification server being introduced verification server zone, the flow being assigned to this server will be incrementally increased, until it reaches it is disposal ability completely.Thus not only ensureing that client is when server exits service, also ensure that server is during starting and when application program starts, and all can obtain persistent service simultaneously.
It should be understood that, the accompanying drawing of the present invention and elaboration are by simplifying, only describe for being well understood to the requisite key element of the present invention, for the purpose of clear and concise, eliminate some key elements adopted in common calculation element, system and method, after having read this specification, those skilled in the art are not difficult to find out these elliptical key elements and effect in the present invention thereof.And it will appreciated by the skilled person that these elliptical key elements for realizing the present invention it is also desirable that and/or need.It will be appreciated by those skilled in the art that, present invention comprises each technical scheme directly described in the description, also include the derivative schemes being bonded of each technical scheme directly described by these, even include by the derivative schemes being bonded of each feature constituting these each schemes having been described with.All improvement based on the objective of the present invention both fall within protection scope of the present invention.
Those skilled in the art are not difficult to find out equally, the present invention is improvements over the prior art, it it is the combination these key elements of the prior art carried out for solving the technical problem of existence in prior art, this combination has condensed substantial amounts of creative work, is the crystallization of a large amount of theoretical research of inventor and scientific experiments.Before not reading the present invention, those skilled in the art are clearly each scheme of being not easy to expect the present invention, and after having read this specification, those skilled in the art need not pay creative work again can realize the basic technical scheme of the present invention.

Claims (16)

1. the data verification system being applied to peer-to-peer network, it is characterised in that described data verification system includes: stream medium data source server, client and data verification server, wherein,
The function of stream medium data source server is for stored stream media data;
Data verification server has two functions:
A1, for the files in stream media of described stream medium data source server is divided into some unit sections by fixed size, calculate the check value of per unit section and be stored in checklist;
A2, for receive described client request after by this client needed for checklist be sent to this client;
Client has four functions:
B1, for playing stream media file;
B2, for sending the request of a checklist wishing to get the files in stream media that this client is being play to described data verification server and receiving described checklist;
B3, for receiving a certain unit section of the files in stream media from other client, calculate the check value of this section of files in stream media received and and described checklist in the check value phase comparison of same flow media file unit section, if described two values are equal, receive this segment data, otherwise, do not receive;
B4, for send a certain unit section of files in stream media to other client before, calculate the CRC32 check value of this section of files in stream media to send and with the check value phase comparison of same flow media file unit section in described checklist.
2. it is applied to the data verification system of peer-to-peer network as claimed in claim 1, it is characterised in that described client is mobile phone or PC.
3. it is applied to the data verification system of peer-to-peer network as claimed in claim 1, it is characterised in that described checklist is XML file.
4. the data verification system being applied to peer-to-peer network as described in claim 1 or 3, it is characterised in that described checklist element includes: unit segment number, unit section starting position, unit section end position and unit section CRC32 check value.
5. it is applied to the data verification system of peer-to-peer network as claimed in claim 1, it is characterized in that, the check value of described per unit section is CRC32 check value, the check value of described this section of files in stream media received is CRC32 check value, and in described checklist, the check value of same flow media file unit section is CRC32 check value.
6. it is applied to the data verification system of peer-to-peer network as claimed in claim 1, it is characterised in that described unit section is sized to 1048576 bytes.
7. it is applied to the data verification system of peer-to-peer network as claimed in claim 1, it is characterized in that, described client is when receiving from a certain unit section of the files in stream media of other client, first calculate this section of files in stream media CRC32 value and and described checklist in the check value phase comparison of same flow media file unit section, if described two values are equal, receive this section of files in stream media, otherwise, do not receive.
8. it is applied to the data verification system of peer-to-peer network as claimed in claim 1, it is characterized in that, the request of described client sends with http form, and request content includes the xml document name for recording all unit section CRC32 values of described files in stream media preserved in data verification server;And preserve the video address of this files in stream media, the i.e. dispatch address of video file.
9. it is applied to the data verification system of peer-to-peer network as claimed in claim 1, it is characterized in that, after described data verification server receives the request that client is sent, if there is generated checklist in this server local, then it is immediately sent to client, otherwise, then open the connection that Glycine tomentella goes CDN to fetch data according to the video file dispatch address that client provides, be then sent to client when obtaining first files in stream media unit Duan Shihui check value calculating this unit section.
10. it is applied to the data verification system of peer-to-peer network as claimed in claim 9, it is characterized in that, also a data check process is comprised when described data verification server is from the CDN data obtained, the data that data verification server sends to CDN server increase a CRC32 data check layer, for the CDN data flowed out are carried out unidirectional verification.
11. the data verification method being applied to peer-to-peer network, it is characterised in that comprise the following steps:
A, when client play certain files in stream media time, this client to data verification server send a checklist wishing to get the files in stream media that this client is being play request;
B, data verification server receive described client request after by this client needed for checklist be sent to this client;
C, described client are when receiving from a certain unit section of the files in stream media of other client, calculate the check value of this section of files in stream media received and and described checklist in the check value phase comparison of same flow media file unit section, if described two values are equal, receive this segment data, otherwise, do not receive;
D, described client before a certain unit section sending files in stream media to other client, calculate the check value of this section of files in stream media to send and with the check value phase comparison of same flow media file unit section in described checklist.
12. be applied to the data verification method of peer-to-peer network as claimed in claim 11, it is characterized in that, asking described in step A to send with http form, request content includes the xml document name for recording all unit section CRC32 values of described files in stream media preserved in data verification server;And preserve the video address of this files in stream media, the i.e. dispatch address of video file.
13. be applied to the data verification method of peer-to-peer network as claimed in claim 11, it is characterized in that, after data verification server described in step B receives the request that client is sent, if there is generated checklist in this server local, then it is immediately sent to client, otherwise, then open the connection that Glycine tomentella goes CDN server to fetch data according to the video file dispatch address that client provides, be then sent to client when obtaining first files in stream media unit Duan Shihui check value calculating this unit section.
14. be applied to the data verification method of peer-to-peer network as claimed in claim 13, it is characterized in that, also a data check process is comprised from CDN server during the data that described data verification server obtains, the data that data verification server sends to CDN server increase a CRC32 data check layer, for the CDN data flowed out are carried out unidirectional verification.
15. be applied to the data verification method of peer-to-peer network as claimed in claim 11, it is characterized in that, in described step C, client is when receiving from a certain unit section of the files in stream media of other client, first calculate this section of files in stream media CRC32 value and and described checklist in the check value phase comparison of same flow media file unit section, if described two values are equal, receive this section of files in stream media, otherwise, do not receive.
16. be applied to the data verification method of peer-to-peer network as claimed in claim 11, it is characterized in that, in described step D, client is before a certain unit section sending files in stream media to other client, first calculate this section of files in stream media CRC32 value and and above-mentioned checklist in the check value phase comparison of same flow media file unit section, if described two values are equal, send this section of files in stream media, otherwise, do not send.
CN201210588266.3A 2012-12-31 2012-12-31 A kind of data verification system being applied to peer-to-peer network and method Expired - Fee Related CN103067790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210588266.3A CN103067790B (en) 2012-12-31 2012-12-31 A kind of data verification system being applied to peer-to-peer network and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210588266.3A CN103067790B (en) 2012-12-31 2012-12-31 A kind of data verification system being applied to peer-to-peer network and method

Publications (2)

Publication Number Publication Date
CN103067790A CN103067790A (en) 2013-04-24
CN103067790B true CN103067790B (en) 2016-07-06

Family

ID=48110222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210588266.3A Expired - Fee Related CN103067790B (en) 2012-12-31 2012-12-31 A kind of data verification system being applied to peer-to-peer network and method

Country Status (1)

Country Link
CN (1) CN103067790B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475901A (en) * 2013-09-05 2013-12-25 乐视网信息技术(北京)股份有限公司 Unified-source network video system and network video design method
CN105678163B (en) * 2016-01-01 2018-10-09 广州亦云信息技术有限公司 A kind of data verification method and system
CN110177151A (en) * 2019-06-11 2019-08-27 北京搜狐新动力信息技术有限公司 A kind of Point-to-Point Data Transmission method, system, receiving device and sending device
CN112839003A (en) * 2019-11-22 2021-05-25 上海哔哩哔哩科技有限公司 Data verification method and system
CN112911330A (en) * 2021-02-01 2021-06-04 北京顺谋科技有限公司 Streaming media atomization fingerprint extraction method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852298A (en) * 2005-12-02 2006-10-25 华为技术有限公司 Method for detecting peer-to-peer file sharing programme
CN101079709A (en) * 2006-06-15 2007-11-28 腾讯科技(深圳)有限公司 Single-node-to-multi-node concurrent download system and method
EP2273759A1 (en) * 2009-06-24 2011-01-12 Alcatel Lucent Optimised data replication in peer-to-peer networks
CN102255695A (en) * 2011-07-22 2011-11-23 乐视网信息技术(北京)股份有限公司 Data check method and system applied to peer-to-peer (p2p) network delivery system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8194681B2 (en) * 2006-05-23 2012-06-05 Core Wireless Licensing S. á.r. l. Bridging between AD HOC local networks and internet-based peer-to-peer networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852298A (en) * 2005-12-02 2006-10-25 华为技术有限公司 Method for detecting peer-to-peer file sharing programme
CN101079709A (en) * 2006-06-15 2007-11-28 腾讯科技(深圳)有限公司 Single-node-to-multi-node concurrent download system and method
EP2273759A1 (en) * 2009-06-24 2011-01-12 Alcatel Lucent Optimised data replication in peer-to-peer networks
CN102255695A (en) * 2011-07-22 2011-11-23 乐视网信息技术(北京)股份有限公司 Data check method and system applied to peer-to-peer (p2p) network delivery system

Also Published As

Publication number Publication date
CN103067790A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN103067790B (en) A kind of data verification system being applied to peer-to-peer network and method
CN106797563B (en) Certification and authorization message for adaptive stream media based on token signaling and interact
US9537737B2 (en) Consolidated performance metric analysis
CN101014083A (en) Network TV terminal and information server system thereof
CN104333818A (en) Splicing method and splicing system for HTTP real-time streaming media fragment
CN102630378A (en) Individualized data communication on the basis of a descriptive file
JP2011517224A (en) Broadcast content providing apparatus and method in Internet broadcast system
KR101470111B1 (en) Edge content delivery apparatus and content delivery network for the internet protocol television system
CN106792208A (en) Video preference information processing method, apparatus and system
US20100131989A1 (en) Apparatus and method for managing media content for mobile devices
CN107105316A (en) A kind of advertisement broadcast method and device
CN104185997A (en) System and method for quality of experience aware media search and recommendation with unified portal
CN108668145B (en) Content distribution method and device
CN110677714A (en) Video data downloading method and device, electronic equipment and storage medium
CN105791902A (en) User recommendation method and user recommendation device
CN106713936A (en) Live video matching method and system
CN103079116A (en) Data passive checking system and passive checking method applied to peer-to-peer network
CN101175094B (en) Design method for interactive server integrated with copyright management and its network structure
EP3525472A1 (en) Reception device, transmission device, and data processing method
US20110088074A1 (en) Multimedia Content Distribution Management
Kim et al. View pattern-based adaptive streaming strategy for mobile content delivery services
Huang et al. Budget-aware video crowdsourcing at the cloud-enhanced mobile edge
US9071569B1 (en) System, method, and computer program for content metadata and authorization exchange between content providers and service providers
CN105593837B (en) System and method for delivering content in a content delivery network
CN110519091A (en) Band-width tactics management in self-correcting content delivery network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160706

Termination date: 20161231