A Multi-thread Upload Optimization Method Based on Memory Allocation

A memory allocation and multi-threading technology, applied in the field of Internet and memory management, to achieve the effect of improving upload efficiency and server bandwidth utilization, strong universality, and wide use of space

Active Publication Date: 2020-12-22
SOUTH CHINA UNIV OF TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Most of their research is on wireless network scenarios or optimization methods in peer-to-peer networks, without too much research or optimization on business control or I / O stream storage optimization

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
  • A Multi-thread Upload Optimization Method Based on Memory Allocation
  • A Multi-thread Upload Optimization Method Based on Memory Allocation
  • A Multi-thread Upload Optimization Method Based on Memory Allocation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The present invention will be further described below in conjunction with specific examples.

[0039] Such as Figure 1 to Figure 5 As shown, the multi-threaded upload optimization method based on memory allocation provided in this embodiment requires the cooperation of the client and the server. The client performs file fusion after uploading the last piece of file fragmentation, which includes the following steps:

[0040] 1) Obtain the basic data of the current operating user, including upload permission information and space size limit, wherein the basic data refers to the permission information of the user who wants to upload files in the system, the size of the used space, and the limit of the total space size and single file size limit, Table 1 is an example of the basic information of a user test for two different upload locations.

[0041] Table 1. Basic information of user test for two different upload locations

[0042]

[0043] The data in Table 1 indica...

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 multi-thread uploading optimization method based on memory allocation. The method comprises the steps of 1) acquiring basic data of a current operation user; 2) preprocessingan uploading request by utilizing obtained information; 3) judging whether slicing and multi-thread uploading are needed or not according to the size of an uploaded file; 4) storing a temporary fileof the uploaded file in a designated cache position according to a current idle memory condition of a server; 5) recording metadata information of the uploaded file in a database; and 6) writing the temporary file in a cache into a disk position in which the file finally needs to be stored. Starting from two aspects of service logic and server memory management, a client and the server cooperate,so that relatively high uploading success rate is achieved when network conditions are relatively poor; and meanwhile, a breakpoint resume function is supported, so that the uploading speed of the client and the bandwidth utilization rate of the server are improved.

Description

technical field [0001] The invention relates to the technical field of Internet and memory management, in particular to a method for optimizing multi-threaded uploading based on memory allocation. Background technique [0002] In recent years, with the continuous development of mobile Internet technology, more and more enterprises have begun to use cloud services to provide SaaS services. Whether it is a commodity circulation, information content service or social networking enterprise, there is a large amount of data that needs to be uploaded and stored to the cloud server. According to the analysis report of IDC, a market research organization, the total amount of global data in 2017 was 21.6ZB, and the current growth rate of global data is about 40% per year. It is estimated that the total amount of global data will reach 40ZB by 2020. [0003] With the popularization of information-based office and collaborative office and the explosive growth of data, more and more ent...

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 Patents(China)
IPC IPC(8): H04L29/08G06F16/182G06F16/13H04L1/00
CPCH04L1/0061H04L67/06
Inventor 张凌郭超
Owner SOUTH CHINA UNIV OF TECH
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