CN102821057A - File sending method, device and system - Google Patents

File sending method, device and system Download PDF

Info

Publication number
CN102821057A
CN102821057A CN 201110154142 CN201110154142A CN102821057A CN 102821057 A CN102821057 A CN 102821057A CN 201110154142 CN201110154142 CN 201110154142 CN 201110154142 A CN201110154142 A CN 201110154142A CN 102821057 A CN102821057 A CN 102821057A
Authority
CN
China
Prior art keywords
file
client
server
recipient
identification
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
CN 201110154142
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.)
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 CN 201110154142 priority Critical patent/CN102821057A/en
Publication of CN102821057A publication Critical patent/CN102821057A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses file sending method, device and system. The file sending method includes sending files required to be sent to a receiver client to a server by a sender client; receiving file identifications returned by the server and sending the file identifications to the receiver client by the sender client; and downloading the corresponding files according to the file identifications when the corresponding files are required to be downloaded by the receiver client after receiving the file identifications. The server generates the file identifications for the files, stores the files and establishes the corresponding relationships between the file identifications and file storage paths. According to the technical scheme, the file transmission process transferred by the server is achieved, the files can be downloaded by the receiver client only when the files are required to be downloaded, asynchronous transmission of the files is achieved, and pressure of communication capacity of the server is relieved.

Description

File transmitting method, device and system
Technical field
The present invention relates to computer and Internet technical field, relate in particular to a kind of file transmitting method, device and system.
Background technology
Along with cordless communication network and the technical development of mobile communication terminal; Mobile communication terminal is except providing traditional conversation and SMS for the user; Additional function widely also is provided, for example the use of IM (Instant Messaging, instant messaging) instrument.Through mobile communication terminal, for example mobile phone, pad (being panel computer) etc. when using the IM means of communication, also hope to use the file transfer functions in the IM means of communication the user.
At present mobile communication terminal connects the situation more complicated of network, and the P2P that uses in traditional the Internet IM means of communication (point can to point) file tranmission techniques is difficult to realize that reason is following in cordless communication network:
(1) restriction of network access protocol and access point: the different telecom operators that Internet access service is provided for mobile communication terminal; The agreement of its network insertion realizes different; Even same operator, the access point that provides wireless network to insert is different, and P2P file tranmission techniques need use user's IP address; And various network access protocol and access point make the difficulty that the tracking of IP address becomes, thereby make that P2P file tranmission techniques is difficult to realize;
(2) restriction of bandwidth and network speed: even the communication network that the mobile communication terminal of communicating pair uses identical operator to provide; But because communication network offers the bandwidth that the user uses and the restriction of network speed, for the realization of P2P file tranmission techniques brings restriction;
(3) restriction of operating system: different mobile communication terminals connects network through different operating systems, and different mobile communication terminal operating system communication protocol is different with interface, and this brings difficulty for the realization of P2P file tranmission techniques.
Except P2P file tranmission techniques, carry out the transmission that transfer can realize file through server, in this transmission means; Transmit leg sends to server with file, and server is stored the file of transmission, and when the recipient receives file, gives the recipient with file transfer; Because the quantity of documents of transmission is huge; Server need be stored a large amount of files, if server, the not successful file in download of recipient are given in transmit leg success upload file; Transmission is sent out upload file once more and is stored by server, has increased the storage pressure of server.Therefore, this document transfer mode brings very big burden for the communication capacity and the storage capacity of server.
Summary of the invention
The embodiment of the invention provides a kind of file transmitting method, device and system; In order to solve the IM client that is directed against mobile communication terminal in the prior art, adopt the transmission means of transit server to transmit file brings bigger burden to the communication capacity of server problem.
The embodiment of the invention provides a kind of file transmitting method, is applied to mobile terminal instant messaging IM client and carries out the process that file transmits through server, comprising:
The transmit leg client sends to server with the file that needs send to recipient's client, and said server is said file spanned file sign, stores said file, and the corresponding relation of setting up file identification and file storage path;
The transmit leg client receives the file identification that said server returns, and said file identification is sent to recipient's client;
After recipient's client receives said file identification, download corresponding file according to said file identification.
The embodiment of the invention provides a kind of file transmitting method, is applied to mobile terminal instant messaging IM client and carries out the process that file transmits through server, comprising:
The needs that server reception transmit leg client is sent send to the file of recipient's client, for said file spanned file identifies, stores said file, and the corresponding relation of setting up file identification and file storage path;
Server sends to the transmit leg client with said file identification;
Server according to the file identification that wherein carries, downloads to recipient's client with respective file after the file download request that receives the transmission of recipient's client.
The embodiment of the invention provides a kind of mobile terminal instant messaging IM client, comprising:
Transmitting element, under the situation of this client as the transmit leg client, the file that is used for needs are sent to recipient's client sends to server; And, be that the file identification that said file generates and returns sends to recipient's client with said server;
Receiving element under the situation of this client as the transmit leg client, is used to receive said server and is the file generation of this client transmission and the file identification that returns; And, under the situation of this client, receive the file identification that the transmit leg client is sent as recipient's client;
Download unit under the situation of this client as recipient's client, is used for behind the file identification that receives the transmission of transmit leg client, downloading corresponding file according to said file identification.
The embodiment of the invention provides a kind of server, comprising:
Receiving element is used to receive the file that needs that the transmit leg client sends send to recipient's client; And, be used to receive the file download request that said recipient's client is sent, wherein carry said file identification;
Set up the unit, be used for file according to the receiving element reception, for said file spanned file identifies, stores said file, and the corresponding relation of setting up file identification and file storage path;
Download unit; Be used for file identification according to the receiving element reception; And the corresponding relation in file identification and file storage path; Inquire about the store path corresponding, and generate the download address that is used for file in download, and respective file is downloaded to recipient's client according to this download address with said file identification.
The embodiment of the invention provides a kind of file transfer system, comprises first server, second server, and aforesaid client;
Said first server comprises:
Receiving element is used to receive the file that needs that the transmit leg client sends send to recipient's client;
Set up the unit, be used for file according to the receiving element reception, for said file spanned file identifies, stores said file, and the corresponding relation of setting up file identification and file storage path;
Transmitting element is used for after the corresponding relation of setting up file identification and file storage path, and the corresponding relation in said file identification and file storage path is sent to said second server;
Said second server comprises:
Receiving element is used to receive and store the corresponding relation in said file identification and file storage path; And, be used to receive the transmission file download request that said recipient's client is sent, wherein carry file identification;
Download unit; Be used for corresponding relation according to file identification and file storage path; Inquire about the store path corresponding with said file identification; And generate the download address be used for file in download according to store path, make recipient's client carry out the download of file according to said download address from said first server.
The above embodiment of the present invention; The transmit leg client sends to server with the file that needs send to recipient's client; Said server is said file spanned file sign, stores said file, and the corresponding relation of setting up file identification and file storage path; The transmit leg client receives the file identification that said server returns, and said file identification is sent to recipient's client; After recipient's client receives said file identification, when needs are downloaded corresponding document, download corresponding file according to said file identification.Through technical scheme of the present invention, thereby realized being undertaken the document transmission process of transfer, and recipient's client can just carry out file and download when the needs file in download, realize the file asynchronous transmission, alleviate the pressure of server communication ability by server.
Description of drawings
The file transfer scheme schematic flow sheet that Fig. 1 provides for the embodiment of the invention;
The user interface sketch map of the client that Fig. 2 provides for the embodiment of the invention;
The user interface sketch map of the client that Fig. 3 provides for the embodiment of the invention;
The structural representation of the IM client that Fig. 4 provides for the embodiment of the invention;
The structural representation of the server that Fig. 5 provides for the embodiment of the invention.
Embodiment
To the problem that prior art exists, the embodiment of the invention provides a kind of file transmitting method, device and system, is applied to the file delivery procedure between the IM client in the portable terminal.
Below in conjunction with accompanying drawing the embodiment of the invention is described in detail.Transmit leg client in the embodiment of the invention and recipient's client are the IM client in the portable terminal.
Referring to Fig. 1, as shown in the figure for the file transmitting method schematic flow sheet that the embodiment of the invention provides, this flow process can comprise:
Step 101, the transmit leg client sends to server with the file that needs send to recipient's client.
Concrete, the transmit leg client can be obtained the user and be ready for sending the file to recipient's client according to the request of user's submission.Said file can be a local files stored in the portable terminal, also can be video or audio file that portable terminal passes through camera, the first-class equipment captured in real time of recording.As shown in Figure 2, the user interface sketch map of the transmit leg client that provides for the embodiment of the invention, wherein button 1 provides the operation entry through camera captured in real time photo or video, and button 2 provides the operation entry of choosing file from this locality.When the user through button 1 after catch photo; The transmit leg client can with this image file copy to certain etc. memory block to be sent or buffer zone etc. to be sent; After the user chose file through button 2 from this locality, the transmit leg client can get access to the memory location of this document in portable terminal.
Further, the transmit leg client also allows the user that file to be sent is confirmed.Concrete, the summary info of the file that transmit leg client explicit user is selected, the file of selecting to send as the user is a picture file, or video file, or during audio file, the transmit leg client can show or the played file preview.As shown in Figure 3, the user interface sketch map of the transmit leg client that provides for the embodiment of the invention has wherein shown that at send window the user selects to send the preview graph of picture.(the sending function operation entry can be set to the transmission button on the client user interface to the sending function operation entry that the user provides through the transmit leg client; Or other can activate the button of transmission) submit to confirm send the request of file after; The transmit leg client sends to server according to user's affirmation request with this file that need send to recipient's client.
The transmit leg client can be sent to server with file through HTTP (HTTP) POST message.
Step 102; Server generates the file identification (like the file signature) of this document according to the file that receives; And this document sign returned to the transmit leg client, and simultaneously the file that receives is stored, set up the one-to-one relationship of the file identification and the store path of this document.
In the present embodiment, file identification specifically can be a file signature, can and adopt the file signature of md5 64 algorithm spanned files according to file content like server, is used for unique identification this document.
Further, server is after the spanned file signature, and files stored is signed before can searching; Check and whether have identical file signature; If there is identical file signature, then think and stored identical file, no longer the file that receives is stored.Therefore, through with file one to one file signature file is verified, avoided because file transfer when failure, the upload file again of transmit leg client, thereby cause the repeated storage of server to increase the problem of the storage burden of server.
In the embodiment of the invention, server is stored in the store path of file signature and corresponding file this locality or stores other server into or other equipment.In the present embodiment; To be stored in this locality is that example describes, and file signature and corresponding store path can be with the right stored in form of data, for example can be with file signature and store path with (key; Value) stored in form is in key-value pair sequence map; The key of map is a file signature, and the value of map is the store path of file, can inquire about the store path of respective file according to file signature.
Server can return to the transmit leg client with file signature through HTTP message.
Step 103, the transmit leg client sends to recipient's client with file signature.
Concrete, the transmit leg client sends a notification message according to the file signature spanned file that server returns, and said file sent a notification message sends to recipient's client.
Step 104 is after recipient's client receives file signature, according to the file signature file in download.
Recipient's client can be passed through HTTP get message file in download.
Concrete, step 104 comprises:
Step 1041: recipient's client receives file signature, sends the file download request to server, wherein carries this document signature.
Wherein, recipient's client can be carried out the download of file through sending the file download request to server when receiving the file signature of transmit leg client transmission; Also can, network environment carry out the download of file, for example when satisfying certain condition; When network speed is good; Perhaps when the situation of WIFI (WirelessFidelity, Wireless Fidelity) is arranged, download, perhaps carry out the download of file in predetermined periods; For example after at 12 in evening to 8 of mornings, this period network environment is better.Download when satisfying download environment, can overcome the problem that the portable terminal network speed is slow and need defrayment through being set in.
Step 1042; After server receives this document downloading request message; From the corresponding relation of files stored signature and store path, search this document signature corresponding file store path according to the file signature that wherein carries, and generate the download address that is used for file in download.
Step 1043, server send to recipient's client according to this download address with corresponding document.
Preferably, in the embodiment of the invention, server is deleted this document that it is stored after recipient's client downloads corresponding file.
Except deletion after recipient's client downloads corresponding file, server also can adopt other mode that files stored is managed.Server can be set a unified storage time limit (survival period), and judges whether files stored reaches the said storage time limit (promptly whether surpass survival period), if, deleted file then.Server also can be set the different storage time limits to different users, and through the corresponding file of storing the time limit managed storage.Through the deletion files stored, can alleviate the storage pressure of server.
In the embodiment of the invention, the transmit leg client sends to server with the file that needs send to recipient's client, and said server is said file spanned file sign, stores said file, and the corresponding relation of setting up file identification and file storage path; The transmit leg client receives the file identification that said server returns, and said file identification is sent to recipient's client; After recipient's client receives said file identification, when needs are downloaded corresponding document, download corresponding file according to said file identification.Through technical scheme of the present invention, thereby realized being undertaken the document transmission process of transfer, and recipient's client can just carry out file and download when the needs file in download, realize the file asynchronous transmission, alleviate the pressure of server communication ability by server.
The embodiment of the invention provides a kind of file transmitting method schematic flow sheet, and this flow process can comprise:
Step 201 ~ step 202 is with step 101 ~ step 102;
Step 203, server sends to the path server with the file identification of setting up and the corresponding relation of store path;
The path server can be the data pool of setting up in the distributed caching, and the function of this path server also can be integrated in the communication system of IM client place and be used for handling the Channel server that message is transmitted between the client.The path server is after the corresponding relation that receives file identification that server sends and store path, and storage file identifies and the corresponding relation of store path.This store path can comprise IP address and the file of the server stored position information at server.
Step 204 is with step S103.
Step 205 is after recipient's client receives file signature, according to the file signature file in download.
Recipient's client can be passed through HTTP get message file in download.
Concrete, step 205 comprises:
Step 2051 after recipient's client receives file signature, when needs are downloaded this document, is sent the file download request to the path server, wherein carries this document signature.
Step 2052, the path server is inquired about the store path corresponding with said file identification, and is generated the download address that is used for file in download according to this store path according to the corresponding relation of its files stored sign with the file storage path.
Step 2053 according to said download address, makes recipient's client carry out the download of file from said server.
Concrete, the path server generates after the download address, can be so that the file download request of recipient's client jump on the position of said download address indication automatically, thus make of the download of recipient's client from the enterprising style of writing part of the server of storage file.
In the present embodiment; The corresponding relation of the store path of the file identification of file and file is stored in the path server of network side; The function of path server can be integrated in the communication system of IM client place and be used for handling the Channel server that message is transmitted between the client; The path server can be a distributed server cluster, and in the buffer memory with above-mentioned corresponding relation storage and distributed server.With the server of storage file and storage file sign is that the path server of store path corresponding relation is separately disposed; Can alleviate the load of server of storage file; Reduce the degree of coupling between the server, thereby improve the Performance And Reliability of whole communication system.Improve the storage and the communication capacity of server.
Describe through the data format of concrete example below the message that transmits between the transmit leg client, server and the recipient's client that relate in the foregoing description:
(1) the transmit leg client sends to file after the server, obtains the response message that server returns, and has carried file signature in the response message, and the data format of response message is as follows:
{"retcode":0,"result":{"reply":0,"face_sig":"sig_content"}}
Wherein, " retcode ": the request that 0 expression server is successfully received transmit leg client transmission file; Carried the result of server to the file of transmit leg client transmission in " result ", wherein face_sig is the title of the file signature of server generation, and sig_content is the particular content of file signature; If generate according to MD5 64 algorithms during file signature, then this particular content is 64 a character string.
(2) the transmit leg client sends a notification message according to the file signature spanned file that server returns, and said file sent a notification message sends to recipient's client, and file sends a notification message and is example with the json data format, and is as follows:
" to ": 1023704909, " face ": 0, " content ": " [[" face_sig ", "/" sig_content "]; [" font ", " name ": " Song typeface ", " size ": " 10 ", " style ": [0; 0,0], " color ": " 000000 " }]] "; " Msg_id ": 12060001, " clientid ": " 8206104 ", " psessionid ": " front_authenti_content " }
Wherein, the string representation of face_sig and back the signature of the file that will send, other fields after " font " beginning are represented the font, authentication information of message etc.
(3) file of recipient's client reception transmit leg client transmission sends a notification message, and the data format of the file related data of obtaining is following:
{"retcode":0,"result":[{"poll_type":"message","value":{"msg_id":31825,"from_uin":1023704909,"to_uin":262782618,"msg_id2":953079,"msg_type":9,"reply_ip":2886742075,"time":1305621580,"content":[["font",{"size":9,"color":"000000","style":[0,0,0],"name":"\u5FAE\u8F6F\u96C5\u9ED1"}],[\"face_sig\",\"/"sig_content\"]]}}]}
Wherein, the file signature that " sig_content " carries in sending a notification message for file, recipient's client can send a notification message according to file and obtain file signature.
(4) recipient's client generates URL (Uniform/Universal Resource Locator, same URLs) address according to file signature, and the URL address format is following, wherein carries file signature information:
http://web.qq.com//hannel/get_cface2?lcid=31825&guid=sig_content=1023704909&count=5&time=1&clientid=figureID
Recipient's client is obtained file through http protocol from server according to above-mentioned URL address.
Recipient's client sends to above-mentioned URL address after the network side; Network side is according to the store path of the file signature inquiry corresponding file of carrying in the URL address; Thereby jump to the download address of file according to the URL address, make the server file in download of recipient's client from storage file.
Need to prove that the message that relates in the file transmitting method that the embodiment of the invention provides is not limited to message and the message format thereof enumerated in the above-mentioned example.
Based on identical technical conceive, the embodiment of the invention also provides a kind of instant messaging IM client device that can be applicable to above-mentioned flow process.
Referring to Fig. 4, the structural representation of the instant messaging IM client that provides for the embodiment of the invention, this IM client can comprise:
Transmitting element 41, under the situation of this client as the transmit leg client, the file that is used for needs are sent to recipient's client sends to server; And, be that the file identification that said file generates and returns sends to recipient's client with said server;
Receiving element 42 under the situation of this client as the transmit leg client, is used to receive said server and is the file generation of this client transmission and the file identification that returns; And, under the situation of this client, receive the file identification that the transmit leg client is sent as recipient's client;
Download unit 43 under the situation of this client as recipient's client, is used for behind the file identification that receives the transmission of transmit leg client, when needs are downloaded corresponding document, downloads corresponding file according to said file identification.
Wherein, said transmitting element 41 sends file through HTTP post message and gives server; Said download unit 43 is through HTTP get message file in download.
Based on identical technical conceive, the embodiment of the invention also provides a kind of server that can be applicable to above-mentioned flow process.Referring to Fig. 5, the structural representation of the server that provides for the embodiment of the invention, this server can comprise:
Receiving element 51 is used to receive the file that needs that the transmit leg client sends send to recipient's client; And, be used to receive the file download request that said recipient's client is sent, wherein carry said file identification;
Set up unit 52, be used for file according to the receiving element reception, for said file spanned file identifies, stores said file, and the corresponding relation of setting up file identification and file storage path;
Download unit 53; Be used for file identification according to the receiving element reception; And the corresponding relation in file identification and file storage path; Inquire about the store path corresponding, and generate the download address that is used for file in download, and respective file is downloaded to recipient's client according to this download address with said file identification.
In the above-mentioned server, the said unit of setting up also is used for storing said file judging under the current situation less than the file identification not identical with the file identification that generates.
In the above-mentioned server, also comprise delete cells, be used for behind the said file of said recipient's client downloads: delete said file; Or, when arrive in the life cycle of said file, delete said file.
Based on identical technical conceive, the embodiment of the invention provides a kind of file transfer system, comprises server, path server, and the client that provides in the foregoing description:
Said server comprises:
Receiving element is used to receive the file that needs that the transmit leg client sends send to recipient's client;
Set up the unit, be used for file according to the receiving element reception, for said file spanned file identifies, stores said file, and the corresponding relation of setting up file identification and file storage path;
Transmitting element is used for after the corresponding relation of setting up file identification and file storage path, and the corresponding relation in said file identification and file storage path is sent to said path server;
Said path server comprises:
Receiving element is used to receive and store the corresponding relation in said file identification and file storage path; And, be used to receive the transmission file download request that said recipient's client is sent, wherein carry file identification;
Download unit; Be used for corresponding relation according to file identification and file storage path; Inquire about the store path corresponding with said file identification; And generate the download address be used for file in download according to store path, make recipient's client carry out the download of file according to said download address from said first server.
In the said system, the unit of setting up of said first server also is used for storing said file judging under the current situation less than the file identification not identical with the file identification that generates.
In the said system, said first server also comprises delete cells, is used for behind the said file of said recipient's client downloads: delete said file; Or, when arrive in the life cycle of said file, delete said file.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium, comprise some instructions with so that a station terminal equipment (can be mobile phone, personal computer; Server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be looked protection scope of the present invention.

Claims (18)

1. a file transmitting method is applied to mobile terminal instant messaging IM client and carries out the process that file transmits through server, it is characterized in that, comprising:
The transmit leg client sends to server with the file that needs send to recipient's client, and said server is said file spanned file sign, stores said file, and the corresponding relation of setting up file identification and file storage path;
The transmit leg client receives the file identification that said server returns, and said file identification is sent to recipient's client;
After recipient's client receives said file identification, download corresponding file according to said file identification.
2. the method for claim 1 is characterized in that, said recipient's client comprises according to said file identification file in download:
Said recipient's user end to server sends the file download request, wherein carries said file identification;
Said server is inquired about the store path corresponding with said file identification according to the corresponding relation in file identification and file storage path, generates the download address that is used for file in download, and according to this download address respective file is downloaded to recipient's client.
3. the method for claim 1 is characterized in that, said server is set up after the corresponding relation in file identification and file storage path, said corresponding relation is stored to the server that is used to store said corresponding relation;
Said recipient's client comprises according to said file identification file in download:
Said recipient's client wherein carries said file identification to the said server transmission file download request that is used to store said corresponding relation;
Saidly be used to store the corresponding relation of the server of said corresponding relation according to file identification and file storage path; Inquire about the store path corresponding with said file identification; Generate the download address that is used for file in download according to store path, make recipient's client carry out the download of file from said server according to said download address.
4. like the described method of one of claim 1-3, it is characterized in that said transmit leg client is sent file through HTTP post message and given server, said recipient's client is through HTTP get message file in download.
5. the method for claim 1 is characterized in that, saidly downloads corresponding file according to said file identification and comprises:
When network environment satisfies predetermined condition, download corresponding file according to said file identification; Or,
At scheduled time slot, download corresponding file according to said file identification.
6. a file transmitting method is applied to mobile terminal instant messaging IM client and carries out the process that file transmits through server, it is characterized in that, comprising:
The needs that server reception transmit leg client is sent send to the file of recipient's client, for said file spanned file identifies, stores said file, and the corresponding relation of setting up file identification and file storage path;
Server sends to the transmit leg client with said file identification;
Server according to the file identification that wherein carries, downloads to recipient's client with respective file after the file download request that receives the transmission of recipient's client.
7. method as claimed in claim 6 is characterized in that, server according to the file identification that wherein carries, downloads to recipient's client with respective file after the file download request that receives the transmission of recipient's client:
Said server is inquired about the store path corresponding with said file identification according to the corresponding relation in file identification and file storage path, generates the download address that is used for file in download, and according to this download address respective file is downloaded to recipient's client.
8. method as claimed in claim 6 is characterized in that, said server was judged the current identical file identification of file identification that whether has and generate before storage file, if do not have, then store said file.
9. method as claimed in claim 6 is characterized in that, said server also comprises behind the said file of said recipient's client downloads: delete said file; Or said server is deleted said file when arrive in the life cycle of said file.
10. method as claimed in claim 6 is characterized in that, said server is said file spanned file sign according to the content of said file.
11. a mobile terminal instant messaging IM client is characterized in that, comprising:
Transmitting element, under the situation of this client as the transmit leg client, the file that is used for needs are sent to recipient's client sends to server; And, be that the file identification that said file generates and returns sends to recipient's client with said server;
Receiving element under the situation of this client as the transmit leg client, is used to receive said server and is the file generation of this client transmission and the file identification that returns; And, under the situation of this client, receive the file identification that the transmit leg client is sent as recipient's client;
Download unit under the situation of this client as recipient's client, is used for behind the file identification that receives the transmission of transmit leg client, downloading corresponding file according to said file identification.
12. client as claimed in claim 11 is characterized in that, said transmitting element specifically is used for, and sends file through HTTP post message and gives server;
Said download unit specifically is used for, through HTTP get message file in download.
13. a server is characterized in that, comprising:
Receiving element is used to receive the file that needs that the transmit leg client sends send to recipient's client; And, be used to receive the file download request that said recipient's client is sent, wherein carry said file identification;
Set up the unit, be used for file according to the receiving element reception, for said file spanned file identifies, stores said file, and the corresponding relation of setting up file identification and file storage path;
Download unit; Be used for file identification according to the receiving element reception; And the corresponding relation in file identification and file storage path; Inquire about the store path corresponding, and generate the download address that is used for file in download, and respective file is downloaded to recipient's client according to this download address with said file identification.
14. server as claimed in claim 13 is characterized in that, the said unit of setting up also is used for, and judging under the current situation less than the file identification not identical with the file identification that generates, stores said file.
15. server as claimed in claim 13 is characterized in that, also comprises:
Delete cells is used for the said file of deletion behind the said file of said recipient's client downloads; Or, when arrive in the life cycle of said file, delete said file.
16. a file transfer system is characterized in that, comprises first server, second server, and like each described client of claim 11-12;
Said first server comprises:
Receiving element is used to receive the file that needs that the transmit leg client sends send to recipient's client;
Set up the unit, be used for file according to the receiving element reception, for said file spanned file identifies, stores said file, and the corresponding relation of setting up file identification and file storage path;
Transmitting element is used for after the corresponding relation of setting up file identification and file storage path, and the corresponding relation in said file identification and file storage path is sent to said second server;
Said second server comprises:
Receiving element is used to receive and store the corresponding relation in said file identification and file storage path; And, be used to receive the transmission file download request that said recipient's client is sent, wherein carry file identification;
Download unit; Be used for corresponding relation according to file identification and file storage path; Inquire about the store path corresponding with said file identification; And generate the download address be used for file in download according to store path, make recipient's client carry out the download of file according to said download address from said first server.
17. system as claimed in claim 16 is characterized in that, the unit of setting up of said first server also is used for, and judging under the current situation less than the file identification not identical with the file identification that generates, stores said file.
18. system as claimed in claim 16 is characterized in that, said first server also comprises:
Delete cells is used for the said file of deletion behind the said file of said recipient's client downloads; Or, when arrive in the life cycle of said file, delete said file.
CN 201110154142 2011-06-09 2011-06-09 File sending method, device and system Pending CN102821057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110154142 CN102821057A (en) 2011-06-09 2011-06-09 File sending method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110154142 CN102821057A (en) 2011-06-09 2011-06-09 File sending method, device and system

Publications (1)

Publication Number Publication Date
CN102821057A true CN102821057A (en) 2012-12-12

Family

ID=47304917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110154142 Pending CN102821057A (en) 2011-06-09 2011-06-09 File sending method, device and system

Country Status (1)

Country Link
CN (1) CN102821057A (en)

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077214A (en) * 2012-12-28 2013-05-01 华为技术有限公司 File storage method and device
CN103944806A (en) * 2014-04-24 2014-07-23 天脉聚源(北京)传媒科技有限公司 Data transmission method and system based on Wechat platform
CN104424225A (en) * 2013-08-26 2015-03-18 联想(北京)有限公司 File processing method and device based on file transfer process
CN105119805A (en) * 2015-07-15 2015-12-02 深圳市云舒网络技术有限公司 Instant messaging data transmission method and instant messaging data transmission system
CN105306337A (en) * 2014-07-17 2016-02-03 腾讯科技(深圳)有限公司 Method, device and system for sharing multi-people session file based on instant messaging
CN105635221A (en) * 2014-11-06 2016-06-01 宏碁股份有限公司 Download control method, server system executing the method and download limiting method
CN105812422A (en) * 2014-12-29 2016-07-27 深圳市腾讯计算机系统有限公司 File transmission method based on Internet of Things and file transmission device
CN105812402A (en) * 2014-12-29 2016-07-27 腾讯科技(深圳)有限公司 File transmission method and device based on Internet of things
CN105978956A (en) * 2013-11-26 2016-09-28 北京奇虎科技有限公司 Offline file transmission method, system, terminal devices and servers
CN105991406A (en) * 2015-02-12 2016-10-05 深圳中兴网信科技有限公司 Method and system for sending group message
CN106209904A (en) * 2016-08-08 2016-12-07 桂林信通科技有限公司 A kind of document down loading method and system
CN106411694A (en) * 2015-10-19 2017-02-15 慧昇资讯系统有限公司 System and method for broadcasting contents from web-based browser to a recipient device using extensible messaging and presence protocol (XMPP)
CN106446252A (en) * 2016-10-13 2017-02-22 安徽鼎集信息科技有限公司 Data exchange platform
CN106911751A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 File acquisition method, device and system
CN107018068A (en) * 2017-05-25 2017-08-04 深圳市保千里电子有限公司 The method and system that file is transmitted during a kind of instant messaging
CN107508749A (en) * 2017-09-18 2017-12-22 维沃移动通信有限公司 A kind of message method and mobile terminal
CN108881485A (en) * 2018-07-30 2018-11-23 中国石油化工股份有限公司 The method for ensureing the high concurrent system response time under big data packet
CN109150927A (en) * 2017-06-15 2019-01-04 北京京东尚科信息技术有限公司 File delivery method and device for document storage system
CN109309696A (en) * 2017-07-27 2019-02-05 腾讯科技(深圳)有限公司 Portfolios method, sender, recipient and storage medium
CN109672718A (en) * 2018-09-26 2019-04-23 深圳平安财富宝投资咨询有限公司 File delivery method, server, storage medium and device between system
CN109739653A (en) * 2017-10-27 2019-05-10 腾讯科技(深圳)有限公司 Previewing file method, document handling method and device
CN109861906A (en) * 2019-03-22 2019-06-07 赵功义 Network service system based on wechat pc client
CN111181905A (en) * 2019-06-28 2020-05-19 腾讯科技(深圳)有限公司 File encryption method and device
CN112104905A (en) * 2020-07-06 2020-12-18 聚好看科技股份有限公司 Server, display equipment and data transmission method
CN112953812A (en) * 2021-01-29 2021-06-11 西藏宁算科技集团有限公司 File message uploading and storing method and device thereof
CN114500506A (en) * 2022-01-21 2022-05-13 四川九洲空管科技有限责任公司 Airborne avionics equipment data loading method and system and electronic equipment
CN114866537A (en) * 2022-05-31 2022-08-05 山东省计算中心(国家超级计算济南中心) Cross-host and cross-network file transmission method and system
CN114979087A (en) * 2022-06-27 2022-08-30 北京达佳互联信息技术有限公司 Message processing method, device, equipment and storage medium
CN115484586A (en) * 2021-06-16 2022-12-16 Oppo广东移动通信有限公司 File management method and device, electronic equipment and readable storage medium

Cited By (42)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077214B (en) * 2012-12-28 2016-08-24 华为技术有限公司 File memory method and device
CN103077214A (en) * 2012-12-28 2013-05-01 华为技术有限公司 File storage method and device
CN104424225A (en) * 2013-08-26 2015-03-18 联想(北京)有限公司 File processing method and device based on file transfer process
CN105978956A (en) * 2013-11-26 2016-09-28 北京奇虎科技有限公司 Offline file transmission method, system, terminal devices and servers
CN105978956B (en) * 2013-11-26 2019-03-08 北京奇虎科技有限公司 A kind of method of offline file transmission, system, terminal device and server
CN103944806A (en) * 2014-04-24 2014-07-23 天脉聚源(北京)传媒科技有限公司 Data transmission method and system based on Wechat platform
CN105306337B (en) * 2014-07-17 2019-11-05 腾讯科技(深圳)有限公司 Multi-conference file sharing method based on instant messaging, device and system
CN105306337A (en) * 2014-07-17 2016-02-03 腾讯科技(深圳)有限公司 Method, device and system for sharing multi-people session file based on instant messaging
CN105635221A (en) * 2014-11-06 2016-06-01 宏碁股份有限公司 Download control method, server system executing the method and download limiting method
CN105812422B (en) * 2014-12-29 2019-12-20 深圳市腾讯计算机系统有限公司 File transmission method and device based on Internet of things
CN105812422A (en) * 2014-12-29 2016-07-27 深圳市腾讯计算机系统有限公司 File transmission method based on Internet of Things and file transmission device
CN105812402A (en) * 2014-12-29 2016-07-27 腾讯科技(深圳)有限公司 File transmission method and device based on Internet of things
CN105991406A (en) * 2015-02-12 2016-10-05 深圳中兴网信科技有限公司 Method and system for sending group message
CN105119805B (en) * 2015-07-15 2018-11-13 深圳市云舒网络技术有限公司 A kind of instant communication data transmission method and instant communication data Transmission system
CN105119805A (en) * 2015-07-15 2015-12-02 深圳市云舒网络技术有限公司 Instant messaging data transmission method and instant messaging data transmission system
CN106411694A (en) * 2015-10-19 2017-02-15 慧昇资讯系统有限公司 System and method for broadcasting contents from web-based browser to a recipient device using extensible messaging and presence protocol (XMPP)
CN106411694B (en) * 2015-10-19 2019-05-24 慧昇资讯系统有限公司 System and method for using XMPP that content is broadcast to recipient's device
CN106911751A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 File acquisition method, device and system
CN106209904A (en) * 2016-08-08 2016-12-07 桂林信通科技有限公司 A kind of document down loading method and system
CN106446252A (en) * 2016-10-13 2017-02-22 安徽鼎集信息科技有限公司 Data exchange platform
CN107018068A (en) * 2017-05-25 2017-08-04 深圳市保千里电子有限公司 The method and system that file is transmitted during a kind of instant messaging
CN109150927B (en) * 2017-06-15 2022-01-11 北京京东尚科信息技术有限公司 File issuing method and device for file storage system
CN109150927A (en) * 2017-06-15 2019-01-04 北京京东尚科信息技术有限公司 File delivery method and device for document storage system
CN109309696A (en) * 2017-07-27 2019-02-05 腾讯科技(深圳)有限公司 Portfolios method, sender, recipient and storage medium
CN109309696B (en) * 2017-07-27 2021-09-17 腾讯科技(深圳)有限公司 Folder transmission method, sender, receiver, and storage medium
CN107508749A (en) * 2017-09-18 2017-12-22 维沃移动通信有限公司 A kind of message method and mobile terminal
CN107508749B (en) * 2017-09-18 2019-11-19 维沃移动通信有限公司 A kind of message method and mobile terminal
CN109739653A (en) * 2017-10-27 2019-05-10 腾讯科技(深圳)有限公司 Previewing file method, document handling method and device
CN108881485A (en) * 2018-07-30 2018-11-23 中国石油化工股份有限公司 The method for ensureing the high concurrent system response time under big data packet
CN109672718A (en) * 2018-09-26 2019-04-23 深圳平安财富宝投资咨询有限公司 File delivery method, server, storage medium and device between system
CN109861906A (en) * 2019-03-22 2019-06-07 赵功义 Network service system based on wechat pc client
CN109861906B (en) * 2019-03-22 2021-12-17 赵功义 Network service system based on WeChat PC client
CN111181905B (en) * 2019-06-28 2021-11-19 腾讯科技(深圳)有限公司 File encryption method and device
CN111181905A (en) * 2019-06-28 2020-05-19 腾讯科技(深圳)有限公司 File encryption method and device
CN112104905A (en) * 2020-07-06 2020-12-18 聚好看科技股份有限公司 Server, display equipment and data transmission method
CN112953812A (en) * 2021-01-29 2021-06-11 西藏宁算科技集团有限公司 File message uploading and storing method and device thereof
CN115484586A (en) * 2021-06-16 2022-12-16 Oppo广东移动通信有限公司 File management method and device, electronic equipment and readable storage medium
CN114500506A (en) * 2022-01-21 2022-05-13 四川九洲空管科技有限责任公司 Airborne avionics equipment data loading method and system and electronic equipment
CN114866537A (en) * 2022-05-31 2022-08-05 山东省计算中心(国家超级计算济南中心) Cross-host and cross-network file transmission method and system
CN114866537B (en) * 2022-05-31 2023-08-04 山东省计算中心(国家超级计算济南中心) Cross-host cross-network file transmission method and system
CN114979087A (en) * 2022-06-27 2022-08-30 北京达佳互联信息技术有限公司 Message processing method, device, equipment and storage medium
CN114979087B (en) * 2022-06-27 2024-02-06 北京达佳互联信息技术有限公司 Message processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102821057A (en) File sending method, device and system
JP5792850B2 (en) File folder transmission over the network
CN101150595B (en) A real time file transmission method, system and device
CN104137587B (en) A kind of method and terminal device for sending, receiving user data
CN101395838B (en) Data synchronization method, system and apparatus
EP1653693B1 (en) File transmission method in instant messaging service
JP3943467B2 (en) Relay device, information transmission device, and information transmission method
CN101217431B (en) A method and system of photos in synchronous mobile terminal network TV and network album
CN103069755B (en) Use the method and system that the instant message of multiple client instance transmits
US20060047844A1 (en) One step approach to deliver multimedia from local PC to mobile devices
US20060195506A1 (en) Simplified scheme of mobile to mobile rich content messaging
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
CN102271165B (en) Device and method for sharing and managing resources searched on Internet
CN103188328A (en) Mobile terminal application program sharing method, server and system
US20120014321A1 (en) Messaging activity feed
CN102868984A (en) Short-message transmission system and transmission method thereof
CN103338276A (en) Method for data transmission between network terminals
CN105681260A (en) Cloud storage file transmission method, fusion communication platform, sending end and system
CN101183367B (en) Method for managing document by label, instantaneous communications customer terminal and system
US9456325B2 (en) Transmission of a multimedia message doubled with the transmission of a text message
TWI357748B (en) System and method for correlating messages within
US20190306095A1 (en) Method, system and computer program product for selectively adapting and transmitting messaging data
CN102316146A (en) Method for achieving document transmission
US20120166558A1 (en) Apparatus and method for forwarding email
KR100831730B1 (en) Contents Back-Up Method for Mobile Communication Terminal, Mobile Communication Terminal and Contents Back-Up Server for the Same

Legal Events

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

Application publication date: 20121212