CN111314478B - File transmission method and device and computer equipment - Google Patents

File transmission method and device and computer equipment Download PDF

Info

Publication number
CN111314478B
CN111314478B CN202010113727.6A CN202010113727A CN111314478B CN 111314478 B CN111314478 B CN 111314478B CN 202010113727 A CN202010113727 A CN 202010113727A CN 111314478 B CN111314478 B CN 111314478B
Authority
CN
China
Prior art keywords
file
transmitted
header information
folder
interval
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010113727.6A
Other languages
Chinese (zh)
Other versions
CN111314478A (en
Inventor
赵百忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010113727.6A priority Critical patent/CN111314478B/en
Publication of CN111314478A publication Critical patent/CN111314478A/en
Application granted granted Critical
Publication of CN111314478B publication Critical patent/CN111314478B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The application relates to a file transmission method, a file transmission device and computer equipment, wherein the method comprises the following steps: acquiring a folder to be transmitted; acquiring header information of each file to be transmitted in the folder to be transmitted, wherein the header information is used for describing attribute information of a single file in a compressed package; and acquiring file contents corresponding to the header information of each file to be transmitted, and transmitting the header information and the file contents corresponding to the header information to a terminal. The scheme provided by the application saves computer resources.

Description

File transmission method and device and computer equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a file transfer method, an apparatus, and a computer device.
Background
With the rapid development of internet technology, a large number of files are generated in daily work, and a server is often needed to store the files, so that the files are downloaded from the server under the condition that local files are lost, and the security and disaster tolerance of the files are improved.
However, when the terminal requests the folder from the server, the server packages and stores the folder to be transmitted on the hard disk, and then sends the packaged file to the terminal, so that the original folder and the packaged file are simultaneously stored on the hard disk of the server, extra hard disk space occupation is caused, and computer resources are wasted.
Disclosure of Invention
Therefore, it is necessary to provide a file transmission method, a file transmission device and a computer apparatus capable of saving computer resources, aiming at the technical problem that the traditional file transmission method wastes computer resources.
A file transfer method, comprising:
acquiring a folder to be transmitted;
acquiring header information of each file to be transmitted in a folder to be transmitted, wherein the header information is used for describing attribute information of a single file in a compressed package;
and acquiring file contents corresponding to the header information of each file to be transmitted, and transmitting the header information and the file contents corresponding to the header information to the terminal.
A file transfer apparatus, the apparatus comprising:
the acquisition module is used for acquiring the folder to be transmitted;
the acquisition module is further used for acquiring header information of each file to be transmitted in the folder to be transmitted, wherein the header information is used for describing attribute information of a single file in the compressed package;
and the transmission module is used for acquiring the file content corresponding to the header information of each file to be transmitted and transmitting the header information and the file content corresponding to the header information to the terminal.
A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to perform the steps of any of the file transfer methods.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of any of the file transfer methods.
According to the file transmission method, the file transmission device, the computer readable storage medium and the computer equipment, the folder to be transmitted is obtained, then the header information of each file to be transmitted in the folder to be transmitted is obtained, wherein the header information is used for describing the attribute information of a single file in a compressed package, then the file content corresponding to the header information of each file to be transmitted is obtained, and the file content corresponding to the header information and the header information is transmitted to the terminal.
Drawings
FIG. 1 is a diagram of an exemplary file transfer method;
FIG. 2 is a flowchart illustrating a file transfer method according to an embodiment;
FIG. 3 is a schematic diagram illustrating a detailed flow of acquiring a folder to be transmitted in one embodiment;
FIG. 4 is a flow chart illustrating a detailed process of obtaining header information according to an embodiment;
FIG. 5 is a flowchart illustrating a file transfer method according to another embodiment;
FIG. 6 is a flowchart illustrating a file transfer method according to another embodiment;
FIG. 7 is a flowchart illustrating a file transfer method according to still another embodiment;
FIG. 8 is a block diagram showing the construction of a file transfer apparatus according to an embodiment;
FIG. 9 is a block diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a diagram of an application environment of a file transfer method in one embodiment. Referring to fig. 1, the file transfer method is applied to a file transfer system, which may include a terminal 110 and a server 120. The terminal 110 may specifically be a desktop terminal or a mobile terminal, where the desktop terminal may specifically be a desktop computer and the like, and the mobile terminal may specifically be a mobile phone, a tablet computer, a notebook computer and the like. The terminal 110 and the server 120 are connected through a network, which may be a mobile network or a wireless network. The server 120 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers.
Specifically, the file transfer method may be applied to the field of file transfer, and optionally, the file transfer method may be applied to a folder stored in a database supported by the terminal 110 requesting the download server 120. Database (Database), which can be regarded as an electronic file cabinet in short, a place for storing electronic files, a user can add, query, update, delete, etc. to data in files. A "database" is a collection of data that is stored together in a manner that can be shared by multiple users, has as little redundancy as possible, and is independent of the application. A Database Management System (DBMS) is a computer software System designed for managing a Database, and generally has basic functions of storage, interception, security assurance, backup, and the like. The database management system may classify the database according to the database model it supports, such as relational, XML (Extensible Markup Language); or classified according to the type of computer supported, e.g., server cluster, mobile phone; the DBMS can span categories, for example, supporting multiple Query languages simultaneously, regardless of the classification method, specifically, the server 120 obtains the folders to be transmitted, then, the server 120 obtains the header information of each file to be transmitted in the folders to be transmitted, wherein the header information is used for describing the attribute information of a single file in a compressed package, then, the server 120 obtains the file content corresponding to the header information of each file to be transmitted, and transmits the file content corresponding to the header information and the header information to the terminal 110.
In one embodiment, as shown in FIG. 2, a file transfer method is provided. The embodiment is mainly illustrated by applying the method to the application environment in fig. 1. Referring to fig. 2, the file transmission method specifically includes the following steps:
step 202, acquiring a folder to be transmitted.
Where a file is a collection of information, it may be a text document, a picture, a video, music, a program, etc. A folder refers to a collection of at least two files.
The folder to be transmitted is a folder to be sent to the terminal. In one embodiment, the folder to be transmitted may be preset, for example, the terminal downloads the preset folder from the server at regular time.
Specifically, the server obtains a folder to be transmitted.
And step 204, acquiring header information of each file to be transmitted in the folder to be transmitted, wherein the header information is used for describing the attribute information of a single file in the compressed package.
The files to be transmitted refer to files in the folders to be transmitted. The header information is used to describe attribute information of a single file in a compressed packet. The attribute information is used to represent meta information of each file to be transmitted, and optionally, the attribute information may include: the relative path of each file to be transmitted in the folder to be transmitted, the file name of each file to be transmitted, the size of each file to be transmitted, the type of each file to be transmitted and the like. The compressed package may be in a packed file format or a compressed file format, such as a tar format, a rar format, a zip format, or the like.
In one embodiment, header information of each file stored in the server is generated in advance, and the header information of the file to be transmitted is obtained according to the identifier of the file to be transmitted. Alternatively, the identifier of the file to be transmitted may be the name of the file to be transmitted.
In an embodiment, header information of each file to be transmitted may be sequentially obtained according to an arrangement order of each file to be transmitted, and each file to be transmitted may be arranged according to a name, a modification date, a type, a size, and the like. Sorting by name means: sorting according to the alphabetical order of the file names, wherein the alphabetical order can be the positive order of an alphabet or the reverse order of the alphabet; sorting by date of modification means: sorting the files from near to far or from far to near according to the modification dates of the files; sorting by type means: merging the similar files together, and sequencing according to the alphabetical sequence of the file names; sorting by size means: and sorting according to the size of the disk space occupied by the files.
In one embodiment, the header information of each file to be transmitted can be sequentially obtained directly according to the storage sequence of each file to be transmitted. The storage sequence is used for representing the storage mode of each file to be transmitted in the server, and the storage mode refers to the hierarchy among the files to be transmitted and the arrangement sequence of the files to be transmitted in the same hierarchy.
Specifically, the server obtains header information of each file to be transmitted in the folder to be transmitted.
Step 206, obtaining the file content corresponding to the header information of each file to be transmitted, and transmitting the header information and the file content corresponding to the header information to the terminal.
The file content corresponding to the header information of the file to be transmitted refers to the file content of the file to be transmitted, and the file content may be composed of a plurality of data blocks (512 bytes).
In one embodiment, header information of a file to be transmitted is acquired, file content corresponding to the header information of the file to be transmitted is acquired, and the header information of the file to be transmitted and the file content corresponding to the header information are transmitted to a terminal; and then, acquiring the header information of the file to be transmitted next, acquiring the file content corresponding to the header information of the file to be transmitted next, and transmitting the header information of the file to be transmitted next and the file content corresponding to the header information to the terminal.
Specifically, when the terminal receives the header information and the file content of each file to be transmitted, a compressed package is obtained. And when the terminal unpacks or decompresses the compressed package, the folder is obtained, and the storage mode of each file in the folder is consistent with the storage mode of each file to be transmitted in the folder to be transmitted in the server.
Specifically, the server obtains file content corresponding to header information of each file to be transmitted, and transmits the header information and the file content corresponding to the header information to the terminal.
The file transmission method comprises the steps of obtaining a folder to be transmitted, then obtaining header information of each file to be transmitted in the folder to be transmitted, wherein the header information is used for describing attribute information of a single file in a compressed package, then obtaining file contents corresponding to the header information of each file to be transmitted, and transmitting the header information and the file contents corresponding to the header information to a terminal, so that no additional packaged file needs to be generated in the file transmission process of the terminal and a server, a compressed package is directly constructed according to the attributes of each file in the folder, and the compressed package is transmitted to the terminal while being constructed, so that the occupation of additional hard disk space is avoided, and computer resources are saved; in addition, in the file transmission process between the terminal and the server, a transmission protocol or a file format does not need to be customized, and the folder can be downloaded through various traditional terminals (such as a web browser and a file downloading tool), so that the application range is wide.
In one embodiment, as shown in fig. 3, acquiring a folder to be transmitted includes:
step 302, acquiring a file transmission request, wherein the file transmission request comprises a storage path and a folder name;
the file transmission request can be initiated by the terminal and used for requesting the file transmission from the server by the terminal. The storage path is used for representing the storage path of the folder to be transmitted corresponding to the file transmission request. The folder name is used for representing the name of the folder to be transmitted corresponding to the file transmission request.
In one embodiment, the file Transfer request may be an HTTP (HyperText Transfer Protocol) request. The HTTP interface provided by the server may include: URL (Uniform Resource Locator), request mode, and request parameters. For example, the URL: a/api/download; the request mode comprises the following steps: GET; parameter 1: storing the path; parameter 2: folder name.
And step 304, determining the folder to be transmitted according to the storage path and the folder name in the file transmission request.
In one embodiment, the folder to be transmitted is determined according to the name of the folder after entering the parent folder of the folder to be transmitted according to the storage path in the file transmission request.
According to the file transmission method, the file transmission request is obtained and comprises the storage path and the folder name, the folder to be transmitted is determined according to the storage path and the folder name in the file transmission request, and the file transmission request is timely and accurately responded.
In an embodiment, as shown in fig. 4, acquiring header information of each file to be transmitted in the folder to be transmitted includes:
step 402, obtaining attribute information of each file to be transmitted in the folder to be transmitted, wherein the attribute information of each file to be transmitted comprises: the relative path and the file name of each file to be transmitted in the folder to be transmitted;
the attribute information is used for representing the meta information of each file to be transmitted. The relative path is the path of the file to be transmitted in the folder to be transmitted. The file name is the name of the file to be transmitted, and optionally, the file name may include a relative path. For example, the set name of the folder to be transmitted is test1, a subfolder sub1 exists under the folder to be transmitted test1, a file1 exists under the subfolder sub1, the file name of the file1 to be transmitted is sub1/file1, and the relative path of the file1 to be transmitted is sub 1.
Step 404, generating header information of each file to be transmitted according to the attribute information of each file to be transmitted.
In an embodiment, header information of each file to be transmitted may be sequentially generated according to the arrangement order of each file to be transmitted and according to the attribute information of each file to be transmitted, and each file to be transmitted may be arranged according to the name, the modification date, the type, the size, and the like. In one embodiment, the header information of each file to be transmitted can be generated sequentially according to the storage sequence of each file to be transmitted and the attribute information of each file to be transmitted.
In one embodiment, there may be a subfolder in the folder to be transmitted, there is a file to be transmitted in the subfolder, and the processing sequence between the subfolder and the file to be transmitted in the same level is not limited.
The file transmission method obtains the attribute information of each file to be transmitted in the folder to be transmitted, wherein the attribute information of each file to be transmitted comprises the following steps: and generating header information of each file to be transmitted according to the relative path and the file name of each file to be transmitted in the folder to be transmitted and the attribute information of each file to be transmitted, so that the header information can accurately express the attribute of the file to be transmitted.
In one embodiment, generating header information of each file to be transmitted according to the attribute information of each file to be transmitted includes: and correspondingly adding the attribute information of each file to be transmitted to a preset header information template to obtain the header information of each file to be transmitted.
The preset header information template is used for representing the format of the header information.
In one embodiment, the attribute information of each file to be transmitted may include: the relative path of each file to be transmitted in the folder to be transmitted, the file name of each file to be transmitted, the size of each file to be transmitted, the type of each file to be transmitted and the like. The relative path of each file to be transmitted in the folder to be transmitted, the file name of each file to be transmitted, the size of each file to be transmitted and the type of each file to be transmitted can be added to the corresponding position in the preset header information template, so that the header information of each file to be transmitted is obtained.
According to the file transmission method, the attribute information of each file to be transmitted is correspondingly added into the preset header information template to obtain the header information of each file to be transmitted, so that the header information of each file to be transmitted can be quickly and accurately obtained.
In one embodiment, the obtaining header information of each file to be transmitted in the folder to be transmitted further includes: and when the folder to be transmitted contains the subfolders, acquiring the header information of each file to be transmitted in the subfolders.
The folder to be transmitted may be a folder, and the subfolders may be subfolders under the folder.
Specifically, when the folder to be transmitted contains the subfolders, header information of each file to be transmitted in the subfolders is acquired; acquiring file contents corresponding to the header information of each file to be transmitted in the folder to be transmitted, and transmitting the header information of each file to be transmitted in the folder to be transmitted and the file contents corresponding to the header information to the terminal.
In one embodiment, in the process of obtaining header information of each file to be transmitted in the folder to be transmitted, when the subfolder is detected, the header information of each file to be transmitted in the subfolder can be sequentially obtained. Optionally, header information of each file to be transmitted in the subfolder may be sequentially obtained according to an arrangement order of each file to be transmitted in the subfolder, and each file to be transmitted in the subfolder may be arranged according to a name, a modification date, a type, a size, and the like. Optionally, the header information of each file to be transmitted may be sequentially obtained directly according to the storage sequence of each file to be transmitted in the subfolder.
In an embodiment, the header information of each file to be transmitted in the folder to be transmitted may be sequentially obtained according to an arrangement order or a storage order of each file to be transmitted and each subfolder in the folder to be transmitted. Taking a storage sequence as an example, the folders to be transmitted comprise a file a to be transmitted, a subfolder B and a file C to be transmitted, the storage sequences of the files are the file a to be transmitted, the subfolder B and the file C to be transmitted, the subfolder B comprises a file B1 to be transmitted and a file B2 to be transmitted, the storage sequences of the files are a file B1 to be transmitted and a file B2 to be transmitted, and header information of the file a to be transmitted, the file B1 to be transmitted, the file B2 to be transmitted and the file C to be transmitted can be sequentially acquired.
According to the file transmission method, when the folder to be transmitted contains the subfolders, header information of each file to be transmitted in the subfolders is obtained, and each file to be transmitted in the folder to be transmitted is sent to the terminal.
In one embodiment, before obtaining the file content corresponding to the header information of each file to be transmitted and transmitting the file content corresponding to the header information and the header information to the terminal, the method further includes: and adding the header information of each file to be transmitted to the buffer queue.
The buffer queue is used for buffering header information to be sent.
In one embodiment, the buffer queue may be a sequential queue, such as a FIFO (First Input First Output queue). The FIFO queue allows the header information to enter the queue according to the sequence of the header information arriving at the interface, and simultaneously, the FIFO queue allows the header information to dequeue according to the enqueue sequence at the outlet of the queue, i.e. the first-in header information will be dequeued first, and the second-in header information will be dequeued later. For example, the header information a, the header information B, and the header information C enter the queue in sequence, and then the header information a, the header information B, and the header information C are dequeued in sequence.
In one embodiment, the buffer queue may be a priority queue. In the priority queue, each piece of header information is given priority, and dequeues from high to low in order of the priority of the header information. Alternatively, the priority rule of the priority queue may be set according to practical applications, such as: and performing priority ranking according to the size of the file content corresponding to the header information, for example, the larger the disk space occupied by the file content is, the higher the priority is, or the smaller the disk space occupied by the file content is, the higher the priority is. For example, the header information a, the header information B, and the header information C sequentially enter the queue, the disk space occupied by the file content corresponding to the header information a is smaller than the disk space occupied by the file content corresponding to the header information B, the disk space occupied by the file content corresponding to the header information B is smaller than the disk space occupied by the file content corresponding to the header information C, and the priority ranking rule indicates that the larger the disk space occupied by the file content is, the higher the priority is, and then the header information C, the header information B, and the header information a sequentially dequeue.
In one embodiment, acquiring file content corresponding to header information of each file to be transmitted, and transmitting the header information and the file content corresponding to the header information to a terminal includes: acquiring file contents corresponding to the header information of each file to be transmitted, extracting the header information of each file to be transmitted from the buffer queue, and transmitting the header information and the file contents corresponding to the header information to the terminal.
In one embodiment, file contents corresponding to header information of each file to be transmitted are obtained and cached, and the header information and the file contents corresponding to the header information are sequentially transmitted to the terminal according to a dequeuing sequence of each header information in a cache queue. Optionally, when a header information is added to the buffer queue, the file content corresponding to the header information is added to the buffer queue, then, the next header information is added to the buffer queue, the file content corresponding to the next header information is added to the buffer queue, and after each header information and the file content corresponding to the header information are added to the buffer queue, the file content corresponding to the header information and the header information are sequentially transmitted to the terminal according to the dequeuing sequence of each header information in the buffer queue. Optionally, after each piece of header information is added to the buffer queue, the file content corresponding to each piece of header information is added to the buffer queue, and the header information and the file content corresponding to the header information are sequentially transmitted to the terminal according to the dequeuing sequence of each piece of header information in the buffer queue.
In one embodiment, according to the dequeuing sequence of each header information in the buffer queue, the file content corresponding to the header information is sequentially acquired, and the header information and the file content corresponding to the header information are transmitted to the terminal. In one embodiment, after header information of each file to be transmitted is added to the buffer queue, transmission is started, whether the buffer queue is empty or not is detected in the transmission process, and when the buffer queue is empty, the transmission is ended.
The file transmission method comprises the steps of adding header information of each file to be transmitted to a cache queue, obtaining file content corresponding to the header information of each file to be transmitted, extracting the header information of each file to be transmitted from the cache queue, transmitting the header information and the file content corresponding to the header information to a terminal, and sequentially sending the files to be transmitted through the cache queue.
In one embodiment, as shown in fig. 5, the method further comprises:
step 502, when a file retransmission request is acquired, determining a retransmission interval according to the file retransmission request, wherein the retransmission interval comprises at least one first interval point, and the position of each first interval point corresponds to header information or file content;
the file retransmission request is used to request retransmission of part of data or all of the data, where the part of data refers to a part of data in total transmission data, and the all of the data refers to the total transmission data, and optionally, the total transmission data is data corresponding to the file transmission request. The partial data or the entire data may include header information as well as file content. The file retransmission request can be sent by the terminal to the server, the terminal sends the file retransmission request to the server, and the server returns part of or all of the data corresponding to the file retransmission request to the terminal.
The retransmission interval is used to indicate an interval in which the partial data or all data is located in the total transmission data. The first interval points are each point of the retransmission interval, and the position of each first interval point corresponds to one piece of header information or one piece of file content.
In one embodiment, the manner of determining the retransmission interval according to the file retransmission request may be: and acquiring a message header in the file retransmission request, and determining a retransmission interval according to the message header. The header is located at the first line of the file retransmission request, and the body of the message (i.e., the content requested by the file retransmission request) is transmitted thereafter. The message header may be transmitted in a plaintext string format. The message header contains at least one of a transmission start point and a transmission end point. When the message header only contains the sending starting point, the server can return the available bytes from the sending starting point to the end position of the total transmission data; when only the sending end point is contained in the message header, the server may return the available bytes starting from the start position of the total transmission data to the sending end point.
Step 504, transmitting the header information or the file content corresponding to the position of each first interval point in the retransmission interval to the terminal.
In one embodiment, breakpoint resume may be implemented via the Partial-Content mechanism of HTTP. The Partial-Content mechanism enables the terminal to receive Partial data from the server instead of the total transmission data. For example, the transmission amount of the total transmission data is 1GB, the terminal fails to download the data for the first time, and only the data of 0 to 500MB is downloaded, and when the terminal downloads the data for the next time, only the data of 500MB to 1GB is requested by the method provided in this embodiment, so that the breakpoint transmission is realized.
According to the file transmission method, when the file retransmission request is obtained, the retransmission interval is determined according to the file retransmission request, the retransmission interval comprises at least one first interval point, the position of each first interval point corresponds to the header information or the file content, and the header information or the file content corresponding to the position of each first interval point in the retransmission interval is transmitted to the terminal, so that breakpoint transmission is achieved, and computer resources are saved.
In one embodiment, as shown in fig. 6, the method further comprises:
step 602, when a partial file transmission request is acquired, determining a sending interval according to the partial file transmission request, where the sending interval includes at least one second interval point, and a position of each second interval point corresponds to header information or file content;
the partial file transmission request is used for requesting transmission of partial data, where the partial data refers to a part of total transmission data, and optionally, the total transmission data is data corresponding to the file transmission request. The portion of data may include header information as well as file content. The partial file transmission request can be sent to the server by the terminal, the terminal sends the partial file transmission request to the server, and the server returns partial data corresponding to the partial file transmission request to the terminal.
The transmission interval is used for representing the interval in which the partial data is located in the total transmission data. The second interval points are each point of the transmission interval, and the position of each second interval point corresponds to the header information or the file content, and optionally, the position of each second interval point corresponds to one header information or the file content.
In one embodiment, the manner of determining the transmission interval according to the partial file transfer request may be: and acquiring a message header in the partial file transmission request, and determining a sending interval according to the message header. The header is located in the first line of the partial file transfer request, after which the body of the message (i.e., the content requested by the partial file transfer request) is transmitted. The message header may be transmitted in a plaintext string format. Optionally, when the header is a header of a compressed packet, the transmission interval is determined according to the header, and the compressed packet may be Accept-Ranges. The message header contains at least one of a transmission start point and a transmission end point. When the message header only contains the sending starting point, the server can return the available bytes from the sending starting point to the end position of the total transmission data; when only the sending end point is contained in the message header, the server may return the available bytes starting from the start position of the total transmission data to the sending end point.
Step 604, transmitting the header information or the file content corresponding to the position of each second interval point in the transmission interval to the terminal.
In one embodiment, the terminal sends a file transfer request to the server, and the server returns response information to the terminal, wherein the response information is accompanied by a response header, the response header is used for declaring each sending interval acceptable by the server, and the sending interval can be characterized in the form of byte number. The terminal sends a partial file transmission request to the server, the partial file transmission request is attached with a message header, the message header is used for informing the server of a required sending interval, and the server responds to the partial file transmission request of the terminal according to the following two conditions: if the sending interval is reasonable, the server returns part of data corresponding to part of the file transmission request; if the sending interval is not reasonable (for example, the number of bytes of the sending interval is greater than the number of bytes of the total transmission data), the server does not return the partial data corresponding to the partial file transmission request.
In one embodiment, the multiple concurrent downloads may be implemented through the Partial-Content mechanism of HTTP. Specifically, the terminal sends a file transfer request to the server, and the server returns response information to the terminal, the response information being accompanied by a response header for declaring each transmission interval acceptable to the server. The terminal sends a partial file transmission request to the server, the partial file transmission request is attached with an Accept-Ranges message header, the Accept-Ranges message header is used for informing the server of a required sending interval, and the server can respond to the partial file transmission request of the terminal according to the following two conditions: if the sending interval is reasonable, the server returns part of data corresponding to part of the file transmission request, attaches a 206Partial Content status code and declares the sending interval in a Content-Range message header; if the sending interval is Not reasonable, the server returns 416 a Requested Range Not Satisable status code, that is, the representation request interval is Not reasonable, and declares an acceptable sending interval in the Content-Range message header.
For example, the transmission amount of the total transmission data is 1GB, and the two terminals can be simultaneously operated by the method provided in this embodiment to download data of 0 to 500MB and 500MB to 1GB, respectively, that is, to achieve the effect of concurrent downloading.
According to the file transmission method, when a part of file transmission requests are obtained, the sending interval is determined according to the part of file transmission requests, the sending interval comprises at least one second interval point, the position of each second interval point corresponds to the header information or the file content, and the header information or the file content corresponding to the position of each second interval point in the sending interval is transmitted to the terminal.
In a specific embodiment, a file transfer method is provided, which includes:
acquiring a file transmission request, wherein the file transmission request comprises a storage path and a folder name, and determining a folder to be transmitted according to the storage path and the folder name in the file transmission request.
Then, obtaining attribute information of each file to be transmitted in the folder to be transmitted, wherein the attribute information of each file to be transmitted comprises: and generating header information of each file to be transmitted according to the relative path and the file name of each file to be transmitted in the folder to be transmitted and the attribute information of each file to be transmitted.
Further, header information of each file to be transmitted is added to the buffer queue.
And then, acquiring file contents corresponding to the header information of each file to be transmitted, extracting the header information of each file to be transmitted from the buffer queue, and transmitting the header information and the file contents corresponding to the header information to the terminal.
The file transmission method comprises the steps of obtaining a folder to be transmitted, then obtaining header information of each file to be transmitted in the folder to be transmitted, wherein the header information is used for describing attribute information of a single file in a compressed package, then obtaining file contents corresponding to the header information of each file to be transmitted, and transmitting the header information and the file contents corresponding to the header information to a terminal, so that no additional packaged file needs to be generated in the file transmission process of the terminal and a server, a compressed package is directly constructed according to the attributes of each file in the folder, and the compressed package is transmitted to the terminal while being constructed, so that the occupation of additional hard disk space is avoided, and computer resources are saved; in addition, in the file transmission process between the terminal and the server, a transmission protocol or a file format does not need to be customized, and the folder can be downloaded through various traditional terminals (such as a web browser and a file downloading tool), so that the application range is wide.
In one embodiment, as shown in fig. 7, a file transfer method is provided, which is applied to the following scenarios: the terminal requests the download of the folder stored in the server.
The method comprises the following steps:
the method comprises the steps of obtaining an HTTP file transmission request, wherein the file transmission request comprises a storage path and a folder name, and determining a folder to be transmitted according to the storage path and the folder name in the file transmission request.
And then, entering a parent folder of the folder to be transmitted according to a storage path in the file transmission request, and determining the folder to be transmitted according to the name of the folder.
Further, obtaining attribute information of each file to be transmitted in the folder to be transmitted, wherein the attribute information of each file to be transmitted comprises: generating header information of each file to be transmitted according to the attribute information of each file to be transmitted, wherein the header information is used for describing the attribute information of a single file in a tar format.
Then, the header information of each file to be transmitted is added to the first-in first-out queue.
Further, whether the first-in first-out queue is empty is judged.
And if the first-in first-out queue is not empty, acquiring file content corresponding to the header information of each file to be transmitted, extracting the header information of each file to be transmitted from the first-in first-out queue, and transmitting the header information and the file content corresponding to the header information to the terminal.
If the FIFO queue is empty, the transmission is finished.
The file transmission method comprises the steps of obtaining a folder to be transmitted, then obtaining header information of each file to be transmitted in the folder to be transmitted, wherein the header information is used for describing attribute information of a single file in a compressed package, then obtaining file contents corresponding to the header information of each file to be transmitted, and transmitting the header information and the file contents corresponding to the header information to a terminal, so that no additional packaged file needs to be generated in the file transmission process of the terminal and a server, a compressed package is directly constructed according to the attributes of each file in the folder, and the compressed package is transmitted to the terminal while being constructed, so that the occupation of additional hard disk space is avoided, and computer resources are saved; in addition, in the file transmission process between the terminal and the server, a transmission protocol or a file format does not need to be customized, and the folder can be downloaded through various traditional terminals (such as a web browser and a file downloading tool), so that the application range is wide.
Fig. 2-7 are schematic flow diagrams of a file transfer method according to an embodiment, respectively. It should be understood that although the various steps in the flowcharts of fig. 2-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, there is provided a file transfer apparatus including: an acquisition module 802 and a transmission module 804. Wherein the content of the first and second substances,
an obtaining module 802, configured to obtain a folder to be transmitted;
the obtaining module 802 is further configured to obtain header information of each file to be transmitted in the folder to be transmitted, where the header information is used to describe attribute information of a single file in the compressed package;
the transmission module 804 is configured to obtain file content corresponding to header information of each file to be transmitted, and transmit the header information and the file content corresponding to the header information to the terminal.
The file transmission device acquires the file to be transmitted, then acquires the header information of each file to be transmitted in the file to be transmitted, wherein the header information is used for describing the attribute information of a single file in a compressed package, then acquires the file content corresponding to the header information of each file to be transmitted, and transmits the header information and the file content corresponding to the header information to the terminal, so that no additional packaged file needs to be generated in the file transmission process of the terminal and the server, the compressed package is directly constructed according to the attribute of each file in the file to be transmitted to the terminal while the compressed package is constructed, the occupation of additional hard disk space is avoided, and computer resources are saved; in addition, in the file transmission process between the terminal and the server, a transmission protocol or a file format does not need to be customized, and the folder can be downloaded through various traditional terminals (such as a web browser and a file downloading tool), so that the application range is wide.
In an embodiment, the obtaining module 802 is specifically configured to: acquiring a file transmission request, wherein the file transmission request comprises a storage path and a folder name; and determining the folder to be transmitted according to the storage path and the folder name in the file transmission request.
The file transmission device acquires a file transmission request, wherein the file transmission request comprises a storage path and a folder name, and a folder to be transmitted is determined according to the storage path and the folder name in the file transmission request, so that the file transmission request can be timely and accurately responded.
In an embodiment, the obtaining module 802 is specifically configured to: acquiring attribute information of each file to be transmitted in a folder to be transmitted, wherein the attribute information of each file to be transmitted comprises: the relative path and the file name of each file to be transmitted in the folder to be transmitted; and generating header information of each file to be transmitted according to the attribute information of each file to be transmitted.
The file transmission device acquires the attribute information of each file to be transmitted in the folder to be transmitted, and the attribute information of each file to be transmitted comprises: and generating header information of each file to be transmitted according to the relative path and the file name of each file to be transmitted in the folder to be transmitted and the attribute information of each file to be transmitted, so that the header information can accurately express the attribute of the file to be transmitted.
In an embodiment, the obtaining module 802 is specifically configured to: and correspondingly adding the attribute information of each file to be transmitted to a preset header information template to obtain the header information of each file to be transmitted.
The file transmission device correspondingly adds the attribute information of each file to be transmitted to the preset header information template to obtain the header information of each file to be transmitted, so that the header information of each file to be transmitted can be quickly and accurately obtained.
In an embodiment, the obtaining module 802 is specifically configured to: and when the folder to be transmitted contains the subfolders, acquiring the header information of each file to be transmitted in the subfolders.
According to the file transmission device, when the folder to be transmitted contains the subfolders, header information of each file to be transmitted in the subfolders is obtained, and each file to be transmitted in the folder to be transmitted is sent to the terminal.
In one embodiment, the file transfer apparatus further includes an adding module, configured to: adding header information of each file to be transmitted to a cache queue; the transmission module 804 is specifically configured to: acquiring file contents corresponding to the header information of each file to be transmitted, extracting the header information of each file to be transmitted from the buffer queue, and transmitting the header information and the file contents corresponding to the header information to the terminal.
The file transmission device adds the header information of each file to be transmitted to the cache queue, obtains the file content corresponding to the header information of each file to be transmitted, extracts the header information of each file to be transmitted from the cache queue, transmits the header information and the file content corresponding to the header information to the terminal, and sequentially sends the files to be transmitted through the cache queue.
In one embodiment, the file transfer apparatus further comprises a determining module configured to: when a file retransmission request is acquired, determining a retransmission interval according to the file retransmission request, wherein the retransmission interval comprises at least one first interval point, and the position of each first interval point corresponds to header information or file content; the transmission module 804 is further configured to: and transmitting the header information or the file content corresponding to the position of each first interval point in the retransmission interval to the terminal.
According to the file transmission device, when the file retransmission request is acquired, the retransmission interval is determined according to the file retransmission request, the retransmission interval comprises at least one first interval point, the position of each first interval point corresponds to the header information or the file content, and the header information or the file content corresponding to the position of each first interval point in the retransmission interval is transmitted to the terminal.
In one embodiment, the obtaining module 802 is further configured to: when a partial file transmission request is acquired, determining a sending interval according to the partial file transmission request, wherein the sending interval comprises at least one second interval point, and the position of each second interval point corresponds to header information or file content; the transmission module 804 is further configured to: and transmitting the header information or the file content corresponding to the position of each second interval point in the transmission interval to the terminal.
According to the file transmission device, when a part of file transmission requests are obtained, a transmission interval is determined according to the part of file transmission requests, the transmission interval comprises at least one second interval point, the position of each second interval point corresponds to header information or file content, and the header information or the file content corresponding to the position of each second interval point in the transmission interval is transmitted to a terminal.
FIG. 9 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the terminal 110 in fig. 1. As shown in fig. 9, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the file transfer method. The internal memory may also have a computer program stored therein, which when executed by the processor, causes the processor to perform the file transfer method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the file transfer apparatus provided in the present application may be implemented in the form of a computer program that is executable on a computer device such as the one shown in fig. 9. The memory of the computer device may store therein various program modules constituting the file transfer apparatus, such as the one shown in fig. 8: an acquisition module 802 and a transmission module 804. The computer program constituted by the respective program modules causes the processor to execute the steps in the file transfer method of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 9 may execute the step of acquiring the folder to be transmitted by the acquisition module 802 in the file transmission apparatus shown in fig. 8. The computer device can execute the step of obtaining header information of each file to be transmitted in the folder to be transmitted through the obtaining module 802, wherein the header information is used for describing attribute information of a single file in the compressed package. The computer device may further perform the steps of obtaining file content corresponding to the header information of each file to be transmitted, and transmitting the header information and the file content corresponding to the header information to the terminal through the transmission module 804.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the file transfer method described above. The steps of the file transfer method herein may be the steps in the file transfer methods of the various embodiments described above.
In one embodiment, a computer-readable storage medium is provided, in which a computer program is stored, which, when executed by a processor, causes the processor to carry out the steps of the above-mentioned file transfer method. The steps of the file transfer method herein may be the steps in the file transfer methods of the various embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (16)

1. A method for file transfer, comprising:
acquiring a folder to be transmitted;
sequentially acquiring header information of each file to be transmitted according to a storage mode of each file to be transmitted in the folder to be transmitted, wherein the header information is used for describing attribute information of a single file in a compressed package, and the attribute information of each file to be transmitted comprises: the relative path of each file to be transmitted in the folder to be transmitted, the file name of each file to be transmitted, the size of each file to be transmitted and the type of each transmission file;
adding header information of each file to be transmitted to a cache queue;
acquiring file contents corresponding to the header information of each file to be transmitted;
sequentially transmitting the header information of each file to be transmitted and the corresponding file content to a terminal according to the arrangement sequence of the header information of each file to be transmitted in the cache queue; when the transmission of the files to be transmitted in the folder to be transmitted is finished, the terminal obtains a compressed package, decompresses the compressed package to obtain the folder, and the storage mode of each file in the folder decompressed by the terminal is consistent with the storage mode of each file to be transmitted in the folder to be transmitted.
2. The method of claim 1, wherein the obtaining the folder to be transmitted comprises:
acquiring a file transmission request, wherein the file transmission request comprises a storage path and a folder name;
and determining the folder to be transmitted according to the storage path and the folder name in the file transmission request.
3. The method according to claim 1, wherein the obtaining header information of each file to be transmitted in the folder to be transmitted comprises:
acquiring attribute information of each file to be transmitted in the folder to be transmitted;
and generating header information of each file to be transmitted according to the attribute information of each file to be transmitted.
4. The method according to claim 3, wherein the generating header information of each file to be transmitted according to the attribute information of each file to be transmitted comprises:
and correspondingly adding the attribute information of each file to be transmitted to a preset header information template to obtain the header information of each file to be transmitted.
5. The method according to claim 1, wherein the obtaining header information of each file to be transmitted in the folder to be transmitted further comprises:
and when the folder to be transmitted comprises the subfolders, acquiring header information of each file to be transmitted in the subfolders.
6. The method of claim 1, further comprising:
when a file retransmission request is acquired, determining a retransmission interval according to the file retransmission request, wherein the retransmission interval comprises at least one first interval point, and the position of each first interval point corresponds to the header information or the file content;
and transmitting the header information or the file content corresponding to the position of each first interval point in the retransmission interval to the terminal.
7. The method of claim 1, further comprising:
when a partial file transmission request is acquired, determining a sending interval according to the partial file transmission request, wherein the sending interval comprises at least one second interval point, and the position of each second interval point corresponds to the header information or the file content;
and transmitting the header information or the file content corresponding to the position of each second interval point in the sending interval to the terminal.
8. A file transfer apparatus, comprising:
the acquisition module is used for acquiring the folder to be transmitted;
the obtaining module is further configured to sequentially obtain header information of each file to be transmitted according to a storage manner of each file to be transmitted in the folder to be transmitted, where the header information is used to describe attribute information of a single file in a compressed package, and the attribute information of each file to be transmitted includes: the relative path of each file to be transmitted in the folder to be transmitted, the file name of each file to be transmitted, the size of each file to be transmitted and the type of each transmission file;
the adding module is used for adding the header information of each file to be transmitted to a cache queue;
the transmission module is used for acquiring file contents corresponding to the header information of each file to be transmitted; sequentially transmitting the header information of each file to be transmitted and the corresponding file content to a terminal according to the arrangement sequence of the header information of each file to be transmitted in the cache queue; when the transmission of the files to be transmitted in the folder to be transmitted is finished, the terminal obtains a compressed package, decompresses the compressed package to obtain the folder, and the storage mode of each file in the folder decompressed by the terminal is consistent with the storage mode of each file to be transmitted in the folder to be transmitted.
9. The apparatus of claim 8, wherein the obtaining module is specifically configured to: acquiring a file transmission request, wherein the file transmission request comprises a storage path and a folder name; and determining the folder to be transmitted according to the storage path and the folder name in the file transmission request.
10. The apparatus of claim 8, wherein the obtaining module is specifically configured to: acquiring attribute information of each file to be transmitted in the folder to be transmitted; and generating header information of each file to be transmitted according to the attribute information of each file to be transmitted.
11. The apparatus of claim 10, wherein the obtaining module is specifically configured to: and correspondingly adding the attribute information of each file to be transmitted to a preset header information template to obtain the header information of each file to be transmitted.
12. The apparatus of claim 8, wherein the obtaining module is specifically configured to: and when the folder to be transmitted comprises the subfolders, acquiring header information of each file to be transmitted in the subfolders.
13. The apparatus of claim 8, wherein the file transfer apparatus further comprises a determination module configured to: when a file retransmission request is acquired, determining a retransmission interval according to the file retransmission request, wherein the retransmission interval comprises at least one first interval point, and the position of each first interval point corresponds to the header information or the file content; the transmission module is further configured to: and transmitting the header information or the file content corresponding to the position of each first interval point in the retransmission interval to the terminal.
14. The apparatus of claim 8, wherein the obtaining module is further configured to: when a partial file transmission request is acquired, determining a sending interval according to the partial file transmission request, wherein the sending interval comprises at least one second interval point, and the position of each second interval point corresponds to the header information or the file content; the transmission module is further configured to: and transmitting the header information or the file content corresponding to the position of each second interval point in the sending interval to the terminal.
15. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.
16. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202010113727.6A 2020-02-24 2020-02-24 File transmission method and device and computer equipment Active CN111314478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010113727.6A CN111314478B (en) 2020-02-24 2020-02-24 File transmission method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010113727.6A CN111314478B (en) 2020-02-24 2020-02-24 File transmission method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN111314478A CN111314478A (en) 2020-06-19
CN111314478B true CN111314478B (en) 2021-08-31

Family

ID=71151087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010113727.6A Active CN111314478B (en) 2020-02-24 2020-02-24 File transmission method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN111314478B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887385A (en) * 2021-01-19 2021-06-01 中国联合网络通信集团有限公司 File transmission method and device
CN117097721B (en) * 2023-10-19 2024-01-12 北京天信瑞安信息技术有限公司 File transmission method, system and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098310A (en) * 2006-10-30 2008-01-02 腾讯科技(深圳)有限公司 Multi-file transmission system and method
CN101521628A (en) * 2009-01-16 2009-09-02 深圳市迈科龙电子有限公司 Automatic transfer transmission and routing method for data files
CN101547161A (en) * 2008-03-28 2009-09-30 阿里巴巴集团控股有限公司 Folder transmission system, folder transmission device and folder transmission method
CN104994143A (en) * 2015-06-19 2015-10-21 小米科技有限责任公司 File downloading method and device
CN107689976A (en) * 2016-08-05 2018-02-13 北京金山云网络技术有限公司 A kind of document transmission method and device
CN108093015A (en) * 2016-11-21 2018-05-29 北京京东尚科信息技术有限公司 Document transmission system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG118132A1 (en) * 1997-11-13 2006-01-27 Hyperspace Communications Inc File transfer system
CN101510898A (en) * 2009-03-27 2009-08-19 深圳市茁壮网络技术有限公司 Method for uploading and downloading data, network node and communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098310A (en) * 2006-10-30 2008-01-02 腾讯科技(深圳)有限公司 Multi-file transmission system and method
CN101547161A (en) * 2008-03-28 2009-09-30 阿里巴巴集团控股有限公司 Folder transmission system, folder transmission device and folder transmission method
CN101521628A (en) * 2009-01-16 2009-09-02 深圳市迈科龙电子有限公司 Automatic transfer transmission and routing method for data files
CN104994143A (en) * 2015-06-19 2015-10-21 小米科技有限责任公司 File downloading method and device
CN107689976A (en) * 2016-08-05 2018-02-13 北京金山云网络技术有限公司 A kind of document transmission method and device
CN108093015A (en) * 2016-11-21 2018-05-29 北京京东尚科信息技术有限公司 Document transmission system

Also Published As

Publication number Publication date
CN111314478A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
US8145766B2 (en) Method for pre-fetching data chunks of an email attachment on a portable electronic device
US9015269B2 (en) Methods and systems for notifying a server with cache information and for serving resources based on it
US8117238B2 (en) Method of delivering an electronic document to a remote electronic device
RU2689439C2 (en) Improved performance of web access
US20150067006A1 (en) System and method for transporting files between networked or connected systems and devices
US20120084346A1 (en) Page Loading Optimization Using Page-Maintained Cache
EP2854048B1 (en) Method of operating a mobile telecommunications device
WO2007100943A2 (en) Multiple client search method and system
JP2004527041A (en) System and method for content delivery over a wireless communication medium to a portable computing device
KR20020043989A (en) System for file management with mobile devices
CN111314478B (en) File transmission method and device and computer equipment
CN102882974A (en) Method for saving website access resource by website identification version number
KR20030060899A (en) Configurable transformation of electronic documents
CN112100134A (en) Method and device for exporting large file, storage medium and computer equipment
US20180239778A1 (en) User driven data pre-fetch
CA2717430C (en) Method for extracting document data from multiple sources for display on a mobile communication device
JP7130995B2 (en) Information processing device and program
CN112822286B (en) Message pushing method and device
EP2380098A1 (en) Dictionary-based data compression and subsequent data transmission in a server / client architecture
JP2007122609A (en) Structured document, content delivery server device and content delivery system
US20070112848A1 (en) Method and system for concurrently processing multiple large data files transmitted using a multipart format
US20040249793A1 (en) Efficient document storage and retrieval for content servers
CN113220645B (en) Linux-compatible Android file display method and device
EP2026258B1 (en) Method for pre-fetching data chunks of an email attachment on a portable electronic device
JP2005056096A5 (en)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40023734

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant