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

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

A distributed file and file technology, applied in the field of model algorithms, can solve problems such as long waiting time for users, data upload errors, etc., achieve the effect of improving processing speed and avoiding transmission errors

Pending Publication Date: 2019-02-19
CHINA PING AN LIFE INSURANCE CO LTD
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The inventors of the present invention found in the research that in the prior art, users who upload big data have to wait too long, and because uploading data is a task of the same thread, when uploading data, it is often disturbed by other operating instructions of the user. There is a problem with data upload errors

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention.

[0068] In some processes described in the specification and claims of the present invention and the above-mentioned drawings, a plurality of operations appearing in a specific order are contained, but it should be clearly understood that these operations may not be performed in the order in which they appear herein Execution or parallel execution, the serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. Additionally, these processes can include more or fewer operations, and these operations can be performed sequentially or in parallel. It should be n...

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 distributed file uploading method, a device, a computer device and a storage medium, comprising the following steps: obtaining an object file to be uploaded; The target file is sliced to form a plurality of slice files; For any one of the plurality of slice files, an upload task thread is generated corresponding to the slice file, and the generated upload task thread is added to the stack queue for asynchronous upload. By slicing the uploaded target file, The large data file is sliced into several slice files, and each slice file is divided into an appropriate size. When uploading, each slice file corresponds to a thread that establishes an upload task. The terminal can avoid transmission error problem caused by other operation instruction interference through asynchronous upload mode. At the same time, the design of multi-thread upload task, when the terminal is a multi-core processor, each core can execute different upload task thread independently, which greatly improves the efficiency of upload.

Description

technical field [0001] Embodiments of the present invention relate to the field of model algorithms, in particular, a distributed file upload method, device, computer equipment, and storage medium. Background technique [0002] Data upload refers to the process of transferring data from one terminal to another terminal or server. With the advent of the information age, the interaction and sharing of data is getting closer and closer. An accompanying problem is that the volume of data transmission is getting larger and larger, and the speed requirements for data transmission are getting higher and higher. [0003] In the prior art, when uploading big data during distributed file upload, the data is serially uploaded as a whole data, and the whole data is segmented into data packets to be uploaded sequentially, and each data packet is uploaded and received The user needs to return a check value to verify whether there is an error in the uploaded data. If an error occurs, the ...

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): G06F16/182G06F16/16
Inventor 徐国强
Owner CHINA PING AN LIFE INSURANCE 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