CN103281349A - File transmission method, terminal and server - Google Patents

File transmission method, terminal and server Download PDF

Info

Publication number
CN103281349A
CN103281349A CN2013101343540A CN201310134354A CN103281349A CN 103281349 A CN103281349 A CN 103281349A CN 2013101343540 A CN2013101343540 A CN 2013101343540A CN 201310134354 A CN201310134354 A CN 201310134354A CN 103281349 A CN103281349 A CN 103281349A
Authority
CN
China
Prior art keywords
file
server
sequence identification
corresponding document
files
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
CN2013101343540A
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.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media 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 TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN2013101343540A priority Critical patent/CN103281349A/en
Publication of CN103281349A publication Critical patent/CN103281349A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a file transmission method, which comprises the following steps: generating a file transmission request including transmission identifiers and file quantity to be uploaded to a server; according to the file quantity, distributing a sequence identifier to each file to be transmitted; and transmitting the sequence identifiers and corresponding files to the server. The invention also discloses a terminal and a serve for realizing the method. According to the invention, the file transmission process is monitored, and by setting the sequence identifiers, the files in batch transmission can be orderly arranged, so that whether each file is finally successfully transmitted is monitored.

Description

A kind of document sending method, terminal and server
Technical field
The present invention relates to Internet technical field, relate in particular to a kind of document sending method, terminal and server.
Background technology
When uploading file in enormous quantities to server, the situation that partial document is uploaded failure might occur at present, thereby make other users can't browse the complete content of this batch file.For example, when uploading large quantities of pictures to server, if there is the part picture to upload failure, then other users can't see the picture of uploading failure, cause can't be complete the browsing pictures content.
Particularly for the speaker who prepares speech, wish just can allow other people browse after document or introductory content are uploaded successfully fully.When uploading the speech draft of forms such as PPT, WORD, PDF, the file with above-mentioned form extracts into many scattered picture files often, in the upload procedure, if wherein certain file sends failure, then needs to open starting weight from first and newly sends.Therefore, the present inventor finds that the task of needing once to send big batch file is regarded a process as, and can monitor and support the solution of breakpoint transmission to whole process.
Summary of the invention
The embodiment of the invention provides a kind of document sending method, terminal and server, be used for to realize the order when file in enormous quantities is uploaded and each file is uploaded monitor.
For reaching above-mentioned purpose, the present invention by the following technical solutions:
A kind of document sending method, this method comprises:
Generation comprises the file transmission request that sends sign and quantity of documents and uploads onto the server;
According to the file allocation sequence identification of described quantity of documents for each needs transmission;
Send described sequence identification and corresponding document to described server.
Present embodiment has been realized this file process of transmitting is monitored by described transmission sign, and by sequence identification is set the file that sends is in batches arranged in order, so that whether monitor the final transmission of each file successful, if certain file sends failure, then will resend with its file with same sequence sign, all send success to guarantee this batch file with same sequence sign.
When sending corresponding document and described transmission sign to described server successively according to described sequence identification, also comprise:
Whether the corresponding document of judging current transmission interrupts;
If the corresponding document of described current transmission interrupts, then resend the corresponding document of described interruption and sequence identification to described server.
A kind of file sends terminal, comprising:
Request module be used for to generate and to comprise that the file that sends sign and quantity of documents sends and ask and upload onto the server;
Order module is used for the file allocation sequence identification that sends for each needs according to described quantity of documents;
Sending module is used for sending described transmission sign and corresponding document to described server.
Described sending module also comprises:
Judging unit is used for judging whether the corresponding document of current transmission interrupts;
Transmitting element when the corresponding document of described current transmission interrupts, is used for resending the corresponding document of described interruption and sequence identification to described server.
A kind of document sending method, this method comprises:
Receive sequence identification and the corresponding document of the current transmission sign of having of self terminal;
After receiving all files with described current transmission sign, show the described all files of receiving.Present embodiment has been realized this file process of transmitting is monitored by described transmission sign, and by sequence identification is set the file that sends is in batches arranged in order, so that whether monitor the final transmission of each file successful, if certain file sends failure, then will resend to server with its file with same sequence sign, all successfully be kept at server end to guarantee this batch file with same sequence sign.
Preferably, described method also comprises: after receiving all files with described current transmission sign, shield described current transmission sign; If the alternative document from described terminal has the described transmission sign that has shielded, then feedback error information is to described terminal.Avoid server end to obscure different file process of transmittings twice, cause the mistake of file to cover and renewal.
When described reception came the sequence identification of the current transmission of having of self terminal sign and corresponding document, described method also comprises: whether the sequence identification of judging adjacent twice reception was identical; If the sequence identification of adjacent twice reception is identical, the corresponding document that once receives before the corresponding document that once receives after then using covers; Send feedback information to described terminal.
A kind of file transmitting server comprises:
Receiver module is used for the sequence identification and the corresponding document that receive the current transmission of having of self terminal to identify;
Display module, receive all files with described current transmission sign after, be used for showing the described all files of receiving.
Preferably, described server also comprises: shroud module after receiving all files with described current transmission sign, is used for the described current transmission sign of shielding; The module that reports an error when the alternative document from described terminal has the described transmission sign that has shielded, is used for feedback error information to described terminal.
Preferably, described server also comprises: judge module is used for judging whether the sequence identification of adjacent twice reception is identical; Preserve module, when the sequence identification of adjacent twice reception is identical, then with after the corresponding document that once receives before covering of the corresponding document that once receives; Feedback module is used for sending feedback information to described terminal.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of writing, claims and accompanying drawing.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 (a) is the flow chart of a kind of document sending method of providing of the embodiment of the invention one;
Fig. 1 (b) is the particular flow sheet when sending corresponding document and described transmission sign to described server successively according to described sequence identification in the embodiment of the invention one;
Fig. 2 (a) is the structural representation that a kind of file that the embodiment of the invention one provides sends terminal;
The structural representation of sending module described in Fig. 2 (b) embodiment of the invention one;
Fig. 3 is the flow chart of a kind of document sending method of providing of the embodiment of the invention two;
Fig. 4 is the structural representation of a kind of file transmitting server of providing of the embodiment of the invention two;
Fig. 5 is the flow chart of a kind of document sending method of providing of the embodiment of the invention three;
Fig. 6 is the structural representation of a kind of file transmitting server of providing of the embodiment of the invention three;
Fig. 7 is the flow chart of a kind of document sending method of providing of the embodiment of the invention four;
Fig. 8 is the structural representation of a kind of file transmitting server of providing of the embodiment of the invention four;
Fig. 9 is the flow chart of a kind of document sending method of providing of the embodiment of the invention five;
Figure 10 is the structural representation of a kind of file transmitting server of providing of the embodiment of the invention five;
Figure 11 is the flow chart of a kind of document sending method of providing of the embodiment of the invention six;
Figure 12 is the structural representation of a kind of file transmitting server of providing of the embodiment of the invention six.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in restriction the present invention.
Fig. 1 (a) is the flow chart of a kind of document sending method of providing of the embodiment of the invention one, and this method comprises:
S101, generation comprises the file transmission request that sends sign and quantity of documents and uploads onto the server.
The terminal that needs to send file is at first sent file transmission request to server, comprises sending in the described file transmission request identifying and quantity of documents.Described transmission sign is the character string that described terminal generates at random, is used for identifying this to the process of server transmission file, and described quantity of documents refers to the total number of files that terminal to server described in this process of transmitting sends.For example described transmission is designated " abcd ", and quantity of documents is 100.Described service end can begin to receive file after responding described transmission file request.
Described file sends in the request can also comprise store path.Comprise store path if the file that described server receives sends in the request, then described server all is saved to described store path with all files that receives in this process of transmitting.
S102 is according to the file allocation sequence identification of described quantity of documents for each needs transmission.
After server responded described file transmission request, described terminal was each file allocation sequence identification that need send according to the quantity of documents in the described file transmission request.For example, described quantity of documents is 100, and then this need send 100 files to server, and default each 4 files that send then need send 25 times, and the sequence identification of distribution is 1~25, sequence identification of per 4 file allocation.
S103 sends described sequence identification and corresponding document to described server.
Described terminal sends described sequence identification and corresponding document to described server.For example, elder generation's sending order is designated 4 files of 1 and sends sign " abcd " to server, sending order is designated 4 files of 2 and sends sign " abcd " to server again, until being 4 files of 25 with sequence identification and sending sign " abcd " till the server that this process that sends 100 files finishes.Further may further comprise the steps in the said process, shown in Fig. 1 (b):
S103a judges whether the corresponding document of current transmission interrupts.
Whether interrupt when judging the corresponding document that sends successively according to the sequence identification that has distributed, for example, when the terminal sending order is designated 4 files of 2, judge whether these 4 files interruption take place and cause certain file to send failure in transport process.
S103b if the corresponding document of described current transmission interrupts, then resends the corresponding document of described interruption and sequence identification to described server.
For example, sending order interrupts when being designated 4 files of 2, and wherein certain file sends failure or imperfect, then resends described sequence identification and be 4 files of 2 and described sequence identification " 2 " to described server.
When resending described corresponding document and disruption do not occur, described corresponding document is successfully sent and is kept at server, and described server sends feedback information that expression resends success to described terminal.For example, the sequence identification of above-mentioned interruption is after 4 files of 2 resend successfully, and described server sends the feedback information of " sequence identification is that 2 file sends successfully " to described terminal.
Described terminal continues to send alternative document successively according to sequence identification after determining that according to described feedback information the file that interrupts is uploaded successfully again.If described terminal is not received described feedback information, then resend the corresponding document of described interruption and sequence identification to described server, send success or people for stopping whole process of transmitting until it.
Present embodiment has been realized this file process of transmitting is monitored by described transmission sign, and by sequence identification is set the file that sends is in batches arranged in order, so that whether monitor the final transmission of each file successful, if certain file sends failure, then will resend with its file with same sequence sign, all send success to guarantee this batch file with same sequence sign.
Preferably, can be the different sequence identification of each file allocation that need send in the present embodiment, send a file to described server according to described sequence identification is each.For example, when needing to send 100 files altogether, for each file distributes from 1 to 100 different sequence identification respectively, namely only send a file to server at every turn.So both can be detailed know current uploading a little, for example the quantity of documents that always need upload is N, the current quantity of uploading is M, the progress of then uploading is M/N; Can also simpler use breakpoint transmission characteristic, reduced complexity when resending a plurality of file.
Accordingly, the embodiment of the invention one provides a kind of file to send terminal, shown in Fig. 2 (a), comprising:
Request module 20 be used for to generate and to comprise that the file that sends sign and quantity of documents sends and ask and upload onto the server;
Order module 21 is used for the file allocation sequence identification that sends for each needs according to described quantity of documents;
Sending module 22 is used for sending described sequence identification and corresponding document to described server.
Described sending module 22 further comprises shown in Fig. 2 (b):
Judging unit 220 is used for judging whether the corresponding document of current transmission interrupts;
Transmitting element 221, when the corresponding document of described current transmission interrupted, described transmitting element 221 was used for resending the corresponding document of described interruption and sequence identification to described server.
Preferably, the order module 21 of described terminal is the different sequence identification of each file allocation that need send, and module 22 takes place send a file to described server according to described sequence identification is each.
Fig. 3 is the flow chart of a kind of document sending method of providing of the embodiment of the invention two, and as shown in Figure 3, this method comprises:
S301, the sequence identification and the corresponding document that receive the current transmission of having of self terminal to identify;
Server responds the file of self terminal to send request, and described file sends request and comprises transmission sign and quantity of documents.Described transmission sign is the character string that described terminal generates at random, and server is according to the process of the described terminal transmission of described transmission sign identification file, and described quantity of documents refers to the total number of files that terminal to server described in this process of transmitting sends.For example described transmission is designated " abcd ", and quantity of documents is 100.Described server can begin to receive file after responding described transmission file request.
Described file sends in the request can also comprise store path.Comprise store path if the file that described server receives sends in the request, then described server all is saved to described store path with all files that receives in this process of transmitting.
Described terminal is each file allocation sequence identification that need send according to the quantity of documents in the described file transmission request.For example, described quantity of documents is 100, and then this need send 100 files to server, and default each 4 files that send then need send 25 times, and the sequence identification of distribution is 1~25, sequence identification of per 4 file allocation.Server receives corresponding document and described transmission sign and the preservation that described terminal sends according to sequence identification successively.
S302, receive all files with described current transmission sign after, show the described all files of receiving.
After server judged that according to described transmission sign and quantity of documents all files finishes receiving, all files that will have described transmission sign was showed together.
Present embodiment has been realized this file process of transmitting is monitored by described transmission sign, and by sequence identification is set the file that sends is in batches arranged in order, so that whether monitor the final transmission of each file successful, to guarantee that this batch file with same sequence sign all successfully is kept at server end, the file that has identical transmission sign is the most at last showed together.
Preferably, in the present embodiment, each file that server receives can be furnished with different sequence identifications, and the described terminal of the each reception of described server is according to a file of described sequence identification transmission.For example, when needing to receive 100 files altogether, for each file distributes from 1 to 100 different sequence identification respectively, namely server receives only a file at every turn.So both can be detailed know current uploading a little, for example the quantity of documents that always need upload is N, the current quantity of uploading is M, the progress of then uploading is M/N; Can also simpler use breakpoint transmission characteristic, reduced complexity when resending a plurality of file.
Accordingly, the embodiment of the invention two also provides a kind of file transmitting server, as shown in Figure 4, comprising:
Receiver module 40 is used for the sequence identification and the corresponding document that receive the current transmission of having of self terminal to identify;
Display module 41, receive all files with described current transmission sign after, be used for showing the described all files of receiving.
Preferably, the described terminal of described receiver module 40 each receptions is according to a file of described sequence identification transmission.
The embodiment of the invention three further provides a kind of document sending method, and its flow process comprises as shown in Figure 5:
S501, the sequence identification and the corresponding document that receive the current transmission of having of self terminal to identify.With identical described in the S301, do not do repetition at this.
S502, receive all files with described current transmission sign after, show the described all files of receiving.With identical described in the S302, do not do repetition at this.
S503 shields described current transmission sign.
After server receives and preserves the corresponding document of described terminal according to the sequence identification transmission successively, transmission identification shielding with the current process of transmitting of representative, if next other process of transmittings also have identical transmission sign, then server is used the file of newly uploading and is covered original file, the confusion that causes file to preserve, for being very difficult for this to happen, used transmission sign does not allow to reuse, and need shield.
S504, if having the described transmission sign that has shielded from the alternative document of described terminal, then feedback error information is to described terminal.
Preferably, in the present embodiment, each file that server receives can be furnished with different sequence identifications, and the described terminal of the each reception of described server is according to a file of described sequence identification transmission.
If the alternative document from described terminal sends the transmission sign that comprises conductively-closed in the request, then server feedback reports an error information to described terminal.Described terminal is sent new file transmission request after need generating new transmission sign at random again, avoids server end to obscure different file process of transmittings twice, causes the mistake of file to cover and renewal.
The corresponding embodiment of the invention three further provides a kind of file transmitting server, as shown in Figure 6, comprising:
Receiver module 60 is used for receiving sequence identification and the corresponding document that described terminal sends;
Display module 61, receive all files with described current transmission sign after, be used for showing the described all files of receiving;
Shroud module 62 is used for the described current transmission sign of shielding;
The module 63 that reports an error when the alternative document from described terminal has the described transmission sign that has shielded, is used for feedback error information to described terminal.
The embodiment of the invention four provides a kind of document sending method, and its flow process comprises as shown in Figure 7:
S701, the sequence identification and the corresponding document that receive the current transmission of having of self terminal to identify.With identical described in the S301, do not do repetition at this.
S702, receive all files with described current transmission sign after, the described all files of receiving is spliced into a file by described sequence identification.
When described terminal is uploaded files such as Word, PPT, PDF with the paging of picture form, with the page number of files such as described Word, PPT, PDF as described sequence identification.After all pagings uploaded onto the server, server was spliced into a complete picture file according to described sequence identification with the picture of paging, and described sequence identification can guarantee that the preceding order of spliced file and paging is identical.In like manner, for too can be with its time label as described sequence identification and carry out segmentation and upload by the video file broken up, be spliced into complete video file again after being uploaded to described server.
S703 shows the file that is spliced among the described S702.Described server is showed spliced complete file.
Preferably, in the present embodiment, each file that server receives can be furnished with different sequence identifications, and the described terminal of the each reception of described server is according to a file of described sequence identification transmission.
The embodiment of the invention four is uploaded respectively after having realized a file broken up, and the process by showing again after the server splicing is applicable to the situation that the super large file is uploaded and showed.
Accordingly, the embodiment of the invention four provides a kind of file transmitting server, as shown in Figure 8, comprising:
Receiver module 80 is used for the sequence identification and the corresponding document that receive the current transmission of having of self terminal to identify;
Concatenation module 81 after receiving all files with described current transmission sign, is spliced into a file with the described all files of receiving by described sequence identification;
Display module 82 is used for showing spliced complete file.
Fig. 9 is a kind of document sending method that the embodiment of the invention five provides, and this method comprises:
S901, the sequence identification and the corresponding document that receive the current transmission of having of self terminal to identify.With identical described in the S301, do not do repetition at this.
S902 judges whether the sequence identification of twice reception is identical.
When server receives the corresponding document that described terminal sends according to sequence identification successively, judge whether the sequence identification of file of twice reception is identical, if identical then illustrate that described terminal uploaded the file corresponding with described sequence identification again.
For example, the sequence identification of server being identified the file of twice reception all is " 2 ", judges that then it is 2 file that terminal has resend sequence identification.
S903, if the sequence identification of twice reception is identical, the corresponding document that once receives before the corresponding document that once receives after then using covers.Server is preserved corresponding document according to described sequence identification, and with after the file that once receives cover before the file of reception once.
S904 sends feedback information to described terminal.
The document order of twice reception of server identifies when identical, illustrate that disruption appears in a preceding file when sending, it is imperfect to cause file to be uploaded, after after once file uploads successfully again, described server sends feedback information that expression resends success to described terminal.Described server continues to receive the alternative document that described terminal sends successively according to sequence identification.
S905, receive all files with described current transmission sign after, show the described all files of receiving.With identical described in the S302, do not do repetition at this.
Preferably, in the present embodiment, each file that server receives can be furnished with different sequence identifications, and the described terminal of the each reception of described server is according to a file of described sequence identification transmission.
Embodiment of the invention five-way is crossed described transmission sign and has been realized this file process of transmitting is monitored, and by sequence identification is set the file that sends is in batches arranged in order, so that whether monitor the final transmission of each file successful, if certain file sends failure, the file that interrupts before then covering with the file of receiving again that has the same sequence sign with it, realize the function of breakpoint transmission, all successfully be kept at server end to guarantee this batch file with same sequence sign.
Accordingly, the embodiment of the invention five provides a kind of file transmitting server, as shown in figure 10, comprising:
Receiver module 100 is used for the sequence identification and the corresponding document that receive the current transmission of having of self terminal to identify;
Judge module 101 is used for judging whether the sequence identification of twice reception is identical;
Preserve module 102, when the sequence identification of twice reception is identical, the corresponding document that once receives before the corresponding document that once receives after being used for covers;
Feedback module 103 is used for sending feedback information to described terminal;
Display module 104, receive all files with described current transmission sign after, be used for showing the described all files of receiving.
Figure 11 is a kind of document sending method that the embodiment of the invention six provides, and this method comprises:
S1101, the sequence identification and the corresponding document that receive the current transmission of having of self terminal to identify.With identical described in the S301, do not do repetition at this.
S1102 judges whether the sequence identification of twice reception is identical.With identical described in the S902, do not do repetition at this.
S1103, if the sequence identification of twice reception is identical, the corresponding document that once receives before the corresponding document that once receives after then using covers.With identical described in the S903, do not do repetition at this.
S1104 sends feedback information to described terminal.With identical described in the S904, do not do repetition at this.
S1105, receive all files with described current transmission sign after, the described all files of receiving is spliced into a file by described sequence identification.With identical described in the S702, do not do repetition at this.
S1106 shows the file that is spliced among the described S1105.
S1107 shields described current transmission sign.With identical described in the S503, do not do repetition at this.
S1108, if having the described transmission sign that has shielded from the alternative document of described terminal, then feedback error information is to described terminal.With identical described in the S504, do not do repetition at this.
Preferably, in the present embodiment, each file that server receives can be furnished with different sequence identifications, and the described terminal of the each reception of described server is according to a file of described sequence identification transmission.
The embodiment of the invention six has realized this file process of transmitting is monitored by described transmission sign, and by sequence identification is set the file that sends is in batches arranged in order, so that whether monitor the final transmission of each file successful, to guarantee that this batch file with same sequence sign all successfully is kept at server end, the file that has identical transmission sign is the most at last showed together; Upload respectively after having realized a file broken up, the process by showing again after the server splicing is applicable to the situation that the super large file is uploaded and showed; The transmission sign of having used by shielding has avoided server end to obscure different file process of transmittings twice simultaneously, causes the mistake of file to cover and renewal; Also realize the function of breakpoint transmission, all successfully be kept at server end to guarantee this batch file with same sequence sign.
Accordingly, the embodiment of the invention six provides a kind of file transmitting server, as shown in figure 12, comprising:
Receiver module 120 is used for the sequence identification and the corresponding document that receive the current transmission of having of self terminal to identify;
Judge module 121 is used for judging whether the sequence identification of twice reception is identical;
Preserve module 122, when the sequence identification of twice reception is identical, the corresponding document that once receives before the corresponding document that once receives after being used for covers;
Feedback module 123 is used for sending feedback information to described terminal;
Concatenation module 124 after receiving all files with described current transmission sign, is spliced into a file with the described all files of receiving by described sequence identification
Display module 125 is used for showing spliced file;
Shroud module 126 is used for the described current transmission sign of shielding;
The module 127 that reports an error when the alternative document from described terminal has the described transmission sign that has shielded, is used for feedback error information to described terminal.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware embodiment, complete software embodiment or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make and carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (14)

1. a document sending method is characterized in that, this method comprises:
Generation comprises the file transmission request that sends sign and quantity of documents and uploads onto the server;
According to the file allocation sequence identification of described quantity of documents for each needs transmission;
Send described sequence identification and corresponding document to described server.
2. the method for claim 1 is characterized in that, when sending corresponding document and described transmission sign to described server according to described sequence identification, also comprises:
Whether the corresponding document of judging current transmission interrupts;
If the corresponding document of described current transmission interrupts, then resend the corresponding document of described interruption and sequence identification to described server.
3. a file sends terminal, it is characterized in that, comprising:
Request module be used for to generate and to comprise that the file that sends sign and quantity of documents sends and ask and upload onto the server;
Order module is used for the file allocation sequence identification that sends for each needs according to described quantity of documents;
Sending module is used for sending described transmission sign and corresponding document to described server.
4. terminal as claimed in claim 3 is characterized in that, described sending module also comprises:
Judging unit is used for judging whether the corresponding document of current transmission interrupts;
Transmitting element, when the corresponding document of described current transmission interrupted, described transmitting element was used for resending the corresponding document of described interruption and sequence identification to described server.
5. a document sending method is characterized in that, this method comprises:
Receive sequence identification and the corresponding document of the current transmission sign of having of self terminal;
After receiving all files with described current transmission sign, show the described all files of receiving.
6. method as claimed in claim 5 is characterized in that, described method also comprises:
After receiving all files with described current transmission sign, shield described current transmission sign.
7. method as claimed in claim 6 is characterized in that,
If the alternative document from described terminal has the described transmission sign that has shielded, then feedback error information is to described terminal.
8. method as claimed in claim 5 is characterized in that, shows before the described all files of receiving, also comprises:
The described all files of receiving is spliced into a file by described sequence identification.
9. as the arbitrary described method of claim 5-8, it is characterized in that when receive the sequence identification of the current transmission sign of having of self terminal and corresponding document, this method also comprises:
Whether the sequence identification of judging twice reception is identical;
If the sequence identification of twice reception is identical, the corresponding document that once receives before the corresponding document that once receives after then using covers;
Send feedback information to described terminal.
10. a file transmitting server is characterized in that, comprising:
Receiver module is used for the sequence identification and the corresponding document that receive the current transmission of having of self terminal to identify;
Display module, receive all files with described current transmission sign after, be used for showing the described all files of receiving.
11. server as claimed in claim 10 is characterized in that, described server also comprises:
Shroud module after receiving all files with described current transmission sign, is used for the described current transmission sign of shielding.
12. server as claimed in claim 11 is characterized in that, described server also comprises:
The module that reports an error when the alternative document from described terminal has the described transmission sign that has shielded, is used for feedback error information to described terminal.
13. server as claimed in claim 10 is characterized in that, described server also comprises:
Concatenation module is used for the described all files of receiving is spliced into a file by described sequence identification.
14. as the arbitrary described server of claim 10-13, it is characterized in that described server also comprises:
Judge module is used for judging whether the sequence identification of twice reception is identical;
Preserve module, when the sequence identification of twice reception is identical, then with after the corresponding document that once receives before covering of the corresponding document that once receives;
Feedback module is used for sending feedback information to described terminal.
CN2013101343540A 2013-04-17 2013-04-17 File transmission method, terminal and server Pending CN103281349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101343540A CN103281349A (en) 2013-04-17 2013-04-17 File transmission method, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013101343540A CN103281349A (en) 2013-04-17 2013-04-17 File transmission method, terminal and server

Publications (1)

Publication Number Publication Date
CN103281349A true CN103281349A (en) 2013-09-04

Family

ID=49063794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101343540A Pending CN103281349A (en) 2013-04-17 2013-04-17 File transmission method, terminal and server

Country Status (1)

Country Link
CN (1) CN103281349A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797717A (en) * 2016-09-02 2018-03-13 阿里巴巴集团控股有限公司 Method for pushing, display methods, client device and data handling system
CN111400254A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 File display method and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110759A (en) * 2006-07-20 2008-01-23 朗迅科技公司 Peer-to-peer file download system for IPTV network
CN101729593A (en) * 2008-11-03 2010-06-09 北大方正集团有限公司 Method, system and device for uploading and receiving file
CN102035859A (en) * 2009-09-28 2011-04-27 北大方正集团有限公司 Method, system and device for displaying upload progress

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110759A (en) * 2006-07-20 2008-01-23 朗迅科技公司 Peer-to-peer file download system for IPTV network
CN101729593A (en) * 2008-11-03 2010-06-09 北大方正集团有限公司 Method, system and device for uploading and receiving file
CN102035859A (en) * 2009-09-28 2011-04-27 北大方正集团有限公司 Method, system and device for displaying upload progress

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797717A (en) * 2016-09-02 2018-03-13 阿里巴巴集团控股有限公司 Method for pushing, display methods, client device and data handling system
CN111400254A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 File display method and equipment
CN111400254B (en) * 2019-01-02 2023-08-15 中国移动通信有限公司研究院 File display method and device

Similar Documents

Publication Publication Date Title
KR101695917B1 (en) Method, system and recording medium for managing group message
CN107425942B (en) Method and device for sending, forwarding and transmitting data
CN109474688B (en) Method, device, equipment and medium for sending instant communication network request message
JP6091564B2 (en) Mobile device, communication method and recording medium
CA2883224C (en) Information transmission method, apparatus, and system, terminal, and server
CN105900121B (en) Method for generating an activity stream
JP2017502415A (en) Method and apparatus for document sharing between user groups
CN104135753A (en) Wireless network access method, wireless network access device, terminal and server
WO2014206347A1 (en) Cross-terminal input method, apparatus and system
CN102098330A (en) Method, device and system for asynchronous transmission based on json data format
EP3382578A1 (en) Two-dimensional code processing method and terminal
CN104253741A (en) Information sending method and device and system thereof
CN105207886A (en) Instant messaging (IM) message sending and display methods, IM message sending and display devices, and IM message system
CN112650456A (en) Printing method and device and electronic equipment
JP2013543189A (en) Method and apparatus for controlling a remote device using SMS
KR101809365B1 (en) Message Fragmentation Method using a MQTT Protocol in M2M/IoT Platforms
CN108900627B (en) Network request method, terminal device and storage medium
CN103731476A (en) Method and device for improving information push speed
CN105591877A (en) Method, device and system for service message transmission
US20120315931A1 (en) Short message processing method and apparatus
US9628640B2 (en) Method for initial setup of image forming apparatus using near field communication and image forming apparatus for performing the same
CN106302093B (en) Communication method, system and server
CN103281349A (en) File transmission method, terminal and server
CN106464666A (en) Method and device for associating user with group
CN103490984A (en) Method and device for obtaining user information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130904