File transmission method and device

A technology of file transfer and file fragmentation, which is applied in the computer field, can solve the problems that mobile browsers do not support plug-ins, and mobile browsers cannot resume files from breakpoints, so as to optimize browser performance and simplify browser settings Effect

Inactive Publication Date: 2017-02-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides a file transmission method and device to at least solve the technical problem in the related art that the mobile browser cannot implement resume file transfer due to the fact that the mobile browser does not support plug-ins

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 transmission method and device
  • File transmission method and device
  • File transmission method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] According to an embodiment of the present invention, a method embodiment of a file transmission method is provided.

[0030] Optionally, in this embodiment, the above-mentioned file transmission method can be applied to figure 1 In the hardware environment shown by the server 102 and the terminal 104. like figure 1 As shown, the server 102 is connected to the terminal 104 through a network, the network includes but is not limited to: a wide area network, a metropolitan area network or a local area network, and the terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The file transmission method in this embodiment of the present invention may be executed by the server 102 , may also be executed by the terminal 104 , or may be executed jointly by the server 102 and the terminal 104 . Wherein, the terminal 104 may also execute the file transmission method according to the embodiment of the present invention by a client installed on the te...

Embodiment 2

[0083] According to an embodiment of the present invention, a file transmission apparatus for implementing the above-mentioned file transmission method is also provided. Figure 4 is a schematic diagram of an optional file transmission device according to an embodiment of the present invention, such as Figure 4 As shown, the apparatus may include:

[0084] The sending unit 22 is used for the browser to send a file transfer request to the server through the first application interface of the main process, wherein the file transfer request is used to indicate the transfer of a target file to the server, and the target file is obtained by the browser through the first application interface , and the target file is pre-divided into multiple file segments by the second application interface of the browser; the receiving unit 24 is used for the browser to receive the confirmation message sent by the server through the first application interface, wherein the confirmation message is...

Embodiment 3

[0102] According to an embodiment of the present invention, a server or terminal for implementing the above-mentioned file transmission method is also provided.

[0103] Figure 9 is a structural block diagram of a terminal according to an embodiment of the present invention, such as Figure 9 As shown, the terminal may include: one or more (only one shown in the figure) processor 201, a memory 203, and a transmission device 205 (such as the transmission device in the above-mentioned embodiment), such as Figure 9 As shown, the terminal may also include an input and output device 207 .

[0104]The memory 203 can be used to store software programs and modules, such as program instructions / modules corresponding to the file transfer method and device in the embodiment of the present invention, and the processor 201 executes the software programs and modules stored in the memory 203 by running the software programs and modules. This kind of function application and data processi...

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 file transmission method and device. The method comprises the following steps: a browser sends a file transmission request to a server via a first application interface of a host process, the file transmission request is used for indicating transmission of object files to the server, the object files are obtained by the browser via the first application interface, and the object files are divided into a plurality of file segments via a second application interface of the browser beforehand; via the first application interface, the browser receives a confirmation message sent by the server; the confirmation message is used for indicating a first file segment set that exists in the server; the first file segment set comprises file segments, received by the server, among the plurality of file segments; the browser then is used for transmitting the plurality of file segments excluding the first file segment set via the first application interface. The file transmission method and device help solve a technical problem that based on relevant technologies, a browser on a mobile terminal does not support plug-ins and therefore breakpoint resume of files cannot be realized via the browser on the mobile terminal.

Description

technical field [0001] The present invention relates to the field of computers, and in particular, to a file transmission method and device. Background technique [0002] At present, users can upload files through browsers in the following ways: [0003] (1) It is transmitted to the server in the form of a form through the browser File API. This method is compatible with mobile browsers. However, for files with a large amount of data, the pressure on the server interface will increase, and if the file transmission is interrupted, the file needs to be re-uploaded. [0004] (2) Transfer the file to the server through the flash plug-in installed in the browser. In this way, the file can be resumed from a breakpoint, but it cannot transfer files with a large amount of data, and the flash plug-in needs to be installed in the browser. Since the mobile browser does not support the flash plug-in, it will cause browsing on the mobile terminal. The file cannot be resumed from a bre...

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/08
CPCH04L67/06
Inventor 蔡斌姚穗斌
Owner TENCENT TECH (SHENZHEN) 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