Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method and device of mobile terminal of uploading files

A mobile terminal and file technology, applied in the file system, file/folder operation, electrical components, etc., can solve the problems of waste, without reducing the difficulty of uploading, time-consuming and traffic, etc., to improve the success rate and save uploaded files time and save traffic

Inactive Publication Date: 2017-03-22
NUBIA TECHNOLOGY CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of the present invention is to propose a method and device for uploading files by a mobile terminal. Difficulty, and there is a problem of repeated uploads of completed parts, resulting in waste of time spent on uploading and traffic

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
  • Method and device of mobile terminal of uploading files
  • Method and device of mobile terminal of uploading files
  • Method and device of mobile terminal of uploading files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] Such as image 3 As shown, the first embodiment of the present invention proposes a method for a mobile terminal to upload files, including:

[0065] S101, receiving a command to upload a file to a server, and obtaining a file to be uploaded;

[0066] Specifically, when the action of uploading a file is started, the terminal user usually needs to start a file upload command. This command may be a command input through the screen or a command input through voice. After that, get the entire file to be uploaded.

[0067] S102, block the file according to the formula Y=N-X*(n-1), until Y is less than X, wherein N is a set fixed block value, X is a set decrement value, and n is the current block number;

[0068] Specifically, the fixed block value and decrement value are the default settings, or set by the end user, that is, each time a file is uploaded, the uploaded file is first divided into blocks according to the fixed block value, and the fixed block value generally r...

Embodiment 2

[0078] Such as Figure 4 As shown, the second embodiment of the present invention proposes a method for a mobile terminal to upload files, including:

[0079] S201, receiving a command to upload a file to a server, and obtaining a file to be uploaded;

[0080] Specifically, when the action of uploading a file is started, the terminal user usually needs to start a file upload command. This command may be a command input through the screen or a command input through voice. After that, get the entire file to be uploaded.

[0081] In order to improve the speed of users uploading files, the server is separated into a business server and a file server. The server where files are to be uploaded is divided into a business server and a file server, and the uploaded files are directly stored in the file server.

[0082] S202, block the file according to the formula Y=N-X*(n-1), until Y is less than X, wherein N is a set fixed block value, X is a set decreasing value, and n is the curr...

Embodiment 3

[0095] Such as Figure 5 As shown, the third embodiment of the present invention proposes an apparatus for uploading files by a mobile terminal, including: a file acquisition unit 10 , a block unit 20 , and an upload unit 30 .

[0096] The file obtaining unit 10 is configured to receive a command to upload a file to the server, obtain a file to be uploaded, or obtain a file that has not been uploaded successfully after receiving a signal that the file upload fails.

[0097] Specifically, when the action of uploading a file is started, the terminal user usually needs to start a file upload command, which may be a command input through the screen, or a command input through voice. After the file upload command is started, the entire file to be uploaded is obtained, or after the file obtaining unit 10 receives a signal that the file upload fails, the file that has not been successfully uploaded is obtained.

[0098]In order to improve the speed of users uploading files, the serv...

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 present invention discloses a method and device of a mobile terminal of uploading files. The method comprises the steps of receiving a command of uploading a file to a server, obtaining a to-be-uploaded file, and partitioning the file according to a formula Y=N-X*(n-1) until Y is less than X, wherein N is a set fixed partitioning value, X is a set progressive decrease value, n is the current partitioning times; uploading the partitions one by one, detecting whether the uploading is successful, if the situation that all partitions are uploaded successfully, is detected, ending; otherwise partitioning again and uploading the parts of the file that are not uploaded successfully according to the above formula until all of the file is uploaded successfully. According to the present invention, the file uploading success rate of the mobile terminal is improved, the repeated uploading work brought by the uploading failure is reduced, and further the overall time and flow needed to upload the file are saved.

Description

technical field [0001] The invention relates to the technical field of mobile terminals, in particular to a method and device for uploading files by a mobile terminal. Background technique [0002] The mobile network is prone to fluctuations and instability. When a user uploads a large file using a mobile app, if the server processing is slow or the current network signal fluctuates, the file transfer will fail. Assuming that the file size is 8M, and the user fails to transfer to the 5M location, the user will resend the entire file when resending, which is equivalent to wasting the user's traffic. After multiple failures, the user is likely to give up this APP. APP brings user losses. Contents of the invention [0003] The main purpose of the present invention is to propose a method and device for uploading files by a mobile terminal. Difficulty, and there is a problem of repeated uploading of the completed part, resulting in a waste of time spent on uploading and traf...

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/08G06F17/30
CPCG06F16/16G06F16/1752H04L67/06
Inventor 周培园
Owner NUBIA TECHNOLOGY 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
Eureka Blog
Learn More
PatSnap group products