Distributed file verification method and device, computer device and storage medium

A technology for distributed files and verification methods, applied in the field of computer devices and storage media, distributed file verification methods, and devices, can solve problems such as slow speed, low efficiency, and errors, so as to relieve download pressure and reduce download volume. Effect

Active Publication Date: 2019-07-09
SHENZHEN ONETHING TECH CO LTD
View PDF7 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The main purpose of the present invention is to provide a distributed file verification method, device, computer device, and storage medium, aiming to solve the technical problems of error, slow speed, and low efficiency when obtaining files from CDN nodes under high concurrency, so that Get the correct file quickly under concurrent conditions

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
  • Distributed file verification method and device, computer device and storage medium
  • Distributed file verification method and device, computer device and storage medium
  • Distributed file verification method and device, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] Such as figure 2 As shown, it is a flow chart of the distributed file verification method provided by Embodiment 1 of the present invention. The distributed file verification method specifically includes the following steps. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.

[0062] S20. Receive index information reported by multiple storage nodes, where the index information includes storage node identifiers, file storage addresses, and corresponding check values ​​to be tested.

[0063] In this embodiment, the storage node may download the file from the content distribution network server, and after downloading the file from the content distribution network server, store the downloaded file locally and report the index information to the index server, to indicate that the file was downloaded successfully.

[0064] The index information includes a storage node identifier, a file storage addre...

Embodiment 2

[0100] Such as image 3 As shown, it is a flow chart of the distributed file verification method provided by Embodiment 2 of the present invention. The distributed file verification method specifically includes the following steps. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.

[0101] S31. Report index information to the index server, where the index information includes the storage node identifier, file storage address, and corresponding check value to be tested.

[0102] In this embodiment, the storage node may download the file from the content distribution network server, and after downloading the file from the content distribution network server, store the downloaded file locally and report the index information to the index server to indicate File downloaded successfully.

[0103] In other embodiments, the storage node may also receive the task of downloading the file issued by the index se...

Embodiment 3

[0117] refer to Figure 4 As shown, it is a schematic diagram of the functional modules of the distributed file verification device disclosed in the third embodiment of the present invention.

[0118] In some embodiments, the distributed file verification apparatus 30 runs in a client device. The distributed file verification device 30 may include a plurality of functional modules composed of program code segments. The program codes of the various program segments in the distributed file checking apparatus 30 may be stored in the memory of the client device, and executed by the at least one processor for execution (see figure 2 Description) The verification of distributed files under high concurrency.

[0119] In this embodiment, the distributed file verification device 30 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a sending module 301 , a receiving module 302 , a matching module 303 , a judgm...

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 invention discloses a distributed file verification method, which is applied to an index server, the index server is connected with a plurality of storage nodes, the method comprises the followingsteps: receiving index information reported by the plurality of storage nodes, the index information comprising a storage node identifier, a file storage address and a corresponding to-be-tested verification value; matching a standard verification value from a preset database according to a file storage address in the index information; judging whether the to-be-tested check value is the same asthe standard check value or not; and when the to-be-tested check value is the same as the standard check value, determining that the file downloaded by the storage node is correct. The invention further discloses a distributed file verification device, a computer device and a storage medium, and correct file can be quickly obtained under the condition of high concurrency.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a distributed file verification method, device, computer device and storage medium. Background technique [0002] File live broadcast refers to live broadcast through the Internet and file technology. Live files are usually expressed in the form of video, which integrates rich elements such as images, text, and sound, and has become the mainstream expression form of Internet live broadcast services. [0003] Most of the existing file live streaming technologies are based on Content Delivery Network (CDN). The live broadcast user sends a live broadcast request to the CDN node server, which is a content delivery network server close to the network, and the CDN node server sends the live broadcast request to the CDN node server. to process. [0004] Existing CDNs rely too much on CDN data source servers for content distribution, resulting in heavy burdens on CDN data source...

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): H04L29/08G06F16/182G06F21/64
CPCH04L67/06H04L67/1097G06F21/64
Inventor 王子翔
Owner SHENZHEN ONETHING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products