Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Resource publishing method, resource downloading method and data verification system

A resource release and resource download technology, applied in the field of communications, can solve the problems of low data verification efficiency, no seed file verification, duplication, etc., to avoid duplication, improve efficiency, and ensure correctness.

Inactive Publication Date: 2011-04-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Although the existing data verification method can realize the verification of the downloaded fragment data, it does not verify the seed file. Therefore, when there is an error in the seed file due to problems such as packet loss, the downloaded fragment data When an error occurs, the existing data verification method will still download the corresponding fragment data according to the wrong seed file, and verify the downloaded fragment data, which will lead to the repetition of the data verification process, resulting in data The efficiency of calibration is reduced

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource publishing method, resource downloading method and data verification system
  • Resource publishing method, resource downloading method and data verification system
  • Resource publishing method, resource downloading method and data verification system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] see figure 1 , this embodiment provides a method for publishing resources, and the method flow is as follows:

[0069] 101: Segment the resources to be released according to the sharding rules to obtain multiple shard data;

[0070] 102: Calculate the verification value of each fragmented data, and generate a seed file including the verification value and fragmentation rules of all fragmented data of the resource to be released;

[0071] 103: Calculate the verification value of the seed file, and upload the seed file and the verification value of the seed file.

[0072] The method provided in this embodiment calculates the check value of the seed file after generating the seed file containing the check value of the slice data of the resource to be released and the slice rule, and calculates the check value of the seed file and the check value of the seed file Upload, so that when other terminals download the resources corresponding to the seed file, they can first ver...

Embodiment 2

[0074] This embodiment provides a method for publishing resources. After generating a seed file containing the verification values ​​and fragmentation rules of all fragment data of the resource to be released, the method also calculates the verification value of the seed file. See figure 2 , the specific flow of the resource publishing method provided in this embodiment is as follows:

[0075] 201: Segment the resources to be released according to the sharding rules to obtain multiple shard data;

[0076] Among them, there are various fragmentation rules. Taking the resource to be released with a total size of 1280K as an example, if the fragmentation rule is set to fragment the resource to be released according to the size of 128K, then the resource to be released will be divided according to the fragmentation rule. After sharding, 10 pieces of data will be obtained, that is, the resources to be released are divided into 10 pieces of data. This embodiment does not limit the ...

Embodiment 3

[0085] see image 3 , this embodiment provides a resource download method, the specific method flow is as follows:

[0086] 301: Obtain the seed file of the resource to be downloaded released by the resource release terminal and the check value of the seed file, and the seed file includes the check value and fragmentation rules of all fragment data of the resource to be downloaded;

[0087] 302: Calculate the check value of the seed file, and judge whether the calculated check value of the seed file is consistent with the check value of the obtained seed file;

[0088] 303: If the calculated check value of the seed file is consistent with the check value of the obtained seed file, then download each fragment data of the resource to be downloaded, and according to the fragmentation rules contained in the seed file and each fragment data Check value, to verify the downloaded data of each fragment.

[0089] The method provided in this embodiment, by obtaining the seed file and ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention discloses a resource publishing method, a resource downloading method and a data verification system, which belong to the technical field of communication. The resource publishing method comprises the following steps: fragmenting the resources to be published according to the fragment rule, and obtaining a plurality of fragment data; calculating a verification value of each fragment data, then generating a seed file which includes all verification values of the fragment data and the fragment rule; calculating the verification value of the seed file, and uploading the seed file as well as the verification value of the seed file. When in use, the resource publishing terminal generates a seed file including all verification values of the fragment data and the fragment rule, then calculates the verification value of the seed file, and uploads the seed file as well as the verification value of the seed file, thus, the resource downloading terminal can verify the seed file in advance according to the verification value of the seed file, then download and verify the fragment data in the precondition that the seed file is correct, consequently, the correctness of the download resource is ensured, and the data verification efficiency is also improved.

Description

technical field [0001] The invention relates to the communication field, in particular to a resource publishing method, a resource downloading method and a data checking system. Background technique [0002] With the wide application of the network, people's demand for network resources is increasing. Obtaining network resources directly from other clients has gradually become a commonly used method for people to obtain network resources. However, due to the instability of the client and the complexity of the network environment, the obtained network resource data is likely to be wrong. In order to ensure the obtained The data is correct and reliable, and the data must be verified. [0003] The existing data verification method is as follows: the resource publishing terminal divides the resource to be released into multiple data fragments according to the fragmentation rules, calculates the verification value of each data fragment, and generates a verification code containi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L1/00
Inventor 陈良华
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products