CN101184055B - Method and device of delivering, receiving, transmitting off-line files - Google Patents

Method and device of delivering, receiving, transmitting off-line files Download PDF

Info

Publication number
CN101184055B
CN101184055B CN2007101249596A CN200710124959A CN101184055B CN 101184055 B CN101184055 B CN 101184055B CN 2007101249596 A CN2007101249596 A CN 2007101249596A CN 200710124959 A CN200710124959 A CN 200710124959A CN 101184055 B CN101184055 B CN 101184055B
Authority
CN
China
Prior art keywords
file
transmission
sends
request
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2007101249596A
Other languages
Chinese (zh)
Other versions
CN101184055A (en
Inventor
陈家君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2007101249596A priority Critical patent/CN101184055B/en
Publication of CN101184055A publication Critical patent/CN101184055A/en
Application granted granted Critical
Publication of CN101184055B publication Critical patent/CN101184055B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to an offline document sending, receiving and transmitting method and device, belonging to the computer technical field, which comprises the following steps: the sender side sends document which need to transmit to the server side; after the document being sent successfully, the sender side sends an notice message for document receipt to the receiver side; the receiver side receives the notice message of document receipt, and then receive the sent document from server side. Regardless that whether the receive client side is on line or not, the transmission method provided by applying the invention can achieve the document transmission through instant message software, which benefits the communication between the users.

Description

A kind of transmission of off-line files, reception, transmission method and device
Technical field
The invention belongs to field of computer technology, relate in particular to transmission, reception, transmission method and the device of the off-line files in a kind of instant communicating system.
Background technology
Existing network instant communication (IM) instrument generally all provides file transmitting function, to make things convenient for the exchange and conmmunication in work and life between the user.Wherein the process of file transfer is as follows:
If user A wishes that transfer files at first sends protocol command to Control Server by user A client for user B, request sends file for user B, opens corresponding transmission control protocol (as TCP etc.) port simultaneously and waits for user B connection; Processing server is resolved the user label extract user B according to bag, the inquiry logon server, and the login dynamic IP addressing of obtaining user B client and port (Port) number, and send a notification message to user B client, inquire whether user B agrees to receive file; If user B agrees to receive the file that user A sends, then set up TCP and be connected with user A client, carry out the transmission of document data flow; Otherwise return refuse information by Control Server and give user A client, user A client is closed TCP and is waited for the connectivity port.
Above-mentioned file transfer mode requires the both sides that transmit file all successfully to login IM software, when the both sides that promptly transmit file are in line states simultaneously, just can carry out effective file transfer, has brought great inconvenience to the user.
There is another kind of file transfer mode in prior art, and its process is as follows: user B client sends the protocol command of request transmission file to Control Server, and request sends file for user B; The current logging status of Control Server inquiring user B client; If the current logging status of user B client is a presence, then according to above-mentioned file transfer flow processing; If the current logging status of user B client is an off-line state, then adopt lettergram mode to carry out file transfer; And notify user B client from self mailbox, to download transfer files.Behind the user B client login IM software, can receive this notice, from self mailbox, download the file of transmission, thus the transmission of realization file.
Adopt this file transfer mode, need relate to the mail transmission system, recipient user is the file that passive reception is transmitted simultaneously, has brought inconvenience to the user.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of sending method of off-line files, when being intended to solve prior art by the MSN transfer files, file transfer both sides must be in line states, perhaps need to realize by mailing system the problem of the off-line transmission of file.
The embodiment of the invention is achieved in that a kind of sending method of off-line files, and described method comprises the steps:
Transmit leg user end to server end sends file and sends request, sends the request response message so that server end sends the request backspace file according to described file;
The file that transmit leg client reception server end returns sends the request response message, and described file sends the request response message and comprises transmission sign, transmission server, transmission signature and transmission means;
The transmit leg client judges that according to described transmission sign this file sends whether request is the breakpoint transmission request, if not, the transmission that sends in the request response message at the described file of transmit leg client stores identifies, and the breakpoint location of file to be sent is made as 0;
Adopt described transmission means to begin file to be sent is sent to described transmission server from the breakpoint location of file to be sent;
After file sent successfully, the transmit leg client sent the file receiving notice message to recipient's client.
Another purpose of the embodiment of the invention is to provide a kind of dispensing device of off-line files, and described device comprises:
File send module, the file that needs are sent is sent to server end;
The reception notification sending module is used for after described file send module sends file successfully, sends the file receiving notice message to recipient's client;
Described file send module comprises:
File sends request sending module, is used for sending file to server end and sends request, sends the request response message so that server end sends the request backspace file according to described file;
The breakpoint transmission judge module, be used for the file transmission request response message that the reception server end returns, described file sends the request response message and comprises transmission sign, transmission server, transmission signature and transmission means, and judge according to described transmission sign this file sends whether ask be the breakpoint transmission request, if not, the transmission that sends in the request response message at the described file of transmit leg client stores identifies, and the breakpoint location of file to be sent is made as 0;
Transmission module on the file is used to adopt described transmission means to begin file to be sent is sent to described transmission server from the breakpoint location of file to be sent.
Another purpose of the embodiment of the invention is to provide a kind of transmission method of off-line files, and described method comprises the steps:
Receive the file transmission request that the transmit leg client sends, described file sends signing messages, recipient's sign, the fileinfo to be sent that request comprises the transmit leg client, and perhaps described file transmission information also comprises the transmission sign;
File transmit operation Resources allocation this time for the transmit leg client, and the relevant information of the file transmit operation this time of record transmit leg client, described resource comprises transmission sign, transmission server, transmission signature and transmission means, when judging that according to the transmission in described file transmission information sign described file sends request for the breakpoint transmission request, the transmission of distribution is designated described file and sends transmission sign in the request;
Send the request response message to transmit leg client backspace file, described file sends the request response message and comprises transmission sign, transmission server, transmission signature and transmission means;
Receive and store the file that the transmit leg client sends;
The file that the transmit leg client is sent is sent to recipient's client.
Another purpose of the embodiment of the invention is to provide a kind of transmitting device of off-line files, and described device comprises Control Server and transmission server,
Described Control Server is used to the file transmit operation Resources allocation of transmit leg client, is the file that recipient's client query transmit leg client sends simultaneously;
Described transmission server is used to store the file that described transmit leg client sends, and the file storage progress msg is back to the transmit leg client;
Described Control Server comprises:
The resource allocation logging modle, be used to receive the file transmission request that the transmit leg client sends, described file sends the signing messages that request comprises the transmit leg client, recipient's sign, fileinfo to be sent, perhaps described file sends information and also comprises the transmission sign, and send request according to the file that the transmit leg client sends, file transmit operation Resources allocation this time for the transmit leg client, write down the relevant information of the file transmit operation this time of transmit leg client simultaneously, described resource comprises the transmission sign, transmission server, transmission signature and transmission means, when judging that according to the transmission in described file transmission information sign described file sends request for the breakpoint transmission request, the transmission of distribution is designated described file and sends transmission sign in the request;
File sends request and returns module, is used for sending the request response message to transmit leg client backspace file, and described file sends the request response message and comprises transmission sign, transmission server, transmission signature and transmission means.
In embodiments of the present invention, the transmit leg client is carried out buffer memory by file being sent to server end, no matter whether the recipient be in line states, as long as having logined IM software, the recipient can receive the file that transmit leg sends from corresponding server end, thus the transmission of the file under the off-line state of realization immediate communication tool.Simultaneously because the client that sends file has been carried out authentication, thereby make file transfer safer.
Description of drawings
Fig. 1 is the realization flow figure of the transmission method of the off-line files that provides of the embodiment of the invention;
Fig. 2 is the realization flow figure that file that the Control Server customer in response end A that provides of the embodiment of the invention sends sends request;
Fig. 3 is the structural representation of the document transmission system that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, the file that the transmit leg client transfers to recipient's client with needs is sent to server end and carries out buffer memory, and after file sends successfully, send the file receiving notice message to recipient's client, notify recipient's client to receive the file that the transmit leg client sends to corresponding server end.After recipient's client is successfully logined IM software, receive the file receiving notice message that the transmit leg client sends, and receive the file that the transmit leg client sends from corresponding server end, also can refuse to download the file that transmit leg sends, thereby realize effective transmission of the file under the immediate communication tool off-line state.
Fig. 1 shows the realization flow of the document transmission method that the embodiment of the invention provides, suppose that customer end A is a file transmit leg client, customer end B is a file recipient client, server end of the present invention comprises in order to control and coordinates to carry out the customer end A of off-line files transmission and the Control Server of the mutual operation between the customer end B, and the transmission server of the file that sends in order to the storage customer end A, details are as follows:
Step 1: customer end A sends file and sends a request to Control Server, and to send file to the Control Server request, this document sends and carries file transmission information in the request.
File sends information to and comprises signing messages, recipient's sign, the fileinfo to be sent that sends client less.This document sends information can also comprise other information relevant with file transfer such as file transmitting time.When this document sends request for the breakpoint transmission request of file, also need to comprise the transmission sign (transmission ID) that distributed during file transfer last time in this document transmission information.Fileinfo wherein to be sent includes but not limited to information such as filename and file size.Breakpoint transmission is meant in transmission or downloading process, owing to reasons such as network failures, cause file send or downloading process do not finish before interruption suddenly, then when next file sends or downloads, begin to continue to send or download the part that does not send or download from the part that sends or download, thereby avoiding starting anew again sends or file in download.The speed of file transfer can be saved time, be improved to breakpoint transmission.
Step 2: the file that Control Server customer in response end A sends sends request, is the file transmit operation Resources allocation this time of customer end A, and writes down the relevant information of being initiated by customer end A of file transfer operation this time.
Control Server is that the resource that the file transmit operation this time of customer end A distributes includes but not limited to transmit ID, transmission server information, and as the IP address of transmission server, the transmit port of transmission server (PORT), transmission signature, transmission means etc.The relevant information of initiating with customer end A of file transfer operation this time of record mainly comprise customer end A signing messages, recipient's sign, fileinfo to be sent, transmit ID, file transmit status, file accepting state etc.
Step 3: Control Server sends the request response message to the customer end A backspace file, and this document sends the request response message and includes but not limited to transmit ID, transmission server information, transmission signature and transmission means etc.
Step 4: customer end A adopts file to send the transmission means of request response message appointment, and file is sent to the transmission server that file sends the appointment of request response message.
In order to realize the breakpoint transmission of file, customer end A is before being sent to transmission server with file, the transmission ID that at first file is sent in the request response message compares with the local transmission ID that stores, if it is consistent, then this document transmission request is the breakpoint transmission request of file, when sending file, the breakpoint location in the transmission information of this locality storage begins to send file.If inconsistent, the then transmission ID in the storage file transmission request response message, and the breakpoint location in the transmission information of this locality storage is set to zero, when sending file, from the starting position transmission file of file.
Step 5: the progress msg that transmission server is stored to the customer end A backspace file in the file process of transmitting.
Step 6: the file storage progress msg that customer end A is returned according to transmission server, constantly the progress of transaction file transmission shows, upgrade the breakpoint location information in the local transmission information of storing simultaneously, after file all was sent to transmission server, customer end A sent file to Control Server and sends successfully sign.
Step 7: the file that Control Server sends according to customer end A sends successfully sign, the file transmit status of file transmit operation this time of being initiated by customer end A of record is set to file and sends successfully and indicate, and to customer end A backspace file transmit status success message is set.
Step 8: customer end A receives after state that Control Server sends is provided with success message, sends the file receiving notice message to customer end B, carries the transmission ID of file, receives file with the notice customer end B.In embodiments of the present invention, when customer end A receives after state that Control Server sends is provided with success message, customer end A also can send the file receiving notice message to customer end B by Control Server.
Step 9: after customer end B receives this document receiving notice message, send the file polling request, whether to have the file that need send to customer end B to the Control Server inquiry to Control Server.
When customer end B is in line states, customer end B is real-time receives this document receiving notice message, when customer end B thinks that present environment or time are not suitable for carrying out file when receiving, by whether receiving file now to user's query, if the user selects to receive next time file, then when customer end B login next time IM software, receive this document receiving notice message again; If the user selects to receive now file, then customer end B sends the file polling request to Control Server, carries transmission ID, whether there to be the corresponding file with this transmission ID to server lookup.
When customer end B is in off-line state, then behind the customer end B login next time IM software, after receiving this document receiving notice message, send the file polling request to Control Server, whether then this document query requests is the off-line files query requests, to exist other clients to be sent to the file of customer end B to the Control Server inquiry.
Step 10: Control Server response this document query requests, the All Files of inquiring about its record transmits the file that whether exists the customer end B requirement to inquire about in the relevant information of operation, if there is no, then this time file takes defeat, and Control Server is to customer end B backspace file failure cause; If exist, Control Server is to client backspace file query requests response message, and this document query requests response message includes but not limited to transmission server information, transmission signature, transmission means etc.
When this document query requests is carried transmission ID, then whether there is corresponding file in the Control Server query transmission server with this transmission ID; When this document query requests is the off-line files query requests, whether exist other clients to be sent to the All Files of customer end B in the Control Server query transmission server.
Step 11: customer end B adopts the transmission means of appointment in the file polling request response message, the transmission server file in download of appointment from file polling request response message, thereby the reception of realization file.
Step 12: when customer end B behind the reception file of the transmission server success of appointment, customer end B sends file and receives successfully and indicate to Control Server
Step 13: the file that Control Server sends according to customer end B receives successfully sign, the file accepting state of file transmit operation this time of being initiated by customer end A of record is set to file and receives successfully and indicate, be convenient to the state that obtains file transfer that Control Server can be instant, simultaneously, be convenient to the memory space of instant-free transmission server, and success message be set to customer end B backspace file accepting state.
Step 14: customer end B receives after state that Control Server sends is provided with success message, sends file to customer end A and receives success message, successfully receives with notice customer end A file.Whether certainly customer end B also can not send file and receive success message to customer end A, can look user's needs and be provided with and send.
The file that the Control Server customer in response end A that Fig. 2 shows the embodiment of the invention to be provided sends sends the realization flow of request, and details are as follows:
In step S201, Control Server carries out authentication according to the signing messages of the transmission client in the file transmission information to the customer end A that sends file transmission request, if authentication is not passed through, then Control Server does not respond this document and sends request, and file sends request failure, execution in step S206.If authentication is passed through, execution in step S202.
The size that the scope that Control Server carries out authentication to customer end A comprises mainly that the identity to customer end A authenticates, authority that customer end A is sent file authenticates, customer end A is sent file authenticates, customer end A is sent file to the authority of customer end B authenticates etc.According to user's needs, can also carry out otherwise authentication operations to this customer end A.
In step S202, Control Server judges that this document sends whether request is the breakpoint transmission request of file, if, execution in step S204 then, otherwise execution in step S203.
Whether Control Server comprises transmission ID by judging that file sends in the file transmission information of carrying in the request, judge that this document sends whether request is the breakpoint transmission request of file.If do not comprise, then this document transmission request is not the breakpoint transmission request of file; If comprise, Control Server is judged the validity of this transmission ID, promptly judges whether to find this transmission ID in Control Server, and if not, then this document transmission request is not the breakpoint transmission request of file; If then this document transmission request is the breakpoint transmission request of file.
In step S203, Control Server is that this document sends request distribution one transmission ID.
In step S204, Control Server is the file transmit operation Resources allocation of being initiated by customer end A this time, and record is by the relevant information of file transfer operation this time of customer end A initiation.
The resource of distributing for file transmit operation this time of customer end A mainly comprises transmission ID, transmission server information, and as the IP address of transmission server, the transmit port of transmission server (PORT), transmission signature, transmission means etc.When this document transmission request was the breakpoint transmission request of file, the transmission ID of distribution was the transmission ID that comprises in the file transmission information; When this document transmission request was not the breakpoint transmission request of file, the transmission ID of distribution was the newly assigned transmission of step S203 ID.The relevant information of file transmit operation this time that the customer end A of record is initiated mainly comprise customer end A signing messages, recipient's sign, fileinfo to be sent, transmit ID, file transmit status sign, file accepting state sign etc.
In step S205, Control Server sends the request response message to the customer end A backspace file, and this document sends the request response message and includes but not limited to transmit ID, transmission server information, transmission signature and transmission means etc.
In step S206, Control Server sends the request failure information to the customer end A backspace file, informs that the customer end A file sends the reason of request failure, informs the user so that customer end A sends failure cause with this document.
Fig. 3 show the embodiment of the invention that provide with structure above-mentioned document transmission method corresponding file transmission system, for convenience of explanation, only show the part relevant with the embodiment of the invention.
Document transmission system comprises transmit leg client 1, server end 2 and recipient's client 3.Wherein server end 2 comprises the file transmit operation Resources allocation that is used to transmit leg client 1, be the Control Server 21 of the file that sends of recipient's client 3 inquiry transmit leg clients 1 simultaneously, and the transmission server 22 that is used to store the file that transmit leg client 1 sends.
When sending file, transmit leg client 1 is sent to server end 2 by its file send module 11 with the file that needs transfer to recipient's client 3.The file storage that the Control Server 21 of server end 2 sends transmit leg client 1 is to transmission server 22.
Wherein file sends request sending module 111 and sends file transmission request to Control Server 21, and this document transmission request is carried file and sent information.This document transmission information includes but not limited to send signing messages, recipient's sign, the fileinfo to be sent of client.When this document sent request for the breakpoint transmission request, this document sent the transmission ID that information comprises that also distributed during file transfer last time.
After Control Server 21 received this document transmission request, the transmit leg client 1 that sends file transmission request by 211 pairs of its authentication module was carried out authentication operations.
When the authentication operations of carrying out when 211 pairs of transmit leg clients of authentication module 1 is passed through, breakpoint transmission judge module 212 sends information according to this document, the file of judging transmit leg client 1 sends whether request is the breakpoint transmission request of file, and its deterministic process does not repeat them here as mentioned above.
Resource allocation logging modle 213 is the file transmit operation Resources allocation this time of transmit leg client 1, and the relevant information of the file transmit operation this time of record transmit leg client 1.The resource that wherein is the distribution of file transmit operation this time of transmit leg client 1 comprises transmission ID, transmission server information, transmission signature, transmission means etc.When breakpoint transmission judge module 22 judged that the file transmit operation this time of transmit leg client 1 is the breakpoint transmission request of file, the transmission ID that resource allocation logging modle 213 is distributed for transmit leg client 1 was the transmission ID in the file transmission information; When the file transmit operation this time of transmit leg client 1 was not the breakpoint transmission request of file, resource allocation logging modle 213 was redistributed a transmission ID.The relevant information of file transmit operation this time of the transmit leg client 1 of record comprise the transmit leg client signing messages, recipient's sign, fileinfo to be passed, transmit ID, file transmit status, file accepting state etc.
File sends request and returns module 214 to transmit leg client 1 backspace file transmission request response message, this document sends the request response message and comprises the resource of resource allocation logging modle 213 for the distribution of file transmit operation this time of transmit leg client 1, as transmission ID, transmission server information, transmission signature, transmission means etc.
Transmit leg client 1 receives after file sends request and return file that module 214 returns and send the request response message, judge by its breakpoint transmission judge module 112 whether file sends the transmission ID that asks in the response message consistent with the transmission ID of transmit leg client 1 storage, if it is inconsistent, send the transmission ID that asks in the response message at local storage file, and the breakpoint location in the file transmission information of this locality preservation is made as 0.
Transmission module 113 adopts file to send the transmission means of request response message appointment on the file, and the file that needs are transmitted is uploaded to the transmission server 22 that file sends the appointment of request response message.When breakpoint transmission judge module 112 judged that this file sends request for the breakpoint transmission request, the breakpoint location of transmission module 113 from the file transmission information that preserve this locality began upload file on the file; When breakpoint transmission judge module 112 judged that this file transmission request is not the breakpoint transmission request, transmission module 113 began upload file from the original position of this document on the file.
The file that transmission module 113 is uploaded on 22 pairs of files of transmission server carries out buffer memory, simultaneously to transmit leg client 1 backspace file storage progress msg.
Transmit leg client 1 receives the file storage progress msg that transmission server 22 returns by its file progress processing module 114, and according to the breakpoint location in the file transmission information of this document storage progress msg renewal transmit leg client 1 storage.
After transmission module on the file 113 successfully is uploaded to transmission server 22 with file, indicate that successfully sending module 115 sends file to Control Server 21 and sends successfully sign.
Control Server 21 receive file that transmit leg client 1 sends sends successfully indicate after, the transmit status of file transmit operation this time of the transmit leg client 1 by its file transfer state setting module 215 records is set to send successfully sign, and is provided with successfully to transmit leg client 1 backspace file transmit status and indicates.
Transmit leg client 1 receives after this document transmit status is provided with successfully sign, send the file receiving notice message by its reception notification sending module 12 to recipient's client 3, carry transmission ID in this document receiving notice message, receive file to corresponding server end 2 to notify recipient's client.In embodiments of the present invention, transmit leg client 1 receives after state that server end 2 sends is provided with successfully sign, and transmit leg client 1 also can send the file receiving notice messages to recipient's client 3 by server end 2.
When receiving file, recipient's client 3 receives the file receiving notice message that transmit leg client 1 sends by its reception notification receiver module 31, file receiver module 32 receives the file that transmit leg client 1 sends according to the transmission ID in the file receiving notice message from server end 2.Wherein file receiver module 32 comprises file polling request sending module 321 and file download module 322.
File polling request sending module 321 sends the file polling request to Control Server 21.When recipient's client was in line states, this document query requests was carried transmission ID; When recipient's client was in off-line state, this document query requests was the off-line files query requests.
After server end 2 received the file polling request of recipient's client 3, by the file polling request that its file polling module 216 response recipient clients send, whether the querying server end stored the file that need be sent to recipient's client.If have, then the file polling request is returned module 217 to recipient's client backspace file query requests response message.This document query requests response message comprises transmission server information, transmission means and transmission signature.
Recipient's client 3 is downloaded the file that transmit leg clients 1 send by the transmission means of its file download module 322 employing file polling request response message appointments from the transmission server 22 of file polling request response message appointment.
When file download module 322 successfully after transmission server 22 file in download, receive and indicate that successfully sending module 33 sends files to Control Server 21 and receives successfully and indicate.
Control Server 21 receive file that recipient's client 3 sends receives successfully indicate after, the accepting state of file transmit operation this time of the transmit leg client 1 by its file transfer state setting module 215 records is set to receive successfully sign, and is provided with successfully to recipient's client 3 backspace file accepting states and indicates.
Recipient's client 3 is receiving after this document accepting state is provided with successfully sign, receives successful sending module 34 by it and sends out client 1 and send file and receive successful notification message to sending.
In embodiments of the present invention, the file that the transmit leg client is sent to recipient's client with needs is sent to server end and carries out buffer memory, and to recipient's client transmission file receiving notice message, recipient's client is its current line states that whether is in no matter, according to the file receiving notice message that receives, receive the file that transmit leg sends from server end, thereby realize the transmission of off-line files in the instant communicating system.Adopt this document transmission method, no matter whether client is online, all can carry out file transfer, made things convenient for user's operation.Simultaneously by the client that sends file is carried out authentication, thereby the authority that the user sends file is limited, strengthened the fail safe that file sends.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. the sending method of an off-line files is characterized in that, described method comprises the steps:
Transmit leg user end to server end sends file and sends request, sends the request response message so that server end sends the request backspace file according to described file;
The file that transmit leg client reception server end returns sends the request response message, and described file sends the request response message and comprises transmission sign, transmission server, transmission signature and transmission means;
The transmit leg client judges that according to described transmission sign this file sends whether request is the breakpoint transmission request, if not, the transmission that sends in the request response message at the described file of transmit leg client stores identifies, and the breakpoint location of file to be sent is made as 0;
Adopt described transmission means to begin file to be sent is sent to described transmission server from the breakpoint location of file to be sent;
After file sent successfully, the transmit leg client sent the file receiving notice message to recipient's client.
2. the method for claim 1 is characterized in that, described method also comprises the steps:
The file storage progress msg that the reception server end returns, and according to the breakpoint location in the transmission information of described file storage progress msg renewal transmit leg client stores;
3. the dispensing device of an off-line files is characterized in that, described device comprises:
File send module, the file that needs are sent is sent to server end;
The reception notification sending module is used for after described file send module sends file successfully, sends the file receiving notice message to recipient's client;
Described file send module comprises:
File sends request sending module, is used for sending file to server end and sends request, sends the request response message so that server end sends the request backspace file according to described file;
The breakpoint transmission judge module, be used for the file transmission request response message that the reception server end returns, described file sends the request response message and comprises transmission sign, transmission server, transmission signature and transmission means, and judge according to described transmission sign this file sends whether ask be the breakpoint transmission request, if not, the transmission that sends in the request response message at the described file of transmit leg client stores identifies, and the breakpoint location of file to be sent is made as 0;
Transmission module on the file is used to adopt described transmission means to begin file to be sent is sent to described transmission server from the breakpoint location of file to be sent.
4. device as claimed in claim 3 is characterized in that, described device also comprises:
File progress processing module is used for the file storage progress msg that the reception server end returns, and according to the breakpoint location in the transmission information of described file storage progress msg updated stored.
5. the transmission method of an off-line files is characterized in that, described method comprises the steps:
Receive the file transmission request that the transmit leg client sends, described file sends signing messages, recipient's sign, the fileinfo to be sent that request comprises the transmit leg client, and perhaps described file transmission information also comprises the transmission sign;
File transmit operation Resources allocation this time for the transmit leg client, and the relevant information of the file transmit operation this time of record transmit leg client, described resource comprises transmission sign, transmission server, transmission signature and transmission means, when judging that according to the transmission in described file transmission information sign described file sends request for the breakpoint transmission request, the transmission of distribution is designated described file and sends transmission sign in the request;
Send the request response message to transmit leg client backspace file, described file sends the request response message and comprises transmission sign, transmission server, transmission signature and transmission means;
Receive and store the file that the transmit leg client sends;
The file that the transmit leg client is sent is sent to recipient's client.
6. method as claimed in claim 5 is characterized in that described method also comprises the steps:
When the file that storage transmit leg client sends, the file storage progress msg is back to the transmit leg client.
7. method as claimed in claim 5 is characterized in that described method also comprises the steps:
Send the transmit leg client authentication of asking to sending file, and judge whether authentication is passed through,, send request failure message,, continue to carry out following step if pass through to transmit leg client backspace file if do not pass through;
Judge that described file sends whether request is the breakpoint transmission request of file, if not, for file transmit operation this time of transmit leg client distributes a new transmission sign.
8. method as claimed in claim 5 is characterized in that, the step that the described file that the transmit leg client is sent is sent to recipient's client is specially:
The file polling request that response recipient client sends, the needs of querying server end storage are sent to the file of recipient's client;
To recipient's client backspace file query requests response message.
9. the transmitting device of an off-line files is characterized in that, described device comprises Control Server and transmission server,
Described Control Server is used to the file transmit operation Resources allocation of transmit leg client, is the file that recipient's client query transmit leg client sends simultaneously;
Described transmission server is used to store the file that described transmit leg client sends, and the file storage progress msg is back to the transmit leg client;
Described Control Server comprises:
The resource allocation logging modle, be used to receive the file transmission request that the transmit leg client sends, described file sends the signing messages that request comprises the transmit leg client, recipient's sign, fileinfo to be sent, perhaps described file sends information and also comprises the transmission sign, and send request according to the file that the transmit leg client sends, file transmit operation Resources allocation this time for the transmit leg client, write down the relevant information of the file transmit operation this time of transmit leg client simultaneously, described resource comprises the transmission sign, transmission server, transmission signature and transmission means, when judging that according to the transmission in described file transmission information sign described file sends request for the breakpoint transmission request, the transmission of distribution is designated described file and sends transmission sign in the request;
File sends request and returns module, is used for sending the request response message to transmit leg client backspace file, and described file sends the request response message and comprises transmission sign, transmission server, transmission signature and transmission means.
10. device as claimed in claim 9 is characterized in that, described Control Server also comprises:
Authentication module is used for sending the transmit leg client authentication of asking to sending file, and judges whether authentication is passed through;
The breakpoint transmission judge module is used for judging that described file sends whether request is the breakpoint transmission request of file when the authentication of described authentication module is passed through;
If it is not the breakpoint transmission request that described file sends request, described resource allocation logging modle is that described file sends request distribution transmission sign again.
11. device as claimed in claim 9 is characterized in that, described Control Server also comprises:
The file polling module is used for the file polling request according to the transmission of recipient's client, and the needs of querying server end storage are sent to the file of recipient's client;
Module is returned in the file polling request, is used for to recipient's client backspace file query requests response message.
CN2007101249596A 2007-12-11 2007-12-11 Method and device of delivering, receiving, transmitting off-line files Active CN101184055B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101249596A CN101184055B (en) 2007-12-11 2007-12-11 Method and device of delivering, receiving, transmitting off-line files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101249596A CN101184055B (en) 2007-12-11 2007-12-11 Method and device of delivering, receiving, transmitting off-line files

Publications (2)

Publication Number Publication Date
CN101184055A CN101184055A (en) 2008-05-21
CN101184055B true CN101184055B (en) 2010-12-22

Family

ID=39449143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101249596A Active CN101184055B (en) 2007-12-11 2007-12-11 Method and device of delivering, receiving, transmitting off-line files

Country Status (1)

Country Link
CN (1) CN101184055B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664823A (en) * 2012-04-17 2012-09-12 上海量明科技发展有限公司 Method, client and system for offline receiving of data in instant message
CN104361045A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Serial number information processing method and equipment

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465824B (en) * 2008-12-29 2012-05-16 腾讯科技(深圳)有限公司 Multi-source transmission system and method for instant communication file
CN101894094B (en) * 2009-05-21 2014-10-15 鸿富锦精密工业(深圳)有限公司 Client management system
CN102082809A (en) * 2009-11-26 2011-06-01 中国移动通信集团公司 Document transmission method, server and control system
CN102355426B (en) * 2011-06-30 2015-01-14 北京神州泰岳软件股份有限公司 Method for transmitting off-line file and system
CN103248666A (en) * 2012-02-14 2013-08-14 深圳市腾讯计算机系统有限公司 System, method and device for offline resource download
CN103581230B (en) * 2012-07-26 2018-09-04 深圳市腾讯计算机系统有限公司 Document transmission system and method, receiving terminal, transmitting terminal
CN103023750B (en) * 2012-08-01 2016-04-20 福建星网视易信息系统有限公司 Terminal obtains the method for message
CN104050199B (en) * 2013-03-15 2017-12-29 联想(北京)有限公司 Data transmission method and electronic equipment
CN103347041B (en) * 2013-05-31 2016-04-13 中国联合网络通信集团有限公司 Video Compliance control method and apparatus
CN103401914A (en) * 2013-07-26 2013-11-20 浪潮电子信息产业股份有限公司 File uploading broken-point continuously transferring method
CN104348701A (en) * 2013-07-31 2015-02-11 腾讯科技(深圳)有限公司 Method and device for performing file transmission in instant communication tool
CN103516789B (en) * 2013-09-16 2019-04-26 北京电视台 From Office Network to the management method and system of the transmission data of production net
CN103546549B (en) * 2013-10-12 2017-12-12 深圳Tcl新技术有限公司 The shared method and system of terminal offline data
CN103634392B (en) * 2013-11-26 2017-04-19 北京奇虎科技有限公司 Method, system, terminal equipment and servers for offline file transmission
CN105763650B (en) * 2013-11-26 2019-08-02 北京奇虎科技有限公司 A kind of method of offline file transmission, system, terminal device and server
CN104954414B (en) * 2014-03-31 2019-01-11 腾讯科技(深圳)有限公司 Method, terminal, server and the system of information exchange
WO2015196473A1 (en) * 2014-06-27 2015-12-30 北京新媒传信科技有限公司 Method, device, intelligent terminal and system for data sending/receiving
CN105677542B (en) * 2014-11-18 2019-02-05 联想(北京)有限公司 A kind of progress msg display methods and electronic equipment
CN105278998A (en) * 2015-11-17 2016-01-27 北京联合众为科技发展有限公司 Single-chip microcomputer hardware upgrading method
CN107707590A (en) * 2016-08-09 2018-02-16 阿里巴巴集团控股有限公司 System, the method and device of data transfer
CN108632304B (en) * 2017-03-16 2019-10-22 中国移动通信有限公司研究院 A kind of media data Multipath Transmission method and its system
CN107370665A (en) * 2017-07-18 2017-11-21 福州大学 A kind of instant text communications method of low-power consumption suitable for LoRa networks
CN109309696B (en) * 2017-07-27 2021-09-17 腾讯科技(深圳)有限公司 Folder transmission method, sender, receiver, and storage medium
CN110134628B (en) * 2019-05-17 2021-02-02 北京百度网讯科技有限公司 Message transmission method, device, equipment and storage medium
CN111866118A (en) * 2020-07-16 2020-10-30 武汉空心科技有限公司 Working platform file storage and transmission method and system
CN114697376A (en) * 2022-03-16 2022-07-01 浪潮云信息技术股份公司 Super-large message transmission method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014022A (en) * 2007-02-13 2007-08-08 北京亿企通信息技术有限公司 Method, apparatus and system for transmitting files in instant messaging tool
CN101075986A (en) * 2007-06-01 2007-11-21 腾讯科技(深圳)有限公司 Method and system for transmitting, receiving and transmitting off-line files
CN101079849A (en) * 2007-06-29 2007-11-28 腾讯科技(深圳)有限公司 Method and system for sending offline messages in instant communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014022A (en) * 2007-02-13 2007-08-08 北京亿企通信息技术有限公司 Method, apparatus and system for transmitting files in instant messaging tool
CN101075986A (en) * 2007-06-01 2007-11-21 腾讯科技(深圳)有限公司 Method and system for transmitting, receiving and transmitting off-line files
CN101079849A (en) * 2007-06-29 2007-11-28 腾讯科技(深圳)有限公司 Method and system for sending offline messages in instant communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664823A (en) * 2012-04-17 2012-09-12 上海量明科技发展有限公司 Method, client and system for offline receiving of data in instant message
CN104361045A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Serial number information processing method and equipment

Also Published As

Publication number Publication date
CN101184055A (en) 2008-05-21

Similar Documents

Publication Publication Date Title
CN101184055B (en) Method and device of delivering, receiving, transmitting off-line files
CN100463397C (en) File transmission method and system
CN102045267B (en) Message recall method and device
EP2695047B1 (en) Document management system using printer emulation
CN102821056B (en) A kind of transmission method of instant communication message and equipment
CN101193070A (en) Instant communication system, instant communication client and instant communication method
US20040049546A1 (en) Mail processing system
CA2380148A1 (en) Method and apparatus for activity-based collaboration by a computer system equipped with a communications manager
WO2007007962A1 (en) Messenger notification system and method using synchronization server
CN101103596A (en) Method and apparatus for efficiently managing 'messages sent' file and resending of messages from mobile wireless communication device
KR100976259B1 (en) System for providing two-way push service based on dynamic IP in wireless network environment
CN101594318A (en) A kind of method and system of realizing mail and instant message intercommunication
CN101710882A (en) Method for realizing multi-IM protocol Web version instant message
CN102571877A (en) Vehicle-mounted information synchronization service system and method
CN103200214A (en) Method and system for processing off-line messages in centralized mode
US8463857B2 (en) Notification of internet service events using instant messaging service
CN100596123C (en) Gateway system and message service processing method thereof
CN103297937A (en) Method, system and device for achieving short message notification
US20090024739A1 (en) Endpoint discriminator in network transport protocol startup packets
CN101106547B (en) A method and system for transferring files in instant communication tool
CN102143146A (en) Method, equipment and system for updating company contact lists
CN101179597B (en) File transfer method, system and a master control board
CN101764745B (en) E-mail allopatry migration method of distributed e-mail box and system thereof
CN101217501A (en) Assistant data transmitter/receiver
CN201197152Y (en) System for file transmission in instant communication tool

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant