File fragment uploading method and device based on cloud technology, equipment and storage medium

A file fragmentation and cloud technology technology, applied in the field of data transmission, to achieve the effect of convenient upload status

CN111414334APending Publication Date: 2020-07-14PING AN TECH (SHENZHEN) CO LTD
0 Cites 10 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2020-07-14

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses a file fragment uploading method and device based on a cloud technology, equipment and a storage medium, and relates to the technical field of data transmission. The method comprises: receiving an uploading instruction; reading a to-be-uploaded file, and dividing the to-be-uploaded file into a first type file and a second type file; splitting the second type file into a plurality of file fragments; obtaining a first hash value of each to-be-uploaded file; uploading the first type of file through the final slice interface, and uploading a plurality of file slices of the second type of file through the basic slice interface and the final slice interface; and performing hash processing on the uploaded file to obtain a second hash value, and verifyingthrough the first hash value and the second hash value to confirm the integrity of the file. According to the method, the uploading limitation of different terminal devices can be avoided, the functions of synchronously or asynchronously uploading multiple file fragments with different sizes and resuming file breakpoints can be realized, the uploading state of the file can be conveniently recorded, and the integrity of the file can be conveniently verified.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the technical field of data transmission, in particular to a method, device, device and storage medium for uploading files in pieces based on cloud technology. Background technique

[0002] Cloud object storage provides users with safe and reliable customized storage solutions, and its essence is to provide file storage services for registered users. For file uploads, the cloud object storage service in the cloud platform is only responsible for providing two basic upload interfaces, one is the basic fragmentation interface, and the other is the final fragmentation interface. Wherein, the final file interface is used to upload the last file segment in the segmented file, and the basic segment interface is used to upload other file segments in the segmented file except the last file segment.

[0003] For different terminal devices, when using the cloud object storage service in the cloud platform, based on the two mos...

Examples

Embodiment Construction

[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the application are only for the purpose of describing specific embodiments, and are not intended to limit the application.

[0057] It should be noted that the terms "comprising", "comprising" and "having" in the specification and claims of the present application and the above drawings and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or devices. In the claims, description and drawings of this application, re...