CN101350790B - Document transmission method and device base on instant communications system - Google Patents

Document transmission method and device base on instant communications system Download PDF

Info

Publication number
CN101350790B
CN101350790B CN2007101304447A CN200710130444A CN101350790B CN 101350790 B CN101350790 B CN 101350790B CN 2007101304447 A CN2007101304447 A CN 2007101304447A CN 200710130444 A CN200710130444 A CN 200710130444A CN 101350790 B CN101350790 B CN 101350790B
Authority
CN
China
Prior art keywords
file
file destination
sign
memory cell
receiving terminal
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
CN2007101304447A
Other languages
Chinese (zh)
Other versions
CN101350790A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=40269372&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=CN101350790(B) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN2007101304447A priority Critical patent/CN101350790B/en
Publication of CN101350790A publication Critical patent/CN101350790A/en
Priority to HK09102747.3A priority patent/HK1122440A1/en
Application granted granted Critical
Publication of CN101350790B publication Critical patent/CN101350790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a file transmission method which is used in an instant communication system and a device thereof. The method comprises: a transmitting terminal calculates a first mark of the target file according to rules; the transmitting terminal sends the first mark to a receiving terminal; the receiving terminal searches if the target file which corresponds to the first mark is locally stored, if exists, the file is obtained; otherwise, the transmitting terminal is requested to send the target file; the transmitting terminal sends the target file which corresponds to the first mark to the receiving terminal; the receiving terminal stores locally the target file received. Thus, the method solves the problem existed during the frequent transmission of the file with the certain function such as expression file in the instant communication process, including the large quantity of server resource consumption and consequently the performance reduction of the server.

Description

Document transmission method and device based on instant communicating system
Technical field
The present invention relates to the instant messaging field, particularly relate to a kind of document transmission method and device based on instant communicating system.
Background technology
At present, instant messaging becomes one of favorite communication modes of people gradually with its characteristics such as convenient, fast.Based on instant communicating system, the user utilizes instant communication client not only can transmit text message, and can send data such as photo, file.Wherein, text message is generally several KB because self capacity is less, still can receive this information for the legitimacy of checking data and when the receiving terminal off line, present most of instant communicating system requires transmitting terminal at first this information to be sent to server, again by transit server to receiving terminal.And for the bigger photo of transmission capacity, file, for avoiding the server build-up of pressure, then often point-to-point by setting up between transmitting terminal and receiving terminal (P2P, Peer-to-peer) communication channel transmits this document.At present, setting up that P2P connects can be based on various protocols, as based on Transmission Control Protocol, udp protocol etc., but because transmitting terminal and do not know link informations such as the address of receiving terminal, supported connection protocol, therefore, must could set up communication channel by server negotiate, its detailed process is:
At first, the transmitting terminal information such as address, connection protocol of obtaining self sends connection request to server; Server is forwarded to receiving terminal with described request; Receiving terminal is transmitted response message by server to transmitting terminal after receiving described request; Afterwards, transmitting terminal and receiving terminal are set up the P2P communication channel according to negotiation result.
Between two users that use instant messaging, usually need repeatedly to transmit the file that some have specific function.For example, in order to enrich the expression way of oneself, the user can often send the expression file of lovely image express oneself.In order to allow receiving terminal show this expression file, transmitting terminal need be set up the P2P communication channel with receiving terminal, then, utilizes this passage that expression file is transferred to receiving terminal.Usually, the use of this class expression file is very frequent, even same expression file also can repeatedly be used by the user, and transmission each time all need be based on the P2P communication channel of server negotiate foundation, make server must bear a large amount of loads, especially for the simultaneously online instant communicating system that has many consumers, the transmission of a large amount of expression files even cause the rapid increase of the instability and the operation cost of system.
Summary of the invention
The object of the present invention is to provide a kind of method based on the instant communicating system transfer files, cause consuming in a large number server resource when solving at present in instant communication process certain file of frequent transmission with specific function, and the problem that causes server performance to descend.
Another object of the present invention is to provide a kind of based on the instant messaging transmitting device, with solve at present in instant communication process frequent transmission certain when having the file of specific function, cause consuming in a large number server resource, and the problem that causes server performance to descend.
For addressing the above problem, the invention discloses a kind of document transmission method based on instant communicating system, described method comprises: transmitting terminal calculates first sign of file destination by rule; Described first sign is sent to receiving terminal; Whether receiving terminal is searched this locality and is stored and the corresponding file destination of described first sign, if exist, obtains this document; Otherwise the request transmitting terminal sends described file destination; Transmitting terminal is sent to receiving terminal with the corresponding file destination of described first sign; Receiving terminal is stored in this locality with the file destination of receiving.
Wherein, described with first the sign be sent to receiving terminal be with first the sign be sent to receiving terminal as instant message; Described first sign also comprises flag bit, is used to distinguish other instant message.
Preferably, comprise in the filename of the file destination of described receiving terminal storage and corresponding first sign of this file destination.
Preferably, described method also comprises: the receiving terminal deletion exceeds the file destination of reservation threshold quantity.
Preferably, the described filename that is stored in the file destination of receiving terminal also comprises the last use date of this document; Described method also comprises: after receiving terminal obtains and shows described file destination, upgrade the described last use date with current date; The file destination that described receiving terminal deletion exceeds reservation threshold quantity comprises: the file destination of storing in the receiving terminal was sorted by the last use date; Select File uses the date to delete apart from current date file destination farthest at last; Repeat this step, do not exceed described reservation threshold up to the quantity of file destination.
Preferably, described file destination is an expression file, and described receiving terminal is shown to the user with this document after getting access to corresponding expression file according to first sign from this locality.
For addressing the above problem, the invention also discloses a kind of file transfer means based on instant communicating system, comprise sending module and receiver module, described device also comprises: memory cell is used to store file destination;
Described sending module comprises:
The sign computing unit is used for calculating first of file destination by rule and identifies;
First communication unit is used to send first sign;
Second communication unit is used for the receiving target file and obtains request, and obtains corresponding file destination and transmission according to this request from memory cell;
Described receiver module comprises:
The 3rd communication unit is used to receive first sign;
Four-way news unit is used to send file destination and obtains request; And receiving target file;
The file acquiring unit, be used for obtaining corresponding file destination from memory cell according to first sign that the 3rd communication unit receives, if file does not exist, send file destination by four-way news unit and obtain request, and the file destination that four-way news unit is received is stored in memory cell.
Wherein, described first communication unit transmission, first sign is that first sign is sent as instant message; Described first sign also comprises flag bit, is used to distinguish other instant message.
Preferably, the filename of the file destination of storing in the described memory cell comprises and corresponding first sign of this file destination.
Preferably, described receiver module also comprises: the cleaning unit is used for deleting the file destination that memory cell exceeds reservation threshold quantity.
Preferably, the filename of the file destination of storing in the described memory cell also comprises the last use date of this document; Described receiver module also comprises: updating block, be used for acquiring unit after memory cell is obtained file destination with current date updated stored unit last use date in the filename of this document; Described cleaning unit also comprises: sequencing unit is used for the file destination of memory cell was sorted by the last use date in its filename; File delete cells, select File use the date to delete apart from current date file destination farthest at last, so that the quantity of file destination does not exceed reservation threshold in the memory cell.
Preferably, the file destination of described second communication unit transmission is an expression file; Described device also comprises: display unit is used for the expression file that shows that acquiring unit obtains from memory cell.
The invention also discloses a kind of instant communicating system, comprise server and a plurality of instant communication client, described instant communication client comprises memory cell, sending module and receiver module, wherein,
Memory cell is used to store file destination;
Described sending module comprises:
The sign computing unit is used for calculating first of file destination by rule and identifies;
First communication unit is used to send first sign;
Second communication unit is used for the receiving target file and obtains request, and obtains corresponding file destination and transmission according to this request from memory cell;
Described receiver module comprises:
The 3rd communication unit is used to receive first sign;
Four-way news unit is used to send file destination and obtains request; And receiving target file;
The file acquiring unit, be used for obtaining corresponding file destination from memory cell according to first sign that the 3rd communication unit receives, if file does not exist, send file destination by four-way news unit and obtain request, and the file destination that four-way news unit is received is stored in memory cell.
Compared with prior art, one embodiment of the invention has following effect:
In the prior art, when transmitting expression file at every turn, transmitting terminal all needs to set up the P2P communication channel by server and receiving terminal, because it is very frequent that this class expression file uses, particularly for the instant communicating system that has more online user, the resource that causes server is by a large amount of consumption, decreased performance, even the instability that causes system to move.Among the present invention, when transmitting terminal need transmit expression file, only need on original instant messaging passage, first sign to be sent to receiving terminal, receiving terminal obtains corresponding expression file according to described first sign and shows from this locality, have only when described expression file is not stored in this locality, transmitting terminal and receiving terminal just can be set up P2P communication channel transmission this document, and in the instant messaging after this, even need repeatedly use this expression file, transmitting terminal also only needs to send first sign and gets final product, so, significantly reduced set up the P2P passage and cause to the taking of server resource, and to server performance, the influence of system's operation stability.
Description of drawings
Fig. 1 is the flow chart of steps of the embodiment 1 of a kind of document transmission method based on instant communicating system of the present invention;
Fig. 2 is the flow chart of steps of the embodiment 2 of a kind of document transmission method based on instant communicating system of the present invention;
Fig. 3 is the flow chart of steps of the embodiment of a kind of file transfer means based on instant communicating system of the present invention;
Fig. 4 is the structured flowchart of a kind of instant communicating system of the present invention.
Embodiment
The present invention is when needs transmission objectives file, only when receiving terminal is not stored this document, just need file destination is sent to receiving terminal, and afterwards if reuse, first sign that only needs to send this file destination gets final product, therefore avoid repeatedly setting up the file transfer passage to the taking of server resource, solved the problem that prior art exists well.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
With reference to Fig. 1, Fig. 1 shows the flow chart of steps of the embodiment 1 of the method based on the instant communicating system transfer files of the present invention.Referring to Fig. 1 this embodiment is described.
Step 101: transmitting terminal calculates first sign of file destination by rule.
File destination of the present invention is meant in instant messaging may be sent out and receive the nonexpondable file of both sides, and at present, more common file destination is the expression file that uses in communication process.Certainly, in addition, described file destination can also be the file of other type, as has specific function, repeatedly the picture of transmission, animation etc.
Described first sign can the unique identification file destination, and first sign of same file destination is identical in any environment.Preferably, (MD5, Message-Digest Algorithm Version 5) calculates the data of file destination by Message Digest 55, and the unique identification that generates one 32 byte is as first sign.Certainly, those skilled in the art also can adopt other method that first sign of file destination is set when enforcement is of the present invention, and the present invention does not limit this, as long as first sign can file destination of unique identification.
Step 102: transmitting terminal is sent to receiving terminal with described first sign.
Transmitting terminal is sent to receiving terminal with described first sign as instant message.Because the data capacity of first sign is very little, for example has only 32 bytes in this example, therefore, transmitting terminal utilizes existing instant message passage to send described first sign and gets final product, and needn't take any extra resource of server.
Step 103: whether receiving terminal check this locality stores and the corresponding file destination of described first sign, if exist, obtains this document, otherwise, execution in step 104.
Preferably, can in first sign, flag bit be set, be used for distinguishing mutually with general instant message.Whether the instant message that receiving terminal is received according to described flag check is first sign, if first sign, whether search this locality exists and the corresponding file destination of described first sign, if exist, obtain this document, and be for further processing, for example according to the purposes of this document, if file destination is an expression file, then this document is shown to the user; If there is not execution in step 104.
Step 104: the request transmitting terminal sends and the corresponding file destination of first sign.
Receiving terminal is sent to transmitting terminal with solicited message by instant message, and described request information comprises first sign.
Step 105: transmitting terminal receives solicited message, and the corresponding file destination of described first sign is sent to receiving terminal.
For file destination is sent to receiving terminal, need between transmitting terminal and receiving terminal, set up the P2P interface channel.For example, if transmitting terminal A need set up the P2P passage with receiving terminal B, its detailed process is: at first, transmitting terminal A obtains information such as the network address, connection protocol of self and sends connection request to server; Server is forwarded to receiving terminal B with described request; Receiving terminal B transmits response message by server to transmitting terminal after receiving described request, and described response message comprises the network address of receiving terminal B and supported connection protocol etc.; Afterwards, transmitting terminal A and receiving terminal B set up the P2P communication channel according to the link address of consulting to determine, agreement etc. separately.At last, transmitting terminal A transfers to receiving terminal based on this P2P passage with file destination.
Step 106: receiving terminal storage file destination.
Receiving terminal will be stored in this locality by the file destination that the P2P passage receives.Preferably, with first filename that identifies as file destination of file, so, just can find out corresponding file destination easily and quickly according to first sign.Certainly, those skilled in the art also can set up the mapping relations between first sign and the file destination according to other modes when enforcement is of the present invention, for example, set up first sign and the mapping relations of file destination filename and memory location by concordance list, with the speed of raising searched targets file.
Adopt said method, the consumption to server resource of not only having avoided when transmission objectives file repeatedly, setting up the P2P communication channel and having caused, and, when the needs receiving terminal uses file destination, only need first sign that capacity is very little to be sent to receiving terminal as instant message, therefore, receiving terminal can receive first sign in a short period of time and obtain corresponding file destination from this locality and carry out follow-up processing, thereby significantly reduced the required time of receiving terminal processing target file, improved the promptness of handling.
Embodiments of the invention 1 have more than been described.Among the embodiment 2 of the method for the invention, receiving terminal exceeds the file destination of reservation threshold quantity by the pre-defined rule deletion, so that the quantity of file destination remains in the reasonable range, guaranteed like this receiving terminal receive first the sign after, can search and obtain this file destination quickly and efficiently.Referring to Fig. 2 embodiment 2 is described further.
Step 201: transmitting terminal calculates first sign of file destination by rule.
Step 202: transmitting terminal is sent to receiving terminal with first sign as instant message.
Step 203: whether the instant message that the receiving terminal check is received is first sign, if first sign, the step below carrying out.
Step 204: whether receiving terminal check this locality stores and the corresponding file destination of described first sign, if exist, obtains this document, otherwise, execution in step 205.
Step 205: the request transmitting terminal sends and the corresponding file destination of first sign.
Step 206: transmitting terminal receives solicited message, consults to set up the file transfer passage with receiving terminal.
Transmitting terminal and receiving terminal consult to set up the P2P communication channel.
Step 207: transmitting terminal utilizes the P2P passage to be sent to receiving terminal the file destination corresponding with described first sign.
Step 208: receiving terminal storage file destination.
Preferably, with the filename of first sign file destination is stored in the same catalogue as file destination.
Step 209: the week mark file that exceeds reservation threshold quantity by the pre-defined rule deletion.
The file destination quantity of receiving terminal storage is controlled in the reasonable range, so that can search and obtain corresponding file destination efficiently according to first sign.Preferably, the file destination of selecting not have at most to use when the deletion file destination is deleted.Because according to the rule of social engineering, the probability that the file that does not for a long time have to use is used afterwards is less than other file.Therefore, preferred when the storage file destination, by following form file destination is named:
The last use date First sign
When communication, after receiving terminal is received first sign, is searched, obtains this file destination, the last use date of upgrading this file destination with the current time.So, according to using the date to delete the file that those do not have use at most, so that the quantity of file does not exceed predetermined threshold values the last of file destination.Described threshold values is an empirical value, can set up on their own when enforcement is of the present invention.
Preferably, searching, when obtaining file destination, earlier the file destination in the catalogue was sorted according to the last use date, when searching,, from the close-by examples to those far off search according to the last use date according to first sign.Because the probability that recent used file is used once more is higher than those files that does not for a long time have use far away, therefore, according to the method described above, has significantly reduced the required time of locating file, has improved search efficiency.
More than introduced embodiments of the invention 2, not detailed part sees also embodiment 1, repeats no more here.Below in conjunction with concrete applied environment, sending expression file with transmitting terminal A to receiving terminal B is that example is described further the method for the invention, and whole process is divided into 3 stages:
Stage 1,2006-05-11 11 points, transmitting terminal A need send expression file P1 to receiving terminal B:
Transmitting terminal A by first identifier that MD5 calculates P1 is: eb9318c1f29ca;
Transmitting terminal A by the text chat communication channel to B send P eb9318c1f29ca, wherein PPromptly be used to identify the flag bit that this information is first sign;
Receiving terminal B checks in the message of being received and comprises flag bit PLearn that transmitting terminal need transmit expression file, so in local directory C, search the file that whether has filename to comprise eb9318c1f29ca, the result does not find, receiving terminal B sends the order of demand file to transmitting terminal A then, and both sides set up the file transfer passage, and receiving terminal B obtains this document from transmitting terminal A, loaded and displayed, and be file that filename is saved among the local directory C with 060511 11_eb9318c1f29ca.
In the stage 2,2006-05-1215 point, transmitting terminal A send expression file P1 to receiving terminal B once more:
Transmitting terminal A by first identifier that MD5 calculates P1 is: eb9318c1f29ca;
Transmitting terminal A by the text chat communication channel to B send P eb9318c1f29ca, wherein PPromptly be used to identify the flag bit that this information is first sign;
Receiving terminal B checks in the message of being received and comprises flag bit PLearn that transmitting terminal need transmit expression file, so in local directory C, search the file that whether has filename to comprise eb9318c1f29ca, the result finds the file of file 060511 11_eb9318c1f29ca by name to meet above-mentioned condition, so directly read and this document be shown to the user, and the filename of this document is updated to 060512 12_eb9318c1f29ca.
Stage 3, the 2006-10-1017 point, transmitting terminal A transmits expression file Pn to receiving terminal:
Transmitting terminal A by first identifier that MD5 calculates Pn is: eb10001faa;
Transmitting terminal A by the text chat communication channel to B send P eb10001faa;
Receiving terminal B checks in the message of being received and comprises flag bit PLearn that transmitting terminal need transmit expression file, so in local directory C, search the file that whether has filename to comprise eb10001faa, the result does not find, receiving terminal B sends the order of demand file to transmitting terminal A then, and both sides set up the file transfer passage, and receiving terminal B obtains this document from transmitting terminal A, loaded and displayed, and be file that filename is saved among the local directory C with 061010 17_eb10001faa.When preserving, check the number of files M among the catalogue C to exceed predetermined threshold values N, then delete obtaining (M-N) the individual file that is positioned at the sequence front end after the file ordering in the catalogue.Because filename comprises the date, therefore be positioned at the promptly untapped at most file of file of front end.
Document transmission method based on instant communicating system of the present invention has below been described in conjunction with specific embodiments.Below, with reference to above relevant introduction of the present invention, with reference to Fig. 3 an embodiment of the file transfer means based on instant communicating system of the present invention is introduced simultaneously.As shown in Figure 3, described device 300 comprises: memory cell 310, sending module 320 and receiver module 330, wherein,
Memory cell 310 is used to store file destination;
Described sending module 320 comprises:
Sign computing unit 321 is used for calculating first of file destination by rule and identifies;
First communication unit 322 is used to send first sign;
Second communication unit 323 is used for the receiving target file and sends request; Reach according to this request and from memory cell 310, obtain corresponding file destination and transmission;
Described receiver module 330 comprises:
The 3rd communication unit 331 is used to receive first sign;
Four-way news unit 332 is used to send file destination and obtains request; And receiving target file;
File acquiring unit 333, be used for obtaining corresponding file destination from memory cell 310 according to first sign that the 3rd communication unit 331 receives, if file does not exist, send file destination by four-way news unit 332 and obtain request, and the file destination that four-way news unit 332 is received is stored in memory cell 310.
Preferably, described first communication unit 322 transmissions, first sign is that first sign is sent as instant message; Described first sign also comprises flag bit, is used to distinguish other instant message.
Preferably, the filename of the file destination of storage comprises and corresponding first sign of this file destination in the described memory cell 310.
Preferably, described receiver module 330 also comprises: cleaning unit 334 is used for deleting the file destination that memory cell 310 exceeds reservation threshold quantity.
Preferably, the filename of the file destination of storing in the described memory cell 310 also comprises the last use date of this document;
Described receiver module 330 also comprises:
Updating block 335, be used for acquiring unit 333 after memory cell 310 is obtained file destination with current date updated stored unit last use date in the filename of this document;
Described cleaning unit 334 also comprises: sequencing unit 3341 is used for the file destination of memory cell 310 was sorted by the last use date in its filename; File delete cells 3342, select File use the date to delete apart from current date file destination farthest at last, so that the quantity of file destination does not exceed reservation threshold in the memory cell 310.
Preferably, the file destination of described second communication unit 323 transmissions is an expression file; Described device 300 also comprises: display unit 340 is used for the expression file that shows that acquiring unit 333 obtains from memory cell 310.
Below said apparatus is realized that the process of file transfer is described:
Described device both can be used as the transmitting terminal of instant messaging, also can be used as the receiving terminal of instant messaging.When as transmitting terminal, sign computing unit 321 calculates first of file destination to be sent by rule and identifies, and sends this first sign by first communication unit 322; The request of obtaining of second communication unit, 323 receiving target files also sends corresponding file destination.
Described device is during as receiving terminal, and the 3rd communication unit 331 receives first sign; File acquiring unit 333 obtains corresponding file destination according to first sign that the 3rd communication unit 331 receives from memory cell 310, if file does not exist, send file destination by four-way news unit 332 and obtain request, and the file destination that four-way news unit 332 is received is stored in memory cell 310, and wherein the filename of the file destination in the memory cell 310 comprises that last the uses date and first identifies; After acquiring unit 333 obtains corresponding file destination from memory cell, the last use date in the updating block 335 usefulness current date updated stored unit 310 in the filename of this file destination; In addition, file destination in 3341 pairs of memory cell 310 of sequencing unit sorted by the last use date in its filename, afterwards, the delete cells 3342 select Files quantity of using the date to delete to guarantee file destination in the memory cell 310 apart from current date file destination does not farthest at last exceed reservation threshold.
Referring to Fig. 4, Fig. 4 shows the structured flowchart of a kind of instant communicating system of the present invention.Described system comprises server 500 and a plurality of instant communication client 400, and described instant communication client 400 comprises memory cell 410, sending module 420 and receiver module 430, wherein,
Memory cell 410 is used to store file destination;
Described sending module 420 comprises:
Sign computing unit 421 is used for calculating first of file destination by rule and identifies;
First communication unit 422 is used to send first sign;
Second communication unit 423 is used for the receiving target file and obtains request, and obtains corresponding file destination and transmission according to this request from memory cell 410;
Described receiver module 430 comprises:
The 3rd communication unit 431 is used to receive first sign;
Four-way news unit 432 is used to send file destination and obtains request; And receiving target file;
File acquiring unit 433, be used for obtaining corresponding file destination from memory cell 410 according to first sign that the 3rd communication unit 431 receives, if file does not exist, send file destination by four-way news unit 432 and obtain request, and the file destination that four-way news unit 432 is received is stored in memory cell 410.
The not detailed part of this embodiment sees also above-mentioned related content.
More than a kind of document transmission method and apparatus system based on instant communicating system provided by the present invention is described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (13)

1. the document transmission method based on instant communicating system is characterized in that, described method comprises:
Transmitting terminal calculates first sign of file destination by rule; Described first sign is sent to receiving terminal as instant message;
Whether receiving terminal is searched this locality and is stored and the corresponding file destination of described first sign, if exist, obtains this document; Otherwise, send described file destination by instant message request transmitting terminal;
Transmitting terminal is sent to receiving terminal with the corresponding file destination of described first sign; Receiving terminal is stored in this locality with the file destination of receiving.
2. method according to claim 1 is characterized in that, described first sign also comprises flag bit, is used to distinguish other instant message.
3. method according to claim 1 is characterized in that, comprises in the filename of the file destination of described receiving terminal storage and corresponding first sign of this file destination.
4. according to claim 1,2 or 3 described methods, it is characterized in that described method also comprises:
The receiving terminal deletion exceeds the file destination of reservation threshold quantity.
5. method according to claim 4 is characterized in that, the described filename that is stored in the file destination of receiving terminal also comprises the last use date of this document;
Described method also comprises:
After receiving terminal obtains and shows described file destination, upgrade the described last use date with current date;
The file destination that described receiving terminal deletion exceeds reservation threshold quantity comprises:
The file destination of storing in the receiving terminal was sorted by the last use date;
Select File uses the date to delete apart from current date file destination farthest at last; Repeat this step, do not exceed described reservation threshold up to the quantity of file destination.
6. method according to claim 1 is characterized in that, described file destination is an expression file, and described receiving terminal is shown to the user with this document after getting access to corresponding expression file according to first sign from this locality.
7. the file transfer means based on instant communicating system comprises sending module and receiver module, it is characterized in that,
Also comprise:
Memory cell is used to store file destination;
Described sending module comprises:
The sign computing unit is used for calculating first of file destination by rule and identifies;
First communication unit is used for first sign is sent as instant message;
Second communication unit is used for the receiving target file and obtains request, and obtains corresponding file destination and transmission according to this request from memory cell;
Described receiver module comprises:
The 3rd communication unit is used to receive first sign;
Four-way news unit is used for sending file destination by instant message and obtains request; And receiving target file;
The file acquiring unit, be used for obtaining corresponding file destination from memory cell according to first sign that the 3rd communication unit receives, if file does not exist, send file destination by four-way news unit and obtain request, and the file destination that four-way news unit is received is stored in memory cell.
8. device according to claim 7 is characterized in that, described first sign also comprises flag bit, is used to distinguish other instant message.
9. device according to claim 7 is characterized in that, the filename of the file destination of storing in the described memory cell comprises and corresponding first sign of this file destination.
10. according to claim 7,8 or 9 described devices, it is characterized in that described receiver module also comprises:
The cleaning unit is used for deleting the file destination that memory cell exceeds reservation threshold quantity.
11. device according to claim 10 is characterized in that, the filename of the file destination of storing in the described memory cell also comprises the last use date of this document;
Described receiver module also comprises:
Updating block, be used for acquiring unit after memory cell is obtained file destination with current date updated stored unit last use date in the filename of this document;
Described cleaning unit also comprises:
Sequencing unit is used for the file destination of memory cell was sorted by the last use date in its filename;
File delete cells, select File use the date to delete apart from current date file destination farthest at last, so that the quantity of file destination does not exceed reservation threshold in the memory cell.
12. device according to claim 7 is characterized in that, the file destination that described second communication unit sends is an expression file; Described device also comprises:
Display unit is used for the expression file that shows that acquiring unit obtains from memory cell.
13. an instant communicating system comprises server and a plurality of instant communication client, it is characterized in that described instant communication client comprises memory cell, sending module and receiver module, wherein,
Memory cell is used to store file destination;
Described sending module comprises:
The sign computing unit is used for calculating first of file destination by rule and identifies;
First communication unit is used for first sign is sent as instant message;
Second communication unit is used for the receiving target file and obtains request, and obtains corresponding file destination and transmission according to this request from memory cell;
Described receiver module comprises:
The 3rd communication unit is used to receive first sign;
Four-way news unit is used for sending file destination by instant message and obtains request; And receiving target file;
The file acquiring unit, be used for obtaining corresponding file destination from memory cell according to first sign that the 3rd communication unit receives, if file does not exist, send file destination by four-way news unit and obtain request, and the file destination that four-way news unit is received is stored in memory cell.
CN2007101304447A 2007-07-19 2007-07-19 Document transmission method and device base on instant communications system Active CN101350790B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2007101304447A CN101350790B (en) 2007-07-19 2007-07-19 Document transmission method and device base on instant communications system
HK09102747.3A HK1122440A1 (en) 2007-07-19 2009-03-23 File transfer method and apparatus based on instant communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101304447A CN101350790B (en) 2007-07-19 2007-07-19 Document transmission method and device base on instant communications system

Publications (2)

Publication Number Publication Date
CN101350790A CN101350790A (en) 2009-01-21
CN101350790B true CN101350790B (en) 2011-09-14

Family

ID=40269372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101304447A Active CN101350790B (en) 2007-07-19 2007-07-19 Document transmission method and device base on instant communications system

Country Status (2)

Country Link
CN (1) CN101350790B (en)
HK (1) HK1122440A1 (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143192A (en) * 2010-01-28 2011-08-03 中国移动通信集团江西有限公司 Method, terminal and server for transmitting peer-to-peer video file
CN101917353A (en) * 2010-08-18 2010-12-15 中兴通讯股份有限公司 Method for transmitting expression file and terminal equipment
CN102664831B (en) * 2012-05-12 2018-09-11 上海量明科技发展有限公司 Method, client and the system of file data are transmitted by instant messaging tools
CN104010015A (en) 2013-02-27 2014-08-27 腾讯科技(深圳)有限公司 File transmission system, policy server, terminal and file transmission method
CN103177116B (en) * 2013-04-08 2016-05-04 国电南瑞科技股份有限公司 A kind of distributed information log based on two-stage index is processed and querying method
CN104156376B (en) * 2013-05-15 2019-03-26 腾讯科技(深圳)有限公司 A kind of storage method of file, device and server
CN103647870A (en) * 2013-11-27 2014-03-19 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal expression display method
CN104753761A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Method, server and system for processing messages
CN104836820A (en) * 2014-02-10 2015-08-12 阿里巴巴集团控股有限公司 Method and system for client interaction, and client terminals
CN104917790A (en) * 2014-03-11 2015-09-16 北京风行在线技术有限公司 P2P-based data transmission method, apparatus and system
CN105681260B (en) * 2014-11-19 2019-01-01 中国移动通信集团公司 Transmit method, converged communication platform, transmitting terminal and the system of cloud storage file
CN104883385B (en) * 2015-03-31 2019-02-12 小米科技有限责任公司 Rich media file transmission method and device
CN104796572A (en) * 2015-04-22 2015-07-22 深圳市美贝壳科技有限公司 Picture projection display method
CN104796435A (en) * 2015-05-08 2015-07-22 集怡嘉数码科技(深圳)有限公司 Message pushing method and message server
CN104836936A (en) * 2015-05-19 2015-08-12 深圳市飞图视讯有限公司 Data transmission method
CN105187561B (en) * 2015-09-29 2019-03-12 暴风集团股份有限公司 A kind of method and system that compartmentalization cross-platform data is shared
CN106713107B (en) * 2015-11-13 2020-03-20 阿里巴巴集团控股有限公司 Message acquisition method, server, client and gateway equipment
CN107018068A (en) * 2017-05-25 2017-08-04 深圳市保千里电子有限公司 The method and system that file is transmitted during a kind of instant messaging
CN107241446B (en) * 2017-07-31 2021-04-23 阿里巴巴(中国)有限公司 File transmission method and device of application program, terminal equipment and storage medium
CN109558503A (en) * 2018-11-16 2019-04-02 努比亚技术有限公司 Expression packet display methods, mobile terminal and computer readable storage medium
CN111414470A (en) * 2019-01-04 2020-07-14 珠海金山办公软件有限公司 Method and device for processing document, computer storage medium and terminal
CN111414521A (en) * 2019-01-04 2020-07-14 珠海金山办公软件有限公司 Method and device for processing document, computer storage medium and terminal
CN113691438B (en) * 2020-05-19 2023-05-19 腾讯科技(深圳)有限公司 Instant message processing method, device, equipment and storage medium
CN112084245B (en) * 2020-09-03 2024-03-12 深圳力维智联技术有限公司 Data management method, device, equipment and storage medium based on micro-service architecture

Also Published As

Publication number Publication date
CN101350790A (en) 2009-01-21
HK1122440A1 (en) 2009-05-15

Similar Documents

Publication Publication Date Title
CN101350790B (en) Document transmission method and device base on instant communications system
US10969971B2 (en) Data storage method and apparatus
RU2471227C2 (en) Peer-to-peer synchronisation assisted with service unit
US8010601B2 (en) Contiguous location-based user networks
CN110737668B (en) Data storage method, data reading method, related device and medium
US7526300B2 (en) Short message management system using a VM application and a mobile communication terminal
CN101616132B (en) Method for acquiring data, device and system thereof
CN102263830B (en) Apparatus, and associated method, for facilitating background processing of push content
WO2006075424A1 (en) Information distribution system, distribution demand program, transfer program, distribution program and so on
US20150088995A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
KR20160030468A (en) Method, apparatus and router for finding files in a storage device
CN100383794C (en) Searching method, holding method and searching system for dictionary-like data
CN102567339A (en) Method, device and system for acquiring start page
CN103312489A (en) Method and device for synchronizing terminal and server
CN102238096A (en) Control method for updating friend information of chatting tool according to characteristics of login user
CN111339057A (en) Method, apparatus and computer readable storage medium for reducing back-to-source requests
CN109951551B (en) Container mirror image management system and method
CN111083204B (en) File transmission method, device and storage medium
CN108111598B (en) Cloud disk data issuing method and device and storage medium
CN103179180A (en) Method and system for processing user contact information
CN101146107B (en) A method and device for data download
CN104067220A (en) Transmitting a job to a destination
JP5162686B2 (en) Method for retrieving object from DM client and device management system related thereto
US10237592B2 (en) Method and apparatus for video transmission
CN114138895A (en) Data synchronization method and device for multiple data sources, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1122440

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1122440

Country of ref document: HK