CN112383614A - File transmission method and device - Google Patents

File transmission method and device Download PDF

Info

Publication number
CN112383614A
CN112383614A CN202011257970.1A CN202011257970A CN112383614A CN 112383614 A CN112383614 A CN 112383614A CN 202011257970 A CN202011257970 A CN 202011257970A CN 112383614 A CN112383614 A CN 112383614A
Authority
CN
China
Prior art keywords
uploaded
file
slices
slice
chunk
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.)
Pending
Application number
CN202011257970.1A
Other languages
Chinese (zh)
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.)
Changzhou Weiyizhi Technology Co Ltd
Original Assignee
Changzhou Weiyizhi Technology 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 Changzhou Weiyizhi Technology Co Ltd filed Critical Changzhou Weiyizhi Technology Co Ltd
Priority to CN202011257970.1A priority Critical patent/CN112383614A/en
Publication of CN112383614A publication Critical patent/CN112383614A/en
Pending legal-status Critical Current

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a file transmission method and a device, wherein the file transmission method comprises the following steps: acquiring a unique identifier of a file to be uploaded; judging whether the file to be uploaded is uploaded according to the unique identifier; if not, the file to be uploaded is segmented into a plurality of slices; acquiring chunk marks of a plurality of slices; and uploading the plurality of slices according to the chunk identifier. Therefore, the problem of repeated uploading of the files can be effectively avoided, and the efficiency and the speed of file transmission are greatly improved.

Description

File transmission method and device
Technical Field
The invention relates to the technical field of file transmission, in particular to a file transmission method and a file transmission device.
Background
In the related art, in the industrial field, when a product file is uploaded to a cloud server, the problem of repeated uploading of the file is easy to occur, and the transmission speed and the efficiency are low.
Disclosure of Invention
The invention provides a file transmission method for solving the technical problems, which can effectively avoid the problem of repeated uploading of files and greatly improve the efficiency and speed of file transmission.
The technical scheme adopted by the invention is as follows:
a file transmission method comprises the following steps: acquiring a unique identifier of a file to be uploaded; judging whether the file to be uploaded is uploaded according to the unique identifier; if not, the file to be uploaded is segmented into a plurality of slices; acquiring chunk marks of the multiple slices; and uploading the plurality of slices according to the chunk identification.
Before obtaining the unique identification of the file to be uploaded, the method comprises the following steps: the md5 function is used to generate a unique identification for each file.
After judging that the file to be uploaded is not uploaded, the method further comprises the following steps: judging whether the file transmission network is normal or not; if the file transmission network is normal, the file to be uploaded is divided into a plurality of slices, and the plurality of slices are uploaded according to chunk identifications of the plurality of slices; and if the file transmission network is abnormal, caching the file to be uploaded so as to upload the file to be uploaded in the cache when the file transmission network is normal.
Uploading the plurality of slices according to the chunk identifications of the plurality of slices comprises: judging whether the slice to be uploaded is uploaded or not according to the chunk identifier of the slice to be uploaded; if the slice to be uploaded is not uploaded, uploading the slice to be uploaded; and if the slice to be uploaded is uploaded, acquiring a chunk identifier of the next slice, and uploading the next slice according to the chunk identifier of the next slice.
When the file to be uploaded is multiple and it is judged that the multiple files to be uploaded are not uploaded, the method further comprises the following steps: respectively segmenting the files to be uploaded into a plurality of slices; and simultaneously uploading the plurality of slices corresponding to the plurality of files to be uploaded by adopting a plurality of threads according to the chunk identifications of the plurality of slices corresponding to the plurality of files to be uploaded.
The file transmission method further comprises the following steps: when the slice uploading fails, acquiring a chunk identifier of the slice which fails to upload and a unique identifier of a corresponding file; and generating corresponding prompt information according to the chunk identifier of the slice which fails to be uploaded and the unique identifier of the corresponding file, and automatically continuing to upload.
A file transfer device comprising: the first acquisition module is used for acquiring the unique identifier of the file to be uploaded; the judging module is used for judging whether the file to be uploaded is uploaded according to the unique identifier; the file segmentation module is used for segmenting the file to be uploaded into a plurality of slices when the file to be uploaded is judged not to be uploaded; a second obtaining module, configured to obtain chunk identifiers of the multiple slices; and the file uploading module is used for uploading the plurality of slices according to the chunk identifier.
A computer device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the file transmission method.
A non-transitory computer-readable storage medium on which a computer program is stored, the program implementing the file transfer method described above when executed by a processor.
The invention has the beneficial effects that:
the invention can effectively avoid the problem of repeated uploading of the file and greatly improve the efficiency and speed of file transmission.
Drawings
FIG. 1 is a flowchart of a file transfer method according to an embodiment of the present invention;
fig. 2 is a block diagram of a file transfer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a file transfer method according to an embodiment of the present invention.
As shown in fig. 1, the file transmission method according to the embodiment of the present invention may include the following steps:
and S1, acquiring the unique identifier of the file to be uploaded.
According to an embodiment of the invention, before obtaining the unique identifier of the file to be uploaded, the method comprises the following steps: the md5 function is used to generate a unique identification for each file.
Specifically, before the files are transmitted, the md5 function of each file can be calculated, so as to generate a unique identifier of each file, wherein the unique identifier corresponding to each file is unique because the md5 function is unique.
And S2, judging whether the file to be uploaded is uploaded according to the unique identifier.
Specifically, a separate key attribute may be added to each file, where when the key attribute is false, it is determined that the file is not uploaded; and when the key attribute is true, judging that the file is uploaded.
The key attribute of the file to be uploaded can be judged according to the unique identifier of the file to be uploaded, namely whether the file to be uploaded is uploaded or not is judged. If the key attribute is true, the file to be uploaded is uploaded, so that the file to be uploaded does not need to be uploaded any more; if the key attribute is false, it indicates that the file to be uploaded is not uploaded, and therefore, the file to be uploaded can be uploaded.
S3, if not, the file to be uploaded is segmented into a plurality of slices.
Specifically, in practical applications, the file to be uploaded may be segmented according to practical situations to generate a plurality of segments, for example, the file to be uploaded may be segmented according to the size of the file to be uploaded, or the file to be uploaded may be segmented according to a specific file to be uploaded in the file to be uploaded.
S4, chunk identifiers of the plurality of slices are obtained.
Specifically, after the file to be uploaded is divided into a plurality of slices, a corresponding unique identifier, that is, a chunk identifier, may also be set for each slice, so as to ensure the uniqueness of each slice.
And S5, uploading the plurality of slices according to the chunk identifier.
According to an embodiment of the present invention, uploading the plurality of slices according to their chunk identifications comprises: judging whether the slice to be uploaded is uploaded or not according to the chunk identifier of the slice to be uploaded; if the to-be-uploaded slice is not uploaded, uploading the to-be-uploaded slice; and if the slice to be uploaded is uploaded, acquiring the chunk identifier of the next slice, and uploading the next slice according to the chunk identifier of the next slice.
Specifically, before uploading the file to be uploaded to the server, a request may be sent to the server to obtain chunk identifiers of the slices corresponding to the file to be transmitted. When the file to be uploaded is uploaded, the chunk identifier of the slice to be uploaded is compared with the chunk identifier of the uploaded slice, so as to judge whether the slice to be uploaded is uploaded. If the slices are not uploaded, uploading the slices to be uploaded; and if the slice is uploaded, acquiring the chunk identifier of the next slice, and uploading the next slice according to the chunk identifier of the next slice, so that the uploaded slices can be ensured.
Therefore, the problem of repeated uploading of the files can be effectively avoided, and the efficiency and the speed of file transmission are greatly improved.
Based on the above embodiment, in the process of actual application, in order to meet various business requirements, a suspension mechanism may be added in the application, that is, in the process of uploading a file to be uploaded, when an upload suspension instruction is received, it may be determined whether the current slice to be uploaded has been uploaded, and if the current slice is being uploaded and the upload is not completed, the current slice to be uploaded continues to be uploaded until the upload of the current slice to be uploaded is completed; and if the current slice finishes uploading, stopping uploading of the next slice until an instruction for starting uploading is received, and then continuing to upload the next slice. Therefore, a pause mechanism is added, and the situation of repeated uploading or missing transmission can be effectively avoided.
Furthermore, when each file to be uploaded is uploaded, the total amount of the file can be determined according to the size of the file, the size of each slice can be calculated after each slice is successfully uploaded, and the transmission progress of the file to be uploaded is updated according to the size of each slice and the total amount of the file, so that a user can accurately know the progress of file transmission.
It should be noted that, in order to meet the requirements of different scenario services, it is ensured that the file can be quickly and effectively uploaded in a special environment, for example, under the condition of an abnormal file transmission network, and an offline uploading mechanism may be added.
According to an embodiment of the present invention, after determining that the file to be uploaded is not uploaded, the method further includes: judging whether the file transmission network is normal or not; if the file transmission network is normal, segmenting the file to be uploaded into a plurality of slices, and uploading the plurality of slices according to the chunk identifications of the plurality of slices; and if the file transmission network is abnormal, caching the file to be uploaded so as to upload the file to be uploaded in the cache when the file transmission network is normal.
Specifically, when a file to be uploaded is uploaded, whether a current file transmission network is normal or not can be judged firstly, if the file transmission network is normal, the file to be uploaded is segmented into a plurality of slices, and the plurality of slices are uploaded according to chunk identifications of the plurality of slices; if the file transmission network is abnormal, the file to be uploaded can be cached, and the file with transmission in the cache is uploaded and uploaded under the condition that the network is directly detected, for example, the file with transmission is transmitted to a cloud end, a server and the like. After the uploading is finished, the files to be uploaded in the cache can be cleared according to the feedback uploading result.
Thereby, the file transfer speed can be greatly improved in a special environment, for example, in the case of an abnormality in the file transfer network.
Further, in the actual application process, there are situations that a plurality of files are uploaded in batch, or a product file is large and a large file needs to be divided into a plurality of small files for batch uploading, so that a file batch uploading mechanism needs to be added.
According to an embodiment of the present invention, when there are a plurality of files to be uploaded and it is determined that none of the plurality of files to be uploaded has been uploaded, the method further includes: respectively segmenting a plurality of files to be uploaded into a plurality of slices; and simultaneously uploading a plurality of slices corresponding to a plurality of files to be uploaded by adopting a plurality of threads according to the chunk identifications of the plurality of slices corresponding to the plurality of files to be uploaded.
Specifically, when the number of the files to be uploaded is multiple, multiple threads can be adopted to upload multiple files to be transmitted simultaneously, that is, the multiple files to be uploaded can be divided into multiple slices respectively, and multiple threads are adopted to upload multiple slices corresponding to the multiple files to be uploaded simultaneously according to chunk identifications of the multiple slices corresponding to the multiple files to be uploaded.
Therefore, when the number of the files to be transmitted is multiple, the files to be transmitted can be uploaded simultaneously, and the file transmission speed and efficiency are further improved.
According to an embodiment of the present invention, further comprising: when the slice uploading fails, acquiring a chunk identifier of the slice which fails to upload and a unique identifier of a corresponding file; and generating corresponding prompt information according to the chunk identifier of the slice which fails to be uploaded and the unique identifier of the corresponding file, and automatically continuing to upload.
Specifically, in an embodiment of the present invention, an error capturing mechanism is further added, and after the slice uploading fails, the corresponding identifier of the file to be uploaded and the chunk identifier of the slice may be acquired to perform the prompt information, and the transmission is automatically continued.
It should be noted that, in order to provide a developer with more convenient and faster invocation, the file transfer application may be packaged as a separate application installation package.
In summary, according to the file transmission method of the embodiment of the present invention, the unique identifier of the file to be uploaded is obtained, and whether the file to be uploaded has been uploaded is determined according to the unique identifier, and when it is determined that the file to be uploaded has not been uploaded, the file to be uploaded is divided into a plurality of slices, chunk identifiers of the plurality of slices are obtained, and the plurality of slices are uploaded according to the chunk identifiers. Therefore, the problem of repeated uploading of the files can be effectively avoided, and the efficiency and the speed of file transmission are greatly improved.
The invention further provides a file transmission device corresponding to the file transmission method of the embodiment.
As shown in fig. 2, the file transmission apparatus according to the embodiment of the present invention may include a first obtaining module 100, a determining module 200, a file dividing module 300, a second obtaining module 400, and a file uploading module 500.
The first obtaining module 100 is configured to obtain a unique identifier of a file to be uploaded; the judging module 200 is configured to judge whether the file to be uploaded has been uploaded according to the unique identifier; the file segmentation module 300 is configured to segment the file to be uploaded into a plurality of slices when it is determined that the file to be uploaded is not uploaded; the second obtaining module 400 is configured to obtain chunk identifiers of multiple slices; the file upload module 500 is configured to upload the plurality of slices according to the chunk identifier.
According to an embodiment of the present invention, before acquiring the unique identifier of the file to be uploaded, the first acquiring module 100 is further configured to: the md5 function is used to generate a unique identification for each file.
According to an embodiment of the present invention, after the determining module 200 determines that the file to be uploaded is not uploaded, the file uploading module 500 is further configured to: and judging whether the file transmission network is normal or not. If the file transmission network is normal, the file segmentation module 300 segments the file to be uploaded into a plurality of slices, and the file uploading module 500 uploads the plurality of slices according to chunk identifiers of the plurality of slices; if the file transmission network is abnormal, the file uploading module 500 caches the file to be uploaded, so that when the file transmission network is normal, the file to be uploaded in the cache is uploaded.
According to an embodiment of the present invention, the file uploading module 500 is specifically configured to: judging whether the slice to be uploaded is uploaded or not according to the chunk identifier of the slice to be uploaded; if the to-be-uploaded slice is not uploaded, uploading the to-be-uploaded slice; and if the slice to be uploaded is uploaded, acquiring the chunk identifier of the next slice, and uploading the next slice according to the chunk identifier of the next slice.
According to an embodiment of the present invention, when the number of the files to be uploaded is multiple and it is determined that none of the multiple files to be uploaded is uploaded, the file splitting module 300 is further configured to: and respectively segmenting the files to be uploaded into a plurality of slices. The file uploading module 500 may upload multiple slices corresponding to multiple files to be uploaded simultaneously by using multiple threads according to chunk identifiers of the multiple slices corresponding to the multiple files to be uploaded.
According to an embodiment of the present invention, the file uploading module 500 is further configured to: when the slice uploading fails, acquiring a chunk identifier of the slice which fails to upload and a unique identifier of a corresponding file; and generating corresponding prompt information according to the chunk identifier of the slice which fails to be uploaded and the unique identifier of the corresponding file, and automatically continuing to upload.
It should be noted that, for a more specific implementation of the file transmission apparatus according to the embodiment of the present invention, reference may be made to the above-mentioned embodiment of the file transmission method, and details are not described herein again.
According to the file transmission device provided by the embodiment of the invention, the first acquisition module is used for acquiring the unique identifier of the file to be uploaded, the judgment module is used for judging whether the file to be uploaded is uploaded or not according to the unique identifier, the file to be uploaded is segmented into a plurality of slices when the file to be uploaded is judged not to be uploaded through the file segmentation module, the second acquisition module is used for acquiring the chunk identifiers of the plurality of slices, and the file uploading module is used for uploading the plurality of slices according to the chunk identifiers. Therefore, the problem of repeated uploading of the files can be effectively avoided, and the efficiency and the speed of file transmission are greatly improved.
The invention further provides a computer device corresponding to the embodiment.
The computer device of the embodiment of the invention comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and when the processor executes the program, the file transmission method of the embodiment is realized.
According to the computer equipment provided by the embodiment of the invention, the problem of repeated uploading of the file can be effectively avoided, and the efficiency and the speed of file transmission are greatly improved. .
The invention also provides a non-transitory computer readable storage medium corresponding to the above embodiment.
A non-transitory computer-readable storage medium of an embodiment of the present invention stores thereon a computer program that realizes the above-described file transfer method when executed by a processor.
According to the non-transitory computer readable storage medium provided by the embodiment of the invention, the problem of repeated uploading of files can be effectively avoided, and the efficiency and the speed of file transmission are greatly improved.
In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The meaning of "plurality" is two or more unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (9)

1. A file transmission method is characterized by comprising the following steps:
acquiring a unique identifier of a file to be uploaded;
judging whether the file to be uploaded is uploaded according to the unique identifier;
if not, the file to be uploaded is segmented into a plurality of slices;
acquiring chunk marks of the multiple slices;
and uploading the plurality of slices according to the chunk identification.
2. The file transmission method according to claim 1, comprising, before obtaining the unique identifier of the file to be uploaded:
the md5 function is used to generate a unique identification for each file.
3. The file transmission method according to claim 1, further comprising, after determining that the file to be uploaded is not uploaded:
judging whether the file transmission network is normal or not;
if the file transmission network is normal, the file to be uploaded is divided into a plurality of slices, and the plurality of slices are uploaded according to chunk identifications of the plurality of slices;
and if the file transmission network is abnormal, caching the file to be uploaded so as to upload the file to be uploaded in the cache when the file transmission network is normal.
4. The file transmission method according to claim 3, wherein uploading the plurality of slices according to their chunk identifiers comprises:
judging whether the slice to be uploaded is uploaded or not according to the chunk identifier of the slice to be uploaded;
if the slice to be uploaded is not uploaded, uploading the slice to be uploaded;
and if the slice to be uploaded is uploaded, acquiring a chunk identifier of the next slice, and uploading the next slice according to the chunk identifier of the next slice.
5. The file transmission method according to claim 1, wherein when there are a plurality of files to be uploaded and it is determined that none of the plurality of files to be uploaded has been uploaded, the method further comprises:
respectively segmenting the files to be uploaded into a plurality of slices;
and simultaneously uploading the plurality of slices corresponding to the plurality of files to be uploaded by adopting a plurality of threads according to the chunk identifications of the plurality of slices corresponding to the plurality of files to be uploaded.
6. The file transfer method according to any one of claims 1 to 5, further comprising:
when the slice uploading fails, acquiring a chunk identifier of the slice which fails to upload and a unique identifier of a corresponding file;
and generating corresponding prompt information according to the chunk identifier of the slice which fails to be uploaded and the unique identifier of the corresponding file, and automatically continuing to upload.
7. A file transfer apparatus, comprising:
the first acquisition module is used for acquiring the unique identifier of the file to be uploaded;
the judging module is used for judging whether the file to be uploaded is uploaded according to the unique identifier;
the file segmentation module is used for segmenting the file to be uploaded into a plurality of slices when the file to be uploaded is judged not to be uploaded;
a second obtaining module, configured to obtain chunk identifiers of the multiple slices;
and the file uploading module is used for uploading the plurality of slices according to the chunk identifier.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements a file transfer method according to any of claims 1-6.
9. A non-transitory computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing a file transfer method according to any one of claims 1 to 6.
CN202011257970.1A 2020-11-11 2020-11-11 File transmission method and device Pending CN112383614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011257970.1A CN112383614A (en) 2020-11-11 2020-11-11 File transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011257970.1A CN112383614A (en) 2020-11-11 2020-11-11 File transmission method and device

Publications (1)

Publication Number Publication Date
CN112383614A true CN112383614A (en) 2021-02-19

Family

ID=74582905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011257970.1A Pending CN112383614A (en) 2020-11-11 2020-11-11 File transmission method and device

Country Status (1)

Country Link
CN (1) CN112383614A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055455A (en) * 2021-03-09 2021-06-29 中国联合网络通信集团有限公司 File uploading method and equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699822A (en) * 2009-08-06 2010-04-28 腾讯科技(深圳)有限公司 File uploading method and device, and mass storage system
CN106375483A (en) * 2016-11-09 2017-02-01 腾讯科技(深圳)有限公司 File transmission method and device
CN108881461A (en) * 2018-07-02 2018-11-23 深圳市茁壮网络股份有限公司 A kind of data transmission method, apparatus and system
CN109361754A (en) * 2018-11-05 2019-02-19 中国广核电力股份有限公司 A kind of document transmission method and device based on browser
CN109361772A (en) * 2018-12-13 2019-02-19 浪潮电子信息产业股份有限公司 File uploading method and device in distributed object storage system
CN109831506A (en) * 2019-01-31 2019-05-31 百度在线网络技术(北京)有限公司 File uploading method, device, terminal, server and readable storage medium storing program for executing
CN109951514A (en) * 2019-01-16 2019-06-28 平安科技(深圳)有限公司 Document handling method, system and computer equipment based on cloud storage
CN111031110A (en) * 2019-11-29 2020-04-17 山东英信计算机技术有限公司 File uploading method and device, electronic equipment and storage medium
CN111404990A (en) * 2020-02-14 2020-07-10 Oppo(重庆)智能科技有限公司 File transmission method, device, client and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699822A (en) * 2009-08-06 2010-04-28 腾讯科技(深圳)有限公司 File uploading method and device, and mass storage system
CN106375483A (en) * 2016-11-09 2017-02-01 腾讯科技(深圳)有限公司 File transmission method and device
CN108881461A (en) * 2018-07-02 2018-11-23 深圳市茁壮网络股份有限公司 A kind of data transmission method, apparatus and system
CN109361754A (en) * 2018-11-05 2019-02-19 中国广核电力股份有限公司 A kind of document transmission method and device based on browser
CN109361772A (en) * 2018-12-13 2019-02-19 浪潮电子信息产业股份有限公司 File uploading method and device in distributed object storage system
CN109951514A (en) * 2019-01-16 2019-06-28 平安科技(深圳)有限公司 Document handling method, system and computer equipment based on cloud storage
CN109831506A (en) * 2019-01-31 2019-05-31 百度在线网络技术(北京)有限公司 File uploading method, device, terminal, server and readable storage medium storing program for executing
CN111031110A (en) * 2019-11-29 2020-04-17 山东英信计算机技术有限公司 File uploading method and device, electronic equipment and storage medium
CN111404990A (en) * 2020-02-14 2020-07-10 Oppo(重庆)智能科技有限公司 File transmission method, device, client and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055455A (en) * 2021-03-09 2021-06-29 中国联合网络通信集团有限公司 File uploading method and equipment

Similar Documents

Publication Publication Date Title
CN108833184B (en) Service fault positioning method and device, computer equipment and storage medium
TWI510955B (en) Data monitoring method, system and its server side, the client side
CN106302565B (en) Scheduling method and system of service server
CN109995866B (en) Distributed file verification method and device, computer device and storage medium
CN110929880A (en) Method and device for federated learning and computer readable storage medium
CN110971485B (en) Service index monitoring system and method
CN106095832B (en) Distributed parallel data processing method and device
CN110618889A (en) Service availability detection method and device, computer equipment and storage medium
CN110198330B (en) Mirror image downloading method and device
CN110187995B (en) Method for fusing opposite end node and fusing device
CN109726062B (en) Off-line method of proxy server and control server
CN110096305B (en) Gray scale distribution method, device, equipment and storage medium
CN112383614A (en) File transmission method and device
CN115858221A (en) Management method and device of storage equipment, storage medium and electronic equipment
CN109660964B (en) Communication method, device, equipment and computer readable medium of sensor
CN110602229A (en) Terminal system version downloading method, device and system based on dynamic slicing
CN112783906A (en) Log data management method and system for industrial internet
CN112182579A (en) Process list generation method and device and abnormal process detection method and device
CN109729062B (en) Online method of encryption server and proxy server
CN115185723B (en) Region meta-information restoration method, system, device and storage medium
CN110798492A (en) Data storage method and device and data processing system
CN110674079B (en) Log file recording method and device
CN113746920B (en) Data forwarding method and device, electronic equipment and computer readable storage medium
CN115048272A (en) Container monitoring processing method, device, host, system, storage medium and program product
CN112468578B (en) Real-time industrial data acquisition system and method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210219