一种用于对网络传输的数据块进行验证的方法和装置制造方法及图纸

技术编号:4170159 阅读:144 留言:0更新日期:2012-04-11 18:40
本发明专利技术提供了一种用于对网络传输的数据块进行验证的方法和装置。首先,网络服务器端对数据块进行辅助校验,得到一个或多个辅助校验值,并将该一个或多个辅助校验值发送给将要或正在或已经下载该数据块的一个或多个用户设备;然后,用户设备端从网络中获取所述数据块对应的一个或多个辅助校验值,并对该数据块进行重新校验,得到一个或多个本地校验值,最后将所述一个或多个辅助校验值与所述一个或多个本地校验值进行比较,以判断该数据块是否正确。通过采用本发明专利技术的方法和装置,能够对网络传输数据块的正确性进行快速有效地验证,本发明专利技术还特别适用对基于P2P协议的网络传输数据的验证。

A method and apparatus for verifying data blocks transmitted over a network

The present invention provides a method and apparatus for verifying data blocks transmitted over a network. First of all, the network server aided verification of the data block, by one or more auxiliary check value, and the one or more auxiliary check value will be or is sent to or have to download one or more user equipment of the data block; then, the user terminal equipment access to one or more a check of the data block corresponding value from the network, and re verification of the data block, get one or more local check value, finally will be the one or more auxiliary check value is compared with the one or more local check value, to determine the data block whether it is right. By adopting the method and the device of the invention, the correctness of the network transmission data block can be quickly and effectively verified, and the invention is especially suitable for the authentication of the network transmission data based on the P2P protocol.

【技术实现步骤摘要】

【技术保护点】
一种在用户设备中用于验证从网络中下载的数据块的验证方法,其中,包括如下步骤: A.从网络中获取所述数据块对应的一个或多个校验值,并且对该数据块进行校验,得到一个或多个本地校验值; B.将所述一个或多个校验值与所述一个或多个本地校 验值进行比较, -如所述一个或多个校验值与所述一个或多个本地校验值相对应或相同,则判断该数据块为正确的数据块。

【技术特征摘要】

【专利技术属性】
技术研发人员:张少华
申请(专利权)人:突触计算机系统上海有限公司
类型:发明
国别省市:31[中国|上海]

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1