Unlock instant, AI-driven research and patent intelligence for your innovation.
Method and device for data file transmission
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
A transmission method and data file technology, applied in the field of communication, can solve the problems of low network bandwidth utilization, long time, slow transmission of large data files, etc.
Active Publication Date: 2013-09-18
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF4 Cites 40 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0012] However, when using the above method to transmit a single large data file, on the one hand, because the single-thread transmission method is mainly used, the transmission speed of a single large data file is relatively slow
On the other hand, the integrity verification of a single large data file is usually performed after the download of the large data file is completed. Therefore, it takes a long time for a single large data file to be reliably transmitted, and the resource overhead is large, and thus Causes low utilization of network bandwidth
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment 1
[0041] Such as figure 1 As shown, the embodiment of the present invention provides a data file transmission method, which is executed by the sending end, and the details are as follows:
[0042] 101. The sending end divides a single large data file into blocks, and sequentially numbers each block of data;
[0043] 102. The sending end simultaneously sends respective block data corresponding to the at least two download threads to at least two download threads of the receiving end.
[0044] Accordingly, such as figure 2 As shown, the embodiment of the present invention also provides a data file transmission method, which is executed by the receiving end, which is specifically as follows:
[0045] 201. The receiving end creates at least two download threads, each of the download threads corresponds to a task queue, each of the task queues is mapped to the block data with different numbers in a single big data file, and all the task queues are mapped The block data of is combined into t...
Embodiment 2
[0070] Such as Figure 5 As shown, an embodiment of the present invention provides a sending end, including:
[0071] The block unit 11 is used to block a single large data file, and sequentially number each block data;
[0072] The sending unit 12 is configured to simultaneously send block data corresponding to each of the at least two download threads to at least two download threads of the receiving end.
[0073] Such as Image 6 As shown, the embodiment of the present invention also provides a receiving end, including:
[0074] The creating unit 21 is configured to create at least two download threads, each of the download threads corresponds to a task queue, and each of the task queues is mapped to the block data with different numbers in a single big data file, and all the task queues The block data mapped in the database is combined into the single big data file;
[0075] The concurrent download unit 22 is configured to start all the download threads for concurrent download, an...
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
Login to View More
Abstract
The embodiment of the invention provides a method and a device for data file transmission and relates to the technical field of communication. The method comprises the following steps: a receiving end creates at least two downloading threads and starts all the downloading threads to carry out concurrent downloading, and each of the downloading threads independently downloads block data in a corresponding task queue from the receiving end and writes the downloaded block data into a buffer queue; the receiving end simultaneously starts a parallel single thread, and the parallel single thread sequentially acquires block data which is numbered i in the buffer queue and carries out orderly-iterative data integrityverification on the block data which is numbered i to obtain a data integrityverification value after orderly combination of the block data which is numbered i and all the previous block data; and the receiving end writes the block data which is numbered i into a target file. According to the embodiment of the invention, the transmission speed for a single large data file is improved, the reliable transmission time for a single large data file is shortened, and the network bandwidth utilization rate is improved.
Description
Technical field [0001] The present invention relates to the field of communication technology, and in particular to a data file transmission method and device. Background technique [0002] At present, the implementation process of transferring big data files in the Internet environment is as follows: [0003] The sender performs as follows: [0004] Step 1) Divide the large file into several data packets; [0005] Step 2) Assign an identifier to the large file and each data packet; [0006] Step 3) Judge whether all the data packets have been sent, if they have not been sent, go to step 4); if they are sent, end the sending; [0007] Step 4) Send data to the receiver in units of data packets; [0008] Step 5) If the result returned by the receiver is correct, go to step 3), otherwise go to step 4). [0009] The receiver performs as follows: [0010] Step 1') After correctly receiving the data sent by the sender, return the correct reception to the sender, otherwise an error will be return...
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.