File uploading method and device, computer equipment and storage medium

A file and file name technology, applied in the field of file transfer, can solve the problem of low success rate of uploading files, achieve the effect of shortening the time and reducing the failure rate

Pending Publication Date: 2021-06-25
PINGAN YIQIANBAO E COMMERCE CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present invention provides a method, device, computer equipment and storage me

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
  • File uploading method and device, computer equipment and storage medium
  • File uploading method and device, computer equipment and storage medium
  • File uploading method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0033] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0034] It should also be understood that the terminology 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
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a file uploading method and device, computer equipment and a storage medium. The method belongs to the technical field of file transmission, and comprises the following steps: if a file uploading instruction sent by a user is received, sending a file uploading request to an NAS gateway and establishing a channel flow of the uploaded file; then creating a target file at the NAS gateway according to the file uploading request; writing data in the to-be-uploaded file into the target file based on the established channel flow; and sending a preset closing instruction to the NAS gateway, and renaming the target file as the file name to be uploaded by the NAS gateway according to the preset closing instruction. According to the embodiment of the invention, the channel flow is firstly established between the terminal and the NAS gateway, and the data in the to-be-uploaded file is written into the target file created by the NAS gateway while being written into the channel flow based on the established channel flow, so that the data in the to-be-uploaded file does not need to be completely written into the channel flow, the file uploading time can be shortened and the failure rate of file uploading is reduced.

Description

technical field [0001] The present invention relates to the technical field of file transmission, in particular to a method, device, computer equipment and storage medium for uploading files. Background technique [0002] When uploading a file from the terminal to the NAS gateway, if the input channel stream is used to directly upload the file, the entire file will be loaded into the memory, and then sent to the file gateway. In high-concurrency scenarios or when transferring large files, the file gateway is very easy. A memory overflow occurred, which caused the file upload to fail. Contents of the invention [0003] Embodiments of the present invention provide a method, device, computer equipment, and storage medium for uploading files, aiming at solving the problem of low success rate of uploading files in the prior art. [0004] In a first aspect, an embodiment of the present invention provides a method for uploading a file, which includes: [0005] If an instruction...

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
IPC IPC(8): H04L29/08
CPCH04L67/06
Inventor 李嘉杰丁雪丰李竹杨
Owner PINGAN YIQIANBAO E COMMERCE 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