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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com